Advanced Property Section [message #1693658] |
Mon, 27 April 2015 09:57 |
Djordje Stanojevic Messages: 14 Registered: February 2014 |
Junior Member |
|
|
Dear All,
I am newbie in Eclipse Modeling and RCP world.
I am trying to implement standard properties view (I am using AdvancedPropertySection) for my sample Graphiti application.
I have followed this article, and my properties view has default look, but there is no selected Pictogramelement (EMF object) properties shown.
What should I do, to make my object properties visible in the properties view ?
Djordje Stanojevic
[Updated on: Mon, 27 April 2015 09:59] Report message to a moderator
|
|
|
Re: Advanced Property Section [message #1693673 is a reply to message #1693658] |
Mon, 27 April 2015 11:41 |
|
Have you tried to implement the IPropertySourceProvider interface and set this to the PropertySheetPage propertySourceProvider? For example in the setInput method of the AdvancedPropertySection:
@Override
public void setInput(IWorkbenchPart part, ISelection selection) {
page.setPropertySourceProvider(new MyPropertySourceProvider());
super.setInput(part, selection);
}
I didn't try this.
Krisztian
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03799 seconds