org.eclipse.gmf.codegen.gmfgen
Interface ExpressionLabelParser

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

public interface ExpressionLabelParser
extends GenParserImplementation

A representation of the model object 'Expression Label Parser'. Parser implementation that uses expressions to produce string values

The following features are supported:

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

Method Summary
 String getClassName()
          Returns the value of the 'Class Name' attribute.
 ValueExpression getEditExpression()
          Returns the value of the 'Edit Expression' reference.
 org.eclipse.emf.codegen.ecore.genmodel.GenClass getExpressionContext()
          Returns the value of the 'Expression Context' reference.
 String getQualifiedClassName()
           
 GenConstraint getValidateExpression()
          Returns the value of the 'Validate Expression' reference.
 ValueExpression getViewExpression()
          Returns the value of the 'View Expression' reference.
 void setClassName(String value)
          Sets the value of the 'Class Name' attribute.
 void setEditExpression(ValueExpression value)
          Sets the value of the 'Edit Expression' reference.
 void setExpressionContext(org.eclipse.emf.codegen.ecore.genmodel.GenClass value)
          Sets the value of the 'Expression Context' reference.
 void setValidateExpression(GenConstraint value)
          Sets the value of the 'Validate Expression' reference.
 void setViewExpression(ValueExpression value)
          Sets the value of the 'View Expression' reference.
 
Methods inherited from interface org.eclipse.gmf.codegen.gmfgen.GenParserImplementation
getHolder, getUses
 
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

getClassName

String getClassName()
Returns the value of the 'Class Name' attribute. Provides means to alter name of parser implementation class

Returns:
the value of the 'Class Name' attribute.
See Also:
setClassName(String), GMFGenPackage.getExpressionLabelParser_ClassName()
Generated
Model Properties:

setClassName

void setClassName(String value)
Sets the value of the 'Class Name' attribute.

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

getExpressionContext

org.eclipse.emf.codegen.ecore.genmodel.GenClass getExpressionContext()
Returns the value of the 'Expression Context' reference.

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

Returns:
the value of the 'Expression Context' reference.
See Also:
setExpressionContext(GenClass), GMFGenPackage.getExpressionLabelParser_ExpressionContext()
Generated
Model Properties:
required="true"

setExpressionContext

void setExpressionContext(org.eclipse.emf.codegen.ecore.genmodel.GenClass value)
Sets the value of the 'Expression Context' reference.

Parameters:
value - the new value of the 'Expression Context' reference.
See Also:
getExpressionContext()
Generated

getViewExpression

ValueExpression getViewExpression()
Returns the value of the 'View Expression' reference. Expression to calculate user-readable label value; facet's owner type is evaluation context.

Returns:
the value of the 'View Expression' reference.
See Also:
setViewExpression(ValueExpression), GMFGenPackage.getExpressionLabelParser_ViewExpression()
Generated
Model Properties:
required="true"

setViewExpression

void setViewExpression(ValueExpression value)
Sets the value of the 'View Expression' reference.

Parameters:
value - the new value of the 'View Expression' reference.
See Also:
getViewExpression()
Generated

getEditExpression

ValueExpression getEditExpression()
Returns the value of the 'Edit Expression' reference. Optional expression to represent value for editing

Returns:
the value of the 'Edit Expression' reference.
See Also:
setEditExpression(ValueExpression), GMFGenPackage.getExpressionLabelParser_EditExpression()
Generated
Model Properties:

setEditExpression

void setEditExpression(ValueExpression value)
Sets the value of the 'Edit Expression' reference.

Parameters:
value - the new value of the 'Edit Expression' reference.
See Also:
getEditExpression()
Generated

getValidateExpression

GenConstraint getValidateExpression()
Returns the value of the 'Validate Expression' reference. Optional expression to answer whether user input is ok for further parsing. Note, context here is string, not facet's owner type

Returns:
the value of the 'Validate Expression' reference.
See Also:
setValidateExpression(GenConstraint), GMFGenPackage.getExpressionLabelParser_ValidateExpression()
Generated
Model Properties:

setValidateExpression

void setValidateExpression(GenConstraint value)
Sets the value of the 'Validate Expression' reference.

Parameters:
value - the new value of the 'Validate Expression' reference.
See Also:
getValidateExpression()
Generated

getQualifiedClassName

String getQualifiedClassName()

Generated
Model Properties:
kind="operation"


Copyright © 2012. All Rights Reserved.