Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Open sirius PropertySheet from a Table editor
Open sirius PropertySheet from a Table editor [message #1831962] Thu, 03 September 2020 18:20
fares kallel is currently offline fares kallelFriend
Messages: 10
Registered: May 2020
Junior Member
Hello everyone,

I have a NatTable Editor and also a Sirius PropertyView that is triggered when Elements in the Model Explorer are selected.
What I need is the Sirius Property View to show the properties of the selected element in the natTable editor.
I implemented an ISelectionProvider in my Editor's site :


and I used the following method to trigger the properties:, ISelection)

but this opens the default property view, not the Sirius one.
from what I know, to provide contribution to the IPropertySheetPage, I must override the org.eclipse.ui.part.WorkbenchPart.getAdapter(Class<T>) :
public <T> T getAdapter(Class<T> key)
if (key.equals(IPropertySheetPage.class))
return key.cast(theSiriusPropertySheetPage());
return super.getAdapter(key);

However I don't know what I am suppose to do for theSiriusPropertySheetPage(). how can I call it ?

any help would be very appreciated.

Previous Topic:Problem to create node from palette
Next Topic:Refreshing project dependencies programmatically
Goto Forum:

Current Time: Sun Sep 25 15:15:16 GMT 2022

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

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

Back to the top