org.eclipse.gmf.codegen.gmfgen
Interface ElementType

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
MetamodelType, NotationType, SpecializationType
All Known Implementing Classes:
ElementTypeImpl, MetamodelTypeImpl, NotationTypeImpl, SpecializationTypeImpl

public interface ElementType
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Element Type'. Base element type

The following features are supported:

See Also:
GMFGenPackage.getElementType()
Generated
Model Properties:
abstract="true"

Method Summary
 GenCommonBase getDiagramElement()
          Returns the value of the 'Diagram Element' container reference.
 String getDisplayName()
          Returns the value of the 'Display Name' attribute.
 String getUniqueIdentifier()
          Returns the value of the 'Unique Identifier' attribute.
 boolean isDefinedExternally()
          Returns the value of the 'Defined Externally' attribute.
 void setDefinedExternally(boolean value)
          Sets the value of the 'Defined Externally' attribute.
 void setDiagramElement(GenCommonBase value)
          Sets the value of the 'Diagram Element' container reference.
 void setDisplayName(String value)
          Sets the value of the 'Display Name' attribute.
 void setUniqueIdentifier(String value)
          Sets the value of the 'Unique Identifier' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDiagramElement

GenCommonBase getDiagramElement()
Returns the value of the 'Diagram Element' container reference. It is bidirectional and its opposite is 'Element Type'.

If the meaning of the 'Diagram Element' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Diagram Element' container reference.
See Also:
setDiagramElement(GenCommonBase), GMFGenPackage.getElementType_DiagramElement(), GenCommonBase.getElementType()
Generated
Model Properties:
opposite="elementType" required="true" transient="false"

setDiagramElement

void setDiagramElement(GenCommonBase value)
Sets the value of the 'Diagram Element' container reference.

Parameters:
value - the new value of the 'Diagram Element' container reference.
See Also:
getDiagramElement()
Generated

getUniqueIdentifier

String getUniqueIdentifier()
Returns the value of the 'Unique Identifier' attribute.

If the meaning of the 'Unique Identifier' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Unique Identifier' attribute.
See Also:
setUniqueIdentifier(String), GMFGenPackage.getElementType_UniqueIdentifier()
Generated
Model Properties:
required="true"

setUniqueIdentifier

void setUniqueIdentifier(String value)
Sets the value of the 'Unique Identifier' attribute.

Parameters:
value - the new value of the 'Unique Identifier' attribute.
See Also:
getUniqueIdentifier()
Generated

getDisplayName

String getDisplayName()
Returns the value of the 'Display Name' attribute. When there's palette, defaults to title of first tool that uses element with this type

Returns:
the value of the 'Display Name' attribute.
See Also:
setDisplayName(String), GMFGenPackage.getElementType_DisplayName()
Generated
Model Properties:

setDisplayName

void setDisplayName(String value)
Sets the value of the 'Display Name' attribute.

Parameters:
value - the new value of the 'Display Name' attribute.
See Also:
getDisplayName()
Generated

isDefinedExternally

boolean isDefinedExternally()
Returns the value of the 'Defined Externally' attribute.

If the meaning of the 'Defined Externally' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Defined Externally' attribute.
See Also:
setDefinedExternally(boolean), GMFGenPackage.getElementType_DefinedExternally()
Generated
Model Properties:

setDefinedExternally

void setDefinedExternally(boolean value)
Sets the value of the 'Defined Externally' attribute.

Parameters:
value - the new value of the 'Defined Externally' attribute.
See Also:
isDefinedExternally()
Generated


Copyright © 2012. All Rights Reserved.