|
||||||||||
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(IMutableLayoutConfig config,
LayoutContext context,
TransactionalEditingDomain theeditingDomain)
Creates a layout property source for the given layout configuration. |
Method Summary | |
---|---|
LayoutContext |
getContext()
Return the layout context used for this property source. |
Object |
getEditableValue()
|
static String |
getLayoutHint(String displayedName)
Returns an identifier for a displayed layout hint name. |
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(IMutableLayoutConfig config, LayoutContext context, TransactionalEditingDomain theeditingDomain)
config
- a mutable layout configurationcontext
- a layout context describing which element has been selectedtheeditingDomain
- the editing domainMethod Detail |
---|
public LayoutContext getContext()
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 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 |