|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kiml.ui.views.GmfLayoutPropertySource
public class GmfLayoutPropertySource
A property source for layout options for GMF diagrams.
Constructor Summary | |
---|---|
GmfLayoutPropertySource(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart sourceEditPart)
Creates a layout property source for the given graphical edit part. |
Method Summary | |
---|---|
Object |
getEditableValue()
|
static String |
getLayoutHint(String displayedName)
Returns an identifier for a displayed layout hint name. |
IPropertyDescriptor[] |
getPropertyDescriptors()
|
Object |
getPropertyValue(Object id)
|
static org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart |
getShownEditPart(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart sourceEditPart)
Returns the edit part for which layout options would be shown by this property source. |
boolean |
isPropertySet(Object id)
|
void |
resetPropertyValue(Object id)
|
void |
setPropertyValue(Object id,
Object thevalue)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GmfLayoutPropertySource(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart sourceEditPart)
sourceEditPart
- a graphical edit part from a GMF diagramMethod Detail |
---|
public static final org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart getShownEditPart(org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart sourceEditPart)
sourceEditPart
- the source edit part
null
if there is nonepublic IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface IPropertySource
public Object getPropertyValue(Object id)
getPropertyValue
in interface IPropertySource
public void setPropertyValue(Object id, Object thevalue)
setPropertyValue
in interface IPropertySource
public Object getEditableValue()
getEditableValue
in interface IPropertySource
public boolean isPropertySet(Object id)
isPropertySet
in interface IPropertySource
public void resetPropertyValue(Object id)
resetPropertyValue
in interface IPropertySource
public static String getLayoutHint(String displayedName)
displayedName
- a displayed name of a layout provider or a layout type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |