|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResizeConstraints
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<java.lang.String> |
getNonResizeHandleNames()
Returns the value of the 'Non Resize Handle Names' attribute list. |
int |
getNonResizeHandles()
Returns the value of the 'Non Resize Handles' attribute. |
EList<java.lang.String> |
getResizeHandleNames()
Returns the value of the 'Resize Handle Names' attribute list. |
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 |
|---|
int getResizeHandles()
"0".
Any direction mentioned here (and combination thereof, like e.g. NORTH_WEST) is added as resizable handle
setResizeHandles(int),
GMFGenPackage.getResizeConstraints_ResizeHandles()void setResizeHandles(int value)
Resize Handles' attribute.
value - the new value of the 'Resize Handles' attribute.getResizeHandles()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
setNonResizeHandles(int),
GMFGenPackage.getResizeConstraints_NonResizeHandles()void setNonResizeHandles(int value)
Non Resize Handles' attribute.
value - the new value of the 'Non Resize Handles' attribute.getNonResizeHandles()EList<java.lang.String> getResizeHandleNames()
String.
Convenient method to get PositionConstants names from resizeHandle attribute
GMFGenPackage.getResizeConstraints_ResizeHandleNames()EList<java.lang.String> getNonResizeHandleNames()
String.
Same as getResizeHandleNames(), for nonResizeHandle attribute
GMFGenPackage.getResizeConstraints_NonResizeHandleNames()
|
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.