Property Tab: Enable change value [message #199580] |
Wed, 30 July 2008 15:19 |
Eclipse User |
|
|
|
Originally posted by: nhaphuong.web.de
Hello,
I've created a new customize property tab. The content of the property
changed when another EditPart is selected. When I start the application,
I can see my new tab and the content of the property. But I can't change
the value of the property? What can I do to make the values changeable.
I thought that I have to override the method
IPropertySource#getEditableValue. But nothing changed. Please can
somebody help me.
Thanks
|
|
|
Re: Property Tab: Enable change value [message #199600 is a reply to message #199580] |
Thu, 31 July 2008 12:46 |
Eclipse User |
|
|
|
Originally posted by: lifesting.gmail.com
Bonkers wrote:
> Hello,
> I've created a new customize property tab. The content of the property
> changed when another EditPart is selected. When I start the application,
> I can see my new tab and the content of the property. But I can't change
> the value of the property? What can I do to make the values changeable.
> I thought that I have to override the method
> IPropertySource#getEditableValue. But nothing changed. Please can
> somebody help me.
>
> Thanks
TabbedPropertySheetPage GMF used doesn't adapt the selection to
IPropertySource, which be mainly used by PropertySheetPage. Maybe you
require defining a new Tab Section for the property instead of using the
default GMF provided.
More details about Tabbed Property View, please reference Hunter's article:
http://www.eclipse.org/articles/Article-Tabbed-Properties/ta bbed_properties_view.html
|
|
|
Powered by
FUDForum. Page generated in 0.02775 seconds