Java Reference
In-Depth Information
Examples:
To register a ClipboardSupport factory for the EMF Library example
model, follow this:
<extension
point="org.eclipse.gmf.runtime.emf.clipboard.core.
clipboardSupport">
<factory
nsURI="http:///org/eclipse/emf/examples/library.ecore"
class="com.example.emf.library.clipboard.
LibraryClipboardSupportFactory">
</factory>
</extension>
API information:
Classes registered on this extension-point must implement the org.
eclipse.gmf.runtime.emf.clipboard.core.IClipboardSupportFact
ory interface. A support factory is responsible for creating IClip-
boardSupports for the packages on which it is registered on this extension-
point.
Notes:
Diagrams generated using the GMF tooling do not currently use this
extension-point.
10.5.8 Pathmaps
Identifier: org.eclipse.gmf.runtime.emf.core.Pathmaps
Description: Extension-point for the definition of pathmap variables.
Pathmap variables allow for the portability of URIs, in similar fashion to path
Eclipse's core path variables. The actual location indicated by a URI depends on
the runtime binding of the path variable. Thus, different environments can work
with the same resource URIs even though the resources are stored in different
physical locations.
Configuration markup:
<!ELEMENT extension (pathmap)>
<!ELEMENT pathmap EMPTY>
<!ATTLIST pathmap
name CDATA #REQUIRED
plugin CDATA #IMPLIED
path CDATA #REQUIRED>
Search WWH ::




Custom Search