|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A representation of the model object 'Resize Constraints'.
Bit-wise OR of any PositionConstants.NORTH, PositionConstants.SOUTH, PositionConstants.EAST or PositionConstants.WEST
The following features are supported:
GMFGenPackage.getResizeConstraints()| Method Summary | |
EList |
getNonResizeHandleNames()
Same as ResizeConstraints.getResizeHandleNames(), for nonResizeHandle attribute
|
int |
getNonResizeHandles()
Returns the value of the 'Non Resize Handles' attribute. |
EList |
getResizeHandleNames()
Convenient method to get PositionConstants names from resizeHandle attribute
|
int |
getResizeHandles()
Returns the value of the 'Resize Handles' attribute. |
void |
setNonResizeHandles(int value)
Sets the value of the ' Non Resize Handles' attribute |
void |
setResizeHandles(int value)
Sets the value of the ' Resize Handles' attribute |
| 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 |
public int getResizeHandles()
"0".
Any direction mentioned here (and combination thereof, like e.g. NORTH_WEST) is added as resizable handle
ResizeConstraints.setResizeHandles(int),
GMFGenPackage.getResizeConstraints_ResizeHandles()public void setResizeHandles(int value)
Resize Handles' attribute.
value - the new value of the 'Resize Handles' attribute.ResizeConstraints.getResizeHandles()public int getNonResizeHandles()
"0".
Directions mentioned with this attribute are explicitly denoted as non-resizable (i.e. with 'move' cursor). If you'd like to omit handle ResizableEditPolicy completely, just don't list it here
ResizeConstraints.setNonResizeHandles(int),
GMFGenPackage.getResizeConstraints_NonResizeHandles()public void setNonResizeHandles(int value)
Non Resize Handles' attribute.
value - the new value of the 'Non Resize Handles' attribute.ResizeConstraints.getNonResizeHandles()public EList getResizeHandleNames()
PositionConstants names from resizeHandle attribute
public EList getNonResizeHandleNames()
ResizeConstraints.getResizeHandleNames(), for nonResizeHandle attribute
|
Generation Framework | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.