Java Reference
In-Depth Information
<!ELEMENT adviceBinding ((matcher | enablement)? , eContainer?)>
<!ATTLIST adviceBinding
typeId CDATA #REQUIRED
class CDATA #REQUIRED
inheritance (all|none) "none"
id CDATA #REQUIRED>
This element binds an
IEditHelperAdvice
with an
elementType
.
typeId
—The
elementType
identifier.
class
—The fully qualified name of a class that implements
org.
eclipse.gmf.runtime.emf.type.core.edit.IEditHelperAdvice
. This
attribute specifies the class that provides editing advice for elements of this type.
You can contribute editing advice before and/or after the default editing
behavior.
inheritance
—Indicates the related
elementTypes
that should inherit this
advice. Does not apply to specialization types, which always inherit (all).
all
—Advice is inherited by all metamodel types whose
EClass
es are sub-
types of the metamodel type to which it was applied, and to all specializations of
those metamodel types.
none
—Advice is not inherited by related metamodel types. It is applied only
to the metatmodel type and its specializations.
id
—The unique ID of this advice binding.
<!ELEMENT specializes EMPTY>
<!ATTLIST specializes
id CDATA #REQUIRED>
This element is used to identify another
elementType
(metamodel or spe-
cialization) that this type specializes.
id
—Identifier of the metamodel type or specialization type that this type spe-
cializes in.
<!ELEMENT matcher EMPTY>
<!ATTLIST matcher
class CDATA #REQUIRED>
This element is used to specify the class that will determine whether an exist-
ing model element matches this type.
class
—The fully qualified name of a class that implements
org.eclipse.
gmf.runtime.emf.type.core.IElementMatcher
.
<!ELEMENT eContainer (eContainmentFeature* , (matcher | enablement)?)>
Search WWH ::
Custom Search