|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISpecializationType
Interface used to define application-layer types that describe a
specialization of a metamodel type. The specifics of the specialization are
expressed in a IElementMatcher
class and an
IContainerDescriptor
.
Specializations can contribute 'before' and 'after' editing behaviour to
their metamodel type's default behaviour using IEditHelperAdvice
.
Clients should not implement this interface directly, but should extend the
abstract implementation SpecializationType
instead.
Method Summary | |
---|---|
IContainerDescriptor |
getEContainerDescriptor()
Gets the container descriptor. |
IEditHelperAdvice |
getEditHelperAdvice()
Gets my edit helper advice. |
IElementMatcher |
getMatcher()
Gets the element matcher. |
IMetamodelType |
getMetamodelType()
Gets the metamodel type that this type is a specialization of. |
java.lang.String[] |
getSpecializedTypeIds()
Gets the IDs of the specialized types. |
IElementType[] |
getSpecializedTypes()
Gets the element types that this type specializes. |
boolean |
isSpecializationOf(IElementType type)
Answers whether or not I am a specialization of type . |
Methods inherited from interface org.eclipse.gmf.runtime.emf.type.core.IElementType |
---|
canEdit, getAllSuperTypes, getDisplayName, getEClass, getEditCommand, getEditHelper, getIconURL, getId |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
IContainerDescriptor getEContainerDescriptor()
IElementMatcher getMatcher()
IElementType[] getSpecializedTypes()
java.lang.String[] getSpecializedTypeIds()
boolean isSpecializationOf(IElementType type)
type
.
type
- the type to be tested
true
if I am a specialization of type
,
false
otherwise.IEditHelperAdvice getEditHelperAdvice()
IMetamodelType getMetamodelType()
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.