Presentation Palette Providers

org.eclipse.gmf.runtime.diagram.ui.paletteProviders

[Enter the first release in which this extension point appears.]

[Enter description of this extension point.]

<!ELEMENT extension (paletteProvider+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT paletteProvider (Priority , editor? , content? , contribution*)>

<!ATTLIST paletteProvider

class CDATA "org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">

The palette provider description tag. A provider's description outlines the targetting context (the editor and the editor's content) and zero or more palette contributions in that context.



<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

name (Lowest|Low|Medium|High|Highest) >

The description for the priority of the palette provider



<!ELEMENT editor EMPTY>

<!ATTLIST editor

id    CDATA #IMPLIED

class CDATA #IMPLIED>

A descriptor for the targetted editor. The editor is not required when predefining palette entries.



<!ELEMENT content (method* , staticMethod*)>

<!ATTLIST content

class CDATA #IMPLIED>

A descriptor for the targetted editor's content.



<!ELEMENT contribution (entry* , predefinedEntry*)>

<!ATTLIST contribution

factoryClass CDATA #IMPLIED>

A descriptor for a palette contribution.



<!ELEMENT entry (expand?)>

<!ATTLIST entry

kind        (drawer|separator|template|tool|stack)

id          CDATA #REQUIRED

path        CDATA #IMPLIED

label       CDATA #IMPLIED

description CDATA #IMPLIED

small_icon  CDATA #IMPLIED

large_icon  CDATA #IMPLIED

permission  (None|HideOnly|Limited|Full)

defineOnly  (true | false) >

A descriptor for a palette contribution entry that will be contributed to the palette.



<!ELEMENT expand (content?)>

<!ATTLIST expand

force (true | false) "false">

A descriptor for a condition to make palette drawers initially expanded.



<!ELEMENT method (value* , notValue*)>

<!ATTLIST method

name     CDATA #REQUIRED

value    CDATA #IMPLIED

notValue CDATA #IMPLIED>

A method to call by reflection on the object. The method has a name and a value. The value could be described by its string representation (value & notValue), or as an object "value" or "notValue". The rules of evaluation are as follows: 1- The return value string has to be in the "value" string set. 2- The return value string has to be not in the "notValue" string set. 3- The return value object has to be in the "value" object set. 4- The return value object has to be not in the "notValue" object set.



<!ELEMENT value (method*)>

<!ATTLIST value

class CDATA #IMPLIED>

A descriptor of an object that represents a method's returned value. The descriptor can include an optional set of methods to call on the "value" object.



<!ELEMENT notValue (method*)>

<!ATTLIST notValue

class CDATA #IMPLIED>

A descriptor of an object that represents a method's returned value that is not required. The descriptor can include an optional set of methods to call on the "notValue" object.



<!ELEMENT predefinedEntry (expand?)>

<!ATTLIST predefinedEntry

id     CDATA #REQUIRED

path   CDATA #IMPLIED

remove (true | false) >

A descriptor for a palette contribution entry that has already been defined by another plug-in and will now be contributed.



<!ELEMENT staticMethod (value* , notValue*)>

<!ATTLIST staticMethod

name     CDATA #REQUIRED

value    CDATA #IMPLIED

notValue CDATA #IMPLIED>

A static method to call by reflection on the class. The static method has a name and a value. The value could be described by its string representation (value & notValue), or as an object "value" or "notValue". The rules of evaluation are as follows: 1- The return value string has to be in the "value" string set. 2- The return value string has to be not in the "notValue" string set. 3- The return value object has to be in the "value" object set. 4- The return value object has to be not in the "notValue" object set.



[Enter extension point usage example here.]

[Enter API information here.]

[Enter information about supplied implementation of this extension point.]