[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: [Tabbed Properties, Common Navigator] Add a properties tab for a specific "type" of IResource
|
- From: "Francis Upton (News)" <francisu@xxxxxxxx>
- Date: Wed, 16 Jul 2008 08:45:11 -0700
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.14 (X11/20080501)
I do this:
<extension
point="org.eclipse.ui.propertyPages">
<page
class="com.oaklandsw.gui.wizard.WorkbenchPropertiesPage"
id="com.oaklandsw.gui.propPage"
name="Data Mapper">
<enabledWhen>
<or>
<instanceof
value="com.oaklandsw.base.BaseNode">
</instanceof>
<and>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
<test
property="org.eclipse.core.resources.persistentProperty"
args="com.oaklandsw.base.nodeType"/>
</and>
</or>
</enabledWhen>
</page>
<page
class="com.oaklandsw.transform.doc.DocPropertyPage"
id="com.oaklandsw.transform.docPropPage"
name="Data Mapper">
<enabledWhen>
<and>
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
<not>
<test
property="org.eclipse.core.resources.persistentProperty"
args="com.oaklandsw.base.nodeType"/>
</not>
</and>
</enabledWhen>
</page>
</extension>
Ömer Yildiz wrote:
Hi,
is it possible to contribute an additional properties tab in the common
navigator for a certain type of IResource, for example IResources that
can adapt to a particular interface?
The propertySections extension point only allows to specify an input.
Best regards,
Ömer
--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases
You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go