Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Creating additional properties on a resource
Creating additional properties on a resource [message #261116] Tue, 13 July 2004 08:59 Go to next message
Eclipse UserFriend
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
Re: Creating additional properties on a resource [message #261166 is a reply to message #261116] Tue, 13 July 2004 11:09 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.inf.no.ufsc.spam.br

http://help.eclipse.org/help21/topic/org.eclipse.platform.do c.isv/guide/preferences_prop.htm

Have you checked this out?
Previous Topic:RCP and org.eclipse.core.resources plugin
Next Topic:JUnit Plugin test as Ant target, what to do?
Goto Forum:
  


Current Time: Tue Jul 22 12:10:35 EDT 2025

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

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

Back to the top