[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: how to add TabbedPropertySheetPage like wtp in my GEF project ?
|
I have done it and it is not that hard.
Here are the steps:
1. make the plug-in available for your project.
2. add this to YourEditor#getAdapter()
// if (type ==
org.eclipse.ui.views.properties.IPropertySheetPage.class) {
// TabbedPropertySheetPage page = new TabbedPropertySheetPage(new
ITabbedPropertySheetPageContributor()
// {
//
// public String getContributorId()
// {
//
// return "contributorId";
// }
//
// });
//
// return page;
// }
(without the comments :-) )
3. read
http://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
for the details.
Regards, Ingo
"heima2008" <tmxk2008@xxxxxxxxx> wrote in message
news:191947.1141722803764.JavaMail.root@xxxxxxxxxxxxxxxxxxxx
> how to add TabbedPropertySheetPage like wtp in my GEF project?
> someone has done with it ??
>
> thx
>
> welcome any replies!