org.eclipse.gmf.mappings
Interface FeatureLabelMapping

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LabelMapping, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
FeatureLabelMappingImpl

public interface FeatureLabelMapping
extends LabelMapping

A representation of the model object 'Feature Label Mapping'. Label based on feature(s) from domain model

The following features are supported:

See Also:
GMFMapPackage.getFeatureLabelMapping()
Generated
Model Properties:

Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAttribute> getEditableFeatures()
          Returns the value of the 'Editable Features' reference list.
 LabelTextAccessMethod getEditMethod()
          Returns the value of the 'Edit Method' attribute.
 String getEditorPattern()
          Returns the value of the 'Editor Pattern' attribute.
 String getEditPattern()
          Returns the value of the 'Edit Pattern' attribute.
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAttribute> getFeatures()
          Returns the value of the 'Features' reference list.
 LabelTextAccessMethod getViewMethod()
          Returns the value of the 'View Method' attribute.
 String getViewPattern()
          Returns the value of the 'View Pattern' attribute.
 void setEditMethod(LabelTextAccessMethod value)
          Sets the value of the 'Edit Method' attribute.
 void setEditorPattern(String value)
          Sets the value of the 'Editor Pattern' attribute.
 void setEditPattern(String value)
          Sets the value of the 'Edit Pattern' attribute.
 void setViewMethod(LabelTextAccessMethod value)
          Sets the value of the 'View Method' attribute.
 void setViewPattern(String value)
          Sets the value of the 'View Pattern' attribute.
 
Methods inherited from interface org.eclipse.gmf.mappings.LabelMapping
getDiagramLabel, getMapEntry, isReadOnly, setDiagramLabel, setReadOnly
 
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

getFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAttribute> getFeatures()
Returns the value of the 'Features' reference list. The list contents are of type EAttribute.

If the meaning of the 'Features' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Features' reference list.
See Also:
GMFMapPackage.getFeatureLabelMapping_Features()
Generated
Model Properties:
required="true" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='features->forAll(f | f.eContainingClass.isSuperTypeOf(mapEntry.domainMetaElement))' description='Label attributes must be available in \'Domain Element\' EClass of the labeled mapping entry'"

getEditableFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAttribute> getEditableFeatures()
Returns the value of the 'Editable Features' reference list. The list contents are of type EAttribute.

If the meaning of the 'Editable Features' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Editable Features' reference list.
See Also:
GMFMapPackage.getFeatureLabelMapping_EditableFeatures()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2005/constraints ocl='editableFeatures->forAll(f | f.eContainingClass.isSuperTypeOf(mapEntry.domainMetaElement))' description='Label attributes must be available in \'Domain Element\' EClass of the labeled mapping entry'"

getViewPattern

String getViewPattern()
Returns the value of the 'View Pattern' attribute. Pattern to produce label on diagram, depends on view method

Returns:
the value of the 'View Pattern' attribute.
See Also:
setViewPattern(String), GMFMapPackage.getFeatureLabelMapping_ViewPattern()
Generated
Model Properties:

setViewPattern

void setViewPattern(String value)
Sets the value of the 'View Pattern' attribute.

Parameters:
value - the new value of the 'View Pattern' attribute.
See Also:
getViewPattern()
Generated

getEditorPattern

String getEditorPattern()
Returns the value of the 'Editor Pattern' attribute. Pattern to produce text for inplace editor, depends on view method; if not specified then viewPattern should be used

Returns:
the value of the 'Editor Pattern' attribute.
See Also:
setEditorPattern(String), GMFMapPackage.getFeatureLabelMapping_EditorPattern()
Generated
Model Properties:

setEditorPattern

void setEditorPattern(String value)
Sets the value of the 'Editor Pattern' attribute.

Parameters:
value - the new value of the 'Editor Pattern' attribute.
See Also:
getEditorPattern()
Generated

getViewMethod

LabelTextAccessMethod getViewMethod()
Returns the value of the 'View Method' attribute. The literals are from the enumeration LabelTextAccessMethod.

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

Returns:
the value of the 'View Method' attribute.
See Also:
LabelTextAccessMethod, setViewMethod(LabelTextAccessMethod), GMFMapPackage.getFeatureLabelMapping_ViewMethod()
Generated
Model Properties:

setViewMethod

void setViewMethod(LabelTextAccessMethod value)
Sets the value of the 'View Method' attribute.

Parameters:
value - the new value of the 'View Method' attribute.
See Also:
LabelTextAccessMethod, getViewMethod()
Generated

getEditPattern

String getEditPattern()
Returns the value of the 'Edit Pattern' attribute. Pattern to extract values from input text, depends on edit method; if not specified then viewPattern should be used

Returns:
the value of the 'Edit Pattern' attribute.
See Also:
setEditPattern(String), GMFMapPackage.getFeatureLabelMapping_EditPattern()
Generated
Model Properties:

setEditPattern

void setEditPattern(String value)
Sets the value of the 'Edit Pattern' attribute.

Parameters:
value - the new value of the 'Edit Pattern' attribute.
See Also:
getEditPattern()
Generated

getEditMethod

LabelTextAccessMethod getEditMethod()
Returns the value of the 'Edit Method' attribute. The literals are from the enumeration LabelTextAccessMethod.

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

Returns:
the value of the 'Edit Method' attribute.
See Also:
LabelTextAccessMethod, setEditMethod(LabelTextAccessMethod), GMFMapPackage.getFeatureLabelMapping_EditMethod()
Generated
Model Properties:

setEditMethod

void setEditMethod(LabelTextAccessMethod value)
Sets the value of the 'Edit Method' attribute.

Parameters:
value - the new value of the 'Edit Method' attribute.
See Also:
LabelTextAccessMethod, getEditMethod()
Generated


Copyright © 2012. All Rights Reserved.