org.eclipse.gmf.codegen.gmfgen
Interface FeatureLabelModelFacet

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LabelModelFacet, ModelFacet, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
FeatureLabelModelFacetImpl

public interface FeatureLabelModelFacet
extends LabelModelFacet

A representation of the model object 'Feature Label Model Facet'. Model facet of label based on domain model attribute(s)

The following features are supported:

See Also:
GMFGenPackage.getFeatureLabelModelFacet()
Generated
Model Properties:

Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getEditableMetaFeatures()
          Returns the value of the 'Editable Meta 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.codegen.ecore.genmodel.GenFeature> getMetaFeatures()
          Returns the value of the 'Meta 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.codegen.gmfgen.LabelModelFacet
getParser, setParser
 
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

getMetaFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getMetaFeatures()
Returns the value of the 'Meta Features' reference list. The list contents are of type GenFeature.

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

Returns:
the value of the 'Meta Features' reference list.
See Also:
GMFGenPackage.getFeatureLabelModelFacet_MetaFeatures()
Generated
Model Properties:
required="true"

getEditableMetaFeatures

org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenFeature> getEditableMetaFeatures()
Returns the value of the 'Editable Meta Features' reference list. The list contents are of type GenFeature.

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

Returns:
the value of the 'Editable Meta Features' reference list.
See Also:
GMFGenPackage.getFeatureLabelModelFacet_EditableMetaFeatures()
Generated
Model Properties:

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), GMFGenPackage.getFeatureLabelModelFacet_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), GMFGenPackage.getFeatureLabelModelFacet_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), GMFGenPackage.getFeatureLabelModelFacet_ViewMethod()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2006/deprecated documentation='Replaced with GenParsers and PredefinedParser'"

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), GMFGenPackage.getFeatureLabelModelFacet_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), GMFGenPackage.getFeatureLabelModelFacet_EditMethod()
Generated
Model Properties:
annotation="http://www.eclipse.org/gmf/2006/deprecated documentation='Replaced with GenParsers and PredefinedParser'"

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.