Creating additional properties on a resource [message #261116] |
Tue, 13 July 2004 08:59  |
Eclipse User |
|
|
|
Originally posted by: paul.wells.modelistic.com
I am writing a plugin which contains an editor. By default, Eclipse gives
each resource a properties page accessed either by the popup menu when you
selecte the resource in the resource tree, or if you open a resource in
the editor and select window-show view-other-basic-properties you see the
same in the properties view. (The IResourcePropertyConstants lists the
properties you get for free in the 'Info' category)
I would like to be able to add a couple of other properties of my own, but
I can't find any examples how to do it. I don't want to write a properties
page from scratch.
I tried simply adding session properties to the resource, but nothing
happens to the property page.
Ideally, I was hoping to find something like
resource.setProperty(category, name, value);
...and see more info in the property page.
In amongst IPropertySheetEntry, IPropertySheetPage,
IWorkbenchPropertyPage, ResourcePropertySource I feel I'm getting warmer,
but I need someone to point me in the right direction.
Thanks
|
|
|
|
Powered by
FUDForum. Page generated in 0.05872 seconds