org.eclipse.ocl.examples.domain.elements
Interface Labelable

All Known Implementing Classes:
AnnotationImpl, AnyTypeImpl, AssociationClassCallExpImpl, AssociationClassImpl, BagTypeImpl, BehaviorImpl, BooleanLiteralExpImpl, CallExpImpl, CallOperationActionImpl, ClassImpl, CollectionItemImpl, CollectionLiteralExpImpl, CollectionLiteralPartImpl, CollectionRangeImpl, CollectionTypeImpl, CommentImpl, ConnectionPointReferenceImpl, ConstraintImpl, ConstructorExpImpl, ConstructorPartImpl, DataTypeImpl, DetailImpl, DynamicElementImpl, DynamicPropertyImpl, DynamicTypeImpl, ElementExtensionImpl, ElementImpl, EnumerationImpl, EnumerationLiteralImpl, EnumLiteralExpImpl, ExpressionInOCLImpl, FeatureCallExpImpl, FeatureImpl, FinalStateImpl, IfExpImpl, ImportImpl, IntegerLiteralExpImpl, InvalidLiteralExpImpl, InvalidTypeImpl, IterateExpImpl, IterationImpl, IteratorExpImpl, LambdaTypeImpl, LetExpImpl, LibraryImpl, LiteralExpImpl, LoopExpImpl, MessageExpImpl, MessageTypeImpl, MetaclassImpl, NamedElementImpl, NamespaceImpl, NavigationCallExpImpl, NullLiteralExpImpl, NumericLiteralExpImpl, OCLExpressionImpl, OpaqueExpressionImpl, OperationCallExpImpl, OperationImpl, OperationTemplateParameterImpl, OppositePropertyCallExpImpl, OrderedSetTypeImpl, Orphanage, PackageableElementImpl, PackageImpl, ParameterableElementImpl, ParameterImpl, PivotObjectImpl, PrecedenceImpl, PrimitiveLiteralExpImpl, PrimitiveTypeImpl, ProfileApplicationImpl, ProfileImpl, PropertyCallExpImpl, PropertyImpl, PseudostateImpl, RealLiteralExpImpl, RegionImpl, RootImpl, SelfTypeImpl, SendSignalActionImpl, SequenceTypeImpl, SetTypeImpl, SignalImpl, StateExpImpl, StateImpl, StateMachineImpl, StereotypeImpl, StringLiteralExpImpl, TemplateableElementImpl, TemplateBindingImpl, TemplateParameterImpl, TemplateParameterSubstitutionImpl, TemplateParameterTypeImpl, TemplateSignatureImpl, TransitionImpl, TriggerImpl, TupleLiteralExpImpl, TupleLiteralPartImpl, TuplePartImpl, TupleTypeImpl, TupleTypeManager.TuplePart, TypedElementImpl, TypedMultiplicityElementImpl, TypeExpImpl, TypeExtensionImpl, TypeImpl, TypeTemplateParameterImpl, UnlimitedNaturalLiteralExpImpl, UnspecifiedTypeImpl, UnspecifiedValueExpImpl, ValueSpecificationImpl, VariableDeclarationImpl, VariableExpImpl, VariableImpl, VertexImpl, VoidTypeImpl

public interface Labelable


Method Summary
 java.lang.Object getImage()
          Returns the image for the label of the given element.
 java.lang.String getText()
          Returns the text for a readable label for the given element.
 

Method Detail

getImage

@Nullable
java.lang.Object getImage()
Returns the image for the label of the given element. The image is owned by of on behalf of this object and must not be disposed directly.

Returns null if no image available.


getText

@Nullable
java.lang.String getText()
Returns the text for a readable label for the given element.

Returns null if no text available.