Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Properties sheets after updating EEF
Properties sheets after updating EEF [message #1758194] Fri, 24 March 2017 14:37 Go to next message
Amine Kechaou is currently offline Amine KechaouFriend
Messages: 32
Registered: April 2016
Location: Karlsruhe, Germany
Member
Hello,

I've just updated EEF and it seems that my implementation of the new Sirius properties sheets is not compiling anymore due to the new abstract method "setEnabled" in AbstractEEFWidgetLifecycleManager. Can you please explain to me what this method does and how I should implement it?

Kind regards,
Amine Kechaou
Re: Properties sheets after updating EEF [message #1758197 is a reply to message #1758194] Fri, 24 March 2017 14:59 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
Hi Amine,

It is used to switch the widget in "read-only" mode when call with setEnabled(false), when the framework detects that the underlying object can not be modified by the user. This may happen because it is locked or otherwise defined as unmodifiable according the to current org.eclipse.sirius.ecore.extender.business.api.permission.IPermissionAuthority.

Regards,
Pierre-Charles David


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Properties sheets after updating EEF [message #1758207 is a reply to message #1758197] Fri, 24 March 2017 16:29 Go to previous messageGo to next message
Amine Kechaou is currently offline Amine KechaouFriend
Messages: 32
Registered: April 2016
Location: Karlsruhe, Germany
Member
Hi Pierre-Charles,

thank you for your answer. Okay, but how should I implement it? I have a class that extends AbstractEEFWidgetLifecycleManager and now I must implement the method setEnabled because it is declared abstract in AbstractEEFWidgetLifecycleManager. Shouldn't it be implemented in AbstractEEFWidgetLifecycleManager with a default implementation, and in case someone would like to change its behavior, he would then override it. If that's the case, it must not be declared as abstract.

Also, you should then update the tutorial https://www.eclipse.org/sirius/doc/developer/extensions-properties_provide_custom_widget_basic.html because it doesn't implement the method setEnabled in TableLifecycleManager.

Kind Regards,
Amine Kechaou
Re: Properties sheets after updating EEF [message #1758288 is a reply to message #1758207] Mon, 27 March 2017 08:10 Go to previous messageGo to next message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 703
Registered: July 2009
Senior Member
The framework can not provide a default implementation, it will really depend on what your custom widget does. In most cases it will be calling setEnabled() on your own SWT controls, but if your widget (or parts of it) mostly displays information and do not provide actions to edit the underlying model, those parts can stay functional. "setEnabled(false)" means "update the widget to disallow operations that may modify the model". Only you can tell what this implies in terms of disabling/graying out/hiding some or all of the SWT controls you put in your custom widget.

Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Properties sheets after updating EEF [message #1758511 is a reply to message #1758288] Wed, 29 March 2017 13:35 Go to previous messageGo to next message
Amine Kechaou is currently offline Amine KechaouFriend
Messages: 32
Registered: April 2016
Location: Karlsruhe, Germany
Member
[EDIT: Resolved, see next reply]

Hi,
Thanks for the response. I did the following:
public void setEnabled(boolean isEnabled) {
		if (!this.viewer.getTable().isDisposed()) {
			this.viewer.getTable().setEnabled(isEnabled);			
		}
		if (!this.addButton.isDisposed()) {
			this.addButton.setEnabled(isEnabled);
		}
		if (!this.deleteButton.isDisposed()) {
			this.deleteButton.setEnabled(isEnabled);
		}
	}

where viewer is a JFace TableViewer and add/deleteButton are SWT widgets.
Now the code does compile, but I still get an exception when testing the properties sheet.

When the properties sheet is about to be shown:

Quote:
!ENTRY org.eclipse.eef.properties.ui 4 2 2017-03-29 15:31:52.929
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.eef.properties.ui".
!STACK 0
java.lang.AbstractMethodError: org.eclipse.sirius.ui.properties.internal.TransactionalEditingDomainContextAdapter.getLockStatus(Lorg/eclipse/emf/ecore/EObject;)Lorg/eclipse/eef/core/api/LockStatusChangeEvent$LockStatus;
at org.eclipse.eef.ide.ui.api.widgets.AbstractEEFWidgetLifecycleManager.checkLockStatus(AbstractEEFWidgetLifecycleManager.java:201)
at org.eclipse.eef.ide.ui.api.widgets.AbstractEEFWidgetLifecycleManager.createControl(AbstractEEFWidgetLifecycleManager.java:192)
at org.eclipse.eef.ide.ui.internal.widgets.EEFControlSwitch.createWidgetControl(EEFControlSwitch.java:143)
at org.eclipse.eef.ide.ui.internal.widgets.EEFControlSwitch.doCreate(EEFControlSwitch.java:110)
at org.eclipse.eef.ide.ui.internal.widgets.EEFGroupLifecycleManager.createControl(EEFGroupLifecycleManager.java:217)
at org.eclipse.eef.ide.ui.internal.widgets.EEFSectionLifecycleManager.createControl(EEFSectionLifecycleManager.java:87)
at org.eclipse.eef.ide.ui.api.EEFTab.createControls(EEFTab.java:73)
at org.eclipse.eef.ide.ui.properties.api.EEFSection.createControls(EEFSection.java:46)
at org.eclipse.eef.properties.ui.api.EEFTabContents$1.run(EEFTabContents.java:125)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.eef.properties.ui.api.EEFTabContents.createControls(EEFTabContents.java:128)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.processSelectionChanged(EEFTabbedPropertySheetPage.java:511)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.access$0(EEFTabbedPropertySheetPage.java:479)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage$1.selectionChanged(EEFTabbedPropertySheetPage.java:206)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.fireSelectionChanged(EEFTabbedPropertyViewer.java:96)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.access$1(EEFTabbedPropertyViewer.java:94)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer$1.widgetSelected(EEFTabbedPropertyViewer.java:78)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
at org.eclipse.eef.properties.ui.internal.page.propertylist.EEFTabbedPropertyList.select(EEFTabbedPropertyList.java:390)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.setSelectedTabDescriptor(EEFTabbedPropertyViewer.java:178)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.doSetInput(EEFTabbedPropertySheetPage.java:321)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.setInput(EEFTabbedPropertySheetPage.java:256)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.selectionChanged(EEFTabbedPropertySheetPage.java:239)
at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:491)
at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:471)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:259)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:133)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:123)
at org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:81)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:344)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:359)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:131)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.flushSelectionEvents(DiagramGraphicalViewer.java:256)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer$1.run(DiagramGraphicalViewer.java:234)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

