Generation Framework

org.eclipse.gmf.codegen.gmfgen
Interface FeatureLabelModelFacet

All Superinterfaces:
EObject, FeatureModelFacet, LabelModelFacet, ModelFacet, Notifier
All Known Implementing Classes:
FeatureLabelModelFacetImpl

public interface FeatureLabelModelFacet
extends FeatureModelFacet, LabelModelFacet

A representation of the model object 'Feature Label Model Facet'. Model facet of label based on an EStructuralFeature

The following features are supported:

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

Method Summary
 java.lang.String getEditPattern()
          Returns the value of the 'Edit Pattern' attribute
 java.lang.String getViewPattern()
          Returns the value of the 'View Pattern' attribute
 void setEditPattern(java.lang.String value)
          Sets the value of the 'Edit Pattern' attribute
 void setViewPattern(java.lang.String value)
          Sets the value of the 'View Pattern' attribute
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.FeatureModelFacet
getMetaFeature, setMetaFeature
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getViewPattern

public java.lang.String getViewPattern()
Returns the value of the 'View Pattern' attribute. Pattern for java.text.MessageFormat to produce label on diagram

Returns:
the value of the 'View Pattern' attribute.
See Also:
FeatureLabelModelFacet.setViewPattern(String), GMFGenPackage.getFeatureLabelModelFacet_ViewPattern()
** Generated **
Model:

setViewPattern

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

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

getEditPattern

public java.lang.String getEditPattern()
Returns the value of the 'Edit Pattern' attribute. Pattern for java.text.MessageFormat to produce text for inplace editor; if not specified then viewPattern should be used

Returns:
the value of the 'Edit Pattern' attribute.
See Also:
FeatureLabelModelFacet.setEditPattern(String), GMFGenPackage.getFeatureLabelModelFacet_EditPattern()
** Generated **
Model:

setEditPattern

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

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

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.