Re: EOModeler editor file association

From: Mike Schrag (mschra..dimension.com)
Date: Tue Jul 11 2006 - 10:31:05 EDT

  • Next message: Mike Schrag: "Re: EOModeler editor file association"

    If you're not running off of svn, then you're sort of at the mercy of
    whenever I happened to commit relative to when the build executed,
    which might be what you're seeing.

    So yeah, all plist files are associated. The problem is that there
    doesn't appear to be a way for me to give it fancier rules for icons,
    so I just have the "plist" extension assigned (I was banking on
    people not really having other plists of note in their WO projects).
    Maybe I can do this with a custom decorator instead of using their
    built-in extension, though.

    That exception is expected, though, at the moment. It happens on
    mine as well, and I'm not sure exactly why yet. There's a lot of
    craziness with multiple views all hooking together on the same data,
    so I'm obviously creating a loop in there somewhere. Mine gets that
    exception but it doesn't actually cause a problem ...

    ms

    On Jul 11, 2006, at 10:09 AM, Pierre Frisch wrote:

    > Hi Mike,
    >
    > I think there is a problem with the file association and the new
    > EOModeler. All plist are associated with the EOModeler Editor which
    > is wrong as it will try to open them with the editor and fail. They
    > also sport the wrong decoration. This is a minor issue but is
    > probably linked.
    >
    > I like the new editor. This will help us a lot. Is there a way in
    > the current version to add columns or is it for a future version?
    >
    > I also have a bizarre behavior when I open it. It pops up a blank
    > window and marks the model as dirty even through I have not started
    > editing yet, and the tab only shows the name of the model after I
    > have clicked in the view. At which point I get a stack trace in the
    > console.
    >
    > Thanks
    >
    > Pierre
    >
    > !ENTRY org.eclipse.ui.workbench 4 0 2006-07-11 07:08:18.111
    > !MESSAGE WARNING: Prevented recursive attempt to activate part
    > org.eclipse.ui.views.ContentOutline while still in the middle of
    > activating part org.objectstyle.wolips.eomodeler.editors.EOModelEditor
    > !STACK 0
    > java.lang.RuntimeException: WARNING: Prevented recursive attempt to
    > activate part org.eclipse.ui.views.ContentOutline while still in
    > the middle of activating part
    > org.objectstyle.wolips.eomodeler.editors.EOModelEditor
    > at org.eclipse.ui.internal.WorkbenchPage.setActivePart
    > (WorkbenchPage.java:3140)
    > at org.eclipse.ui.internal.WorkbenchPage.requestActivation
    > (WorkbenchPage.java:2743)
    > at org.eclipse.ui.internal.PartPane.requestActivation
    > (PartPane.java:256)
    > at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:220)
    > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
    > at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1288)
    > at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2301)
    > at org.eclipse.swt.widgets.Control.forceFocus(Control.java:810)
    > at org.eclipse.swt.widgets.Control.setFocus(Control.java:2654)
    > at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:892)
    > at org.eclipse.ui.views.contentoutline.ContentOutlinePage.setFocus
    > (ContentOutlinePage.java:164)
    > at
    > org.objectstyle.wolips.eomodeler.outline.EOModelContentOutlinePage.cre
    > ateControl(EOModelContentOutlinePage.java:90)
    > at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage
    > (ContentOutline.java:134)
    > at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:399)
    > at org.eclipse.ui.part.PageBookView.partActivated
    > (PageBookView.java:743)
    > at
    > org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop
    > (ContentOutline.java:209)
    > at org.eclipse.ui.internal.PartListenerList$2.run
    > (PartListenerList.java:87)
    > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
    > at org.eclipse.core.runtime.Platform.run(Platform.java:843)
    > at org.eclipse.ui.internal.PartListenerList.fireEvent
    > (PartListenerList.java:57)
    > at org.eclipse.ui.internal.PartListenerList.firePartBroughtToTop
    > (PartListenerList.java:85)
    > at org.eclipse.ui.internal.PartService.firePartBroughtToTop
    > (PartService.java:87)
    > at
    > org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop
    > (WorkbenchPagePartList.java:75)
    > at
    > org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(
    > WorkbenchPagePartList.java:51)
    > at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:
    > 152)
    > at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor
    > (WorkbenchPage.java:1181)
    > at org.eclipse.ui.internal.WorkbenchPage.setActivePart
    > (WorkbenchPage.java:3183)
    > at org.eclipse.ui.internal.WorkbenchPage.activate
    > (WorkbenchPage.java:588)
    > at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
    > (WorkbenchPage.java:2597)
    > at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
    > (WorkbenchPage.java:2521)
    > at org.eclipse.ui.internal.WorkbenchPage.access$10
    > (WorkbenchPage.java:2513)
    > at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:
    > 2498)
    > at org.eclipse.swt.custom.BusyIndicator.showWhile
    > (BusyIndicator.java:67)
    > at org.eclipse.ui.internal.WorkbenchPage.openEditor
    > (WorkbenchPage.java:2493)
    > at org.eclipse.ui.actions.OpenWithMenu.openEditor
    > (OpenWithMenu.java:288)
    > at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:
    > 280)
    > at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent
    > (OpenWithMenu.java:184)
    > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
    > at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
    > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
    > 3312)
    > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
    > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
    > 1914)
    > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
    > (Workbench.java:419)
    > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
    > 149)
    > at org.eclipse.ui.internal.ide.IDEApplication.run
    > (IDEApplication.java:95)
    > at org.eclipse.core.internal.runtime.PlatformActivator$1.run
    > (PlatformActivator.java:78)
    > at
    > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplic
    > ation(EclipseAppLauncher.java:92)
    > at
    > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
    > (EclipseAppLauncher.java:68)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    > (EclipseStarter.java:400)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    > (EclipseStarter.java:177)
    > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    > at sun.reflect.NativeMethodAccessorImpl.invoke
    > (NativeMethodAccessorImpl.java:39)
    > at sun.reflect.DelegatingMethodAccessorImpl.invoke
    > (DelegatingMethodAccessorImpl.java:25)
    > at java.lang.reflect.Method.invoke(Method.java:585)
    > at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    > at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    > at org.eclipse.core.launcher.Main.run(Main.java:977)
    > at org.eclipse.core.launcher.Main.main(Main.java:952)
    >



    This archive was generated by hypermail 2.0.0 : Tue Jul 11 2006 - 10:31:10 EDT