Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » (no subject)
(no subject) [message #691034] Thu, 30 June 2011 14:40 Go to next message
Ivar Refsdal is currently offline Ivar RefsdalFriend
Messages: 24
Registered: May 2011
Junior Member
Hi

I've been trying unsuccessfully to find where the code of the
"right click", Filters -> Hide Selection is.
Can somebody help?

Thanks a lot,
Best regards,
Ivar Refsdal
(no subject) [message #691460 is a reply to message #691034] Fri, 01 July 2011 13:34 Go to previous message
Ivar Refsdal is currently offline Ivar RefsdalFriend
Messages: 24
Registered: May 2011
Junior Member
Hi,

If anyone else is interested:
Setting breakpoint at setVisible() in ViewImpl was the obvious solution
to find this. The stacktrace looks like this:

> org.eclipse.gmf.runtime.notation.impl.ViewImpl.setVisible(ViewImpl.java:224)
> org.eclipse.emf.ecoretools.filters.internal.commands.FilterSelectionCommand.doExecuteWithResult(FilterSelectionCommand.java:54)
> org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
> org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
> org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:194)
> org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169)
> org.eclipse.emf.ecoretools.filters.internal.actions.HideSelectionAction.run(HideSelectionAction.java:92)
> org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
> org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
> org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
> org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
> org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:597)
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> org.eclipse.equinox.launcher.Main.main(Main.java:1384)

Best,
Ivar


Ivar Refsdal wrote, on 06/30/2011 04:40 PM:
> Hi
>
> I've been trying unsuccessfully to find where the code of the
> "right click", Filters -> Hide Selection is.
> Can somebody help?
>
> Thanks a lot,
> Best regards,
> Ivar Refsdal
Previous Topic:Error with myFeaturesToSynchronize
Next Topic:Custom auto-layout
Goto Forum:
  


Current Time: Fri Apr 26 18:49:28 GMT 2024

Powered by FUDForum. Page generated in 0.03160 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top