Common Navigator and Tabbed Properties View [message #335381] |
Sun, 05 April 2009 07:31  |
Eclipse User |
|
|
|
Hello,
the common navigator class should not be sub-classed.
Now I want to show properties within the tabbed properties page when a
file is selected in the navigator.
Therefore I need a contribution id of the common navigator. If I would
subclass I could easily:
implements ITabbedPropertySheetPageContributor
and
public Object getAdapter(Class adapter) {
if (adapter == IPropertySheetPage.class)
return new TabbedPropertySheetPage(this);
return super.getAdapter(adapter);
}
public String getContributorId()
return "myId";
}
Should I override the class or is an id existing that can be used?
Thx
Joerg
|
|
|
|
Powered by
FUDForum. Page generated in 0.02993 seconds