|
||||||||||
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.LayoutPropertySource
public class LayoutPropertySource
A property source for layout options for GMF diagrams.
Constructor Summary | |
---|---|
LayoutPropertySource(ILayoutConfig config,
ILayoutInspector inspector)
Creates a layout property source for the given layout configuration. |
Method Summary | |
---|---|
Object |
getEditableValue()
|
static String |
getLayoutHint(int choiceIndex)
Return the layout hint at the given index of the layout hint choices array. |
static String |
getLayoutHint(String displayedName)
Returns an identifier for a displayed layout hint name. |
static String[] |
getLayoutHintChoices()
Return an array of choices for the layout hint option. |
IPropertyDescriptor[] |
getPropertyDescriptors()
|
Object |
getPropertyValue(Object id)
|
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 LayoutPropertySource(ILayoutConfig config, ILayoutInspector inspector)
config
- a layout configurationinspector
- a layout inspectorMethod Detail |
---|
public 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[] getLayoutHintChoices()
public static String getLayoutHint(int choiceIndex)
choiceIndex
- an index for getLayoutHintChoices()
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 |