Java Reference
In-Depth Information
<!ELEMENT Priority EMPTY>
<!ATTLIST Priority
name (Lowest|Low|Medium|High|Highest) >
name —The name of the provider priority— Lowest , Low , Medium , High , or
Highest .
<!ELEMENT Policy EMPTY>
<!ATTLIST Policy
class CDATA #REQUIRED>
class —The provider policy class.
Examples:
Following is an example of a parser provider extension, as contributed by the
GMF tooling generator. Note that a number of default parsers are also imple-
mented using the generator, as specified in the mapping model:
<extension
point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
<ParserProvider
class="org.eclipse.mindmap.diagram.providers.MindmapParserProvider">
<Priority name="Lowest"/>
</ParserProvider>
</extension>
API information:
The value of the class attribute must be the fully qualified name of a class
that implements org.eclipse.gmf.runtime.common.core.services.
parser.IParserProvider .
10.4.9 ModelingAssistantService
The GMF runtime provides a number of assistants to improve usability and
extend the gestures used in modeling beyond what GEF provides. The
ModelingAssistantService and corresponding ModelingAssistant
Provider specify methods to be implemented to provide the content of pop-ups
that appear on the diagram surface, as shown in Figure 10-33. An internal
DiagramModelingAssistantProvider is provided to supply assistant func-
tionality for diagram shapes in the form of pop-up bars and connection handles,
as described in Section 10.1.1, “Connection Handles,” and Section 10.1.1, “Pop-
Up Bars.”
Search WWH ::




Custom Search