!ENTRY org.eclipse.eef.properties.ui 4 2 2017-03-29 15:31:53.439
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.eef.properties.ui".
!STACK 0
java.lang.NullPointerException
at org.eclipse.eef.ide.ui.api.EEFTab.aboutToBeShown(EEFTab.java:87)
at org.eclipse.eef.ide.ui.properties.api.EEFSection.aboutToBeShown(EEFSection.java:51)
at org.eclipse.eef.properties.ui.api.EEFTabContents$4.run(EEFTabContents.java:177)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.eef.properties.ui.api.EEFTabContents.aboutToBeShown(EEFTabContents.java:180)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.showTab(EEFTabbedPropertySheetPage.java:551)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.processSelectionChanged(EEFTabbedPropertySheetPage.java:520)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.access$0(EEFTabbedPropertySheetPage.java:479)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage$1.selectionChanged(EEFTabbedPropertySheetPage.java:206)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.fireSelectionChanged(EEFTabbedPropertyViewer.java:96)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.access$1(EEFTabbedPropertyViewer.java:94)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer$1.widgetSelected(EEFTabbedPropertyViewer.java:78)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1103)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1088)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:802)
at org.eclipse.eef.properties.ui.internal.page.propertylist.EEFTabbedPropertyList.select(EEFTabbedPropertyList.java:390)
at org.eclipse.eef.properties.ui.internal.page.EEFTabbedPropertyViewer.setSelectedTabDescriptor(EEFTabbedPropertyViewer.java:178)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.doSetInput(EEFTabbedPropertySheetPage.java:321)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.setInput(EEFTabbedPropertySheetPage.java:256)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.selectionChanged(EEFTabbedPropertySheetPage.java:239)
at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:491)
at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:471)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:259)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:133)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:123)
at org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:81)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:344)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:359)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:131)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.flushSelectionEvents(DiagramGraphicalViewer.java:256)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer$1.run(DiagramGraphicalViewer.java:234)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)


When the properties sheet is about to be hidden:

Quote:
!ENTRY org.eclipse.eef.properties.ui 4 2 2017-03-29 15:34:16.724
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.eef.properties.ui".
!STACK 0
java.lang.NullPointerException
at org.eclipse.eef.ide.ui.api.EEFTab.aboutToBeHidden(EEFTab.java:130)
at org.eclipse.eef.ide.ui.properties.api.EEFSection.aboutToBeHidden(EEFSection.java:66)
at org.eclipse.eef.properties.ui.api.EEFTabContents$5.run(EEFTabContents.java:192)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
at org.eclipse.eef.properties.ui.api.EEFTabContents.aboutToBeHidden(EEFTabContents.java:195)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.updateTabs(EEFTabbedPropertySheetPage.java:362)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.doSetInput(EEFTabbedPropertySheetPage.java:311)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.setInput(EEFTabbedPropertySheetPage.java:256)
at org.eclipse.eef.properties.ui.api.EEFTabbedPropertySheetPage.selectionChanged(EEFTabbedPropertySheetPage.java:239)
at org.eclipse.ui.views.properties.PropertySheet.showSelectionAndDescription(PropertySheet.java:491)
at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:471)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:259)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:133)
at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:123)
at org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:81)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:161)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:271)
at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:268)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:344)
at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:359)
at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:131)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer.flushSelectionEvents(DiagramGraphicalViewer.java:256)
at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramGraphicalViewer$1.run(DiagramGraphicalViewer.java:234)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3827)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)



Do you have any idea how resolve this issue?
I tried adding a breakpoint to the setEnabled method but it doesn't even get reached. Which leads me to think that setEnabled is not responsible for the error.

The code implementing the properties sheets can be found here: https://github.com/PalladioSimulator/Palladio-Editors-Sirius/tree/master/org.palladiosimulator.editors.sirius.repository.custom/src/org/palladiosimulator/editors/sirius/repository/custom/properties

Thank you for the support,

Kind regards,
Amine

[Updated on: Wed, 29 March 2017 13:57]

Report message to a moderator

Re: Properties sheets after updating EEF [message #1758517 is a reply to message #1758511] Wed, 29 March 2017 13:55 Go to previous message
Amine Kechaou is currently offline Amine KechaouFriend
Messages: 32
Registered: April 2016
Location: Karlsruhe, Germany
Member
I've just updated from Sirius 4.1.1 to 4.1.3 and it works like a charm! Thank you again!
Previous Topic:Filters on edition table
Next Topic:Sirius VSM Initializer
Goto Forum:
  


Current Time: Thu Apr 25 16:21:38 GMT 2024

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

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

Back to the top