Skip to main content



      Home
Home » Eclipse Projects » GEF » Custom Property Sheet page
Custom Property Sheet page [message #248455] Tue, 21 April 2009 06:54 Go to next message
Eclipse UserFriend
Originally posted by: massimiliano.ziccardi.gmail.com

Hi all.

Do someone knows how to associate a custom property sheet page to an
edit part?

I found some documentation on the net, bu everything seems quite
outdated....

Thank you all,
Massimiliano
Re: Custom Property Sheet page [message #248460 is a reply to message #248455] Tue, 21 April 2009 08:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cayla_sha.gmx.net

Hello!

This is a very interesting and not outdated article:
http://www.eclipse.org/articles/Article-Tabbed-Properties/ta bbed_properties_view.html

I think, this is also helpful:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_v iews_properties_tabbed_propertySections.html

You have to define a filter for all of your sections.
If you don`t know how a filter should look like, look at:
org.eclipse.gmf.runtime.diagram.ui.properties.filters.Diagra mEditPartPropertySectionFilter

Have fun!
Julia


Massimiliano Ziccardi schrieb:
> Hi all.
>
> Do someone knows how to associate a custom property sheet page to an
> edit part?
>
> I found some documentation on the net, bu everything seems quite
> outdated....
>
> Thank you all,
> Massimiliano
Re: Custom Property Sheet page [message #248474 is a reply to message #248460] Tue, 21 April 2009 10:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cayla_sha.gmx.net

two additions:

- you could also define one or more "input types" for each property
section. The type is a class or interface that the selection must match
for the section to be displayed on the tab.

- let your property sections inherit from AbstractModelerPropertySection
(and not AbstractPropertySection), because it has already implemented
some standard-things you`ll need.


Cayla Sha schrieb:
> Hello!
>
> This is a very interesting and not outdated article:
> http://www.eclipse.org/articles/Article-Tabbed-Properties/ta bbed_properties_view.html
>
>
> I think, this is also helpful:
> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_v iews_properties_tabbed_propertySections.html
>
>
> You have to define a filter for all of your sections.
> If you don`t know how a filter should look like, look at:
> org.eclipse.gmf.runtime.diagram.ui.properties.filters.Diagra mEditPartPropertySectionFilter
>
>
> Have fun!
> Julia
>
>
> Massimiliano Ziccardi schrieb:
>> Hi all.
>>
>> Do someone knows how to associate a custom property sheet page to an
>> edit part?
>>
>> I found some documentation on the net, bu everything seems quite
>> outdated....
>>
>> Thank you all,
>> Massimiliano
Re: Custom Property Sheet page [message #248570 is a reply to message #248474] Thu, 23 April 2009 06:48 Go to previous message
Eclipse UserFriend
Originally posted by: massimiliano.ziccardi.gmail.com

Hi Julia.
Your help has been very useful and appreciated.

I solved the problem.

Thank you!

Massimiliano

Cayla Sha wrote:
> two additions:
>
> - you could also define one or more "input types" for each property
> section. The type is a class or interface that the selection must match
> for the section to be displayed on the tab.
>
> - let your property sections inherit from AbstractModelerPropertySection
> (and not AbstractPropertySection), because it has already implemented
> some standard-things you`ll need.
>
>
> Cayla Sha schrieb:
>> Hello!
>>
>> This is a very interesting and not outdated article:
>> http://www.eclipse.org/articles/Article-Tabbed-Properties/ta bbed_properties_view.html
>>
>>
>> I think, this is also helpful:
>> http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/extension-points/org_eclipse_ui_v iews_properties_tabbed_propertySections.html
>>
>>
>> You have to define a filter for all of your sections.
>> If you don`t know how a filter should look like, look at:
>> org.eclipse.gmf.runtime.diagram.ui.properties.filters.Diagra mEditPartPropertySectionFilter
>>
>>
>> Have fun!
>> Julia
>>
>>
>> Massimiliano Ziccardi schrieb:
>>> Hi all.
>>>
>>> Do someone knows how to associate a custom property sheet page to an
>>> edit part?
>>>
>>> I found some documentation on the net, bu everything seems quite
>>> outdated....
>>>
>>> Thank you all,
>>> Massimiliano
Previous Topic:[Announce] GEF 3.5.0 I200904222348 is available
Next Topic:Customize the shape of selection mark
Goto Forum:
  


Current Time: Mon Mar 24 23:54:15 EDT 2025

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

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

Back to the top