org.eclipse.gmf.codegen.gmfgen
Interface MeasurementUnit

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
GenDiagram
All Known Implementing Classes:
GenDiagramImpl

public interface MeasurementUnit
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Measurement Unit'.

The following features are supported:

See Also:
GMFGenPackage.getMeasurementUnit()
Generated
Model Properties:
interface="true" abstract="true"

Method Summary
 String getUnits()
          Returns the value of the 'Units' attribute.
 void setUnits(String value)
          Sets the value of the 'Units' attribute.
 
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

getUnits

String getUnits()
Returns the value of the 'Units' attribute. The default value is "Pixel".

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

Returns:
the value of the 'Units' attribute.
See Also:
setUnits(String), GMFGenPackage.getMeasurementUnit_Units()
Generated
Model Properties:
default="Pixel"

setUnits

void setUnits(String value)
Sets the value of the 'Units' attribute.

Parameters:
value - the new value of the 'Units' attribute.
See Also:
getUnits()
Generated


Copyright © 2012. All Rights Reserved.