|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.di.model.util.DIUtils
public class DIUtils
Helper class to manage the DI model.
Creation : 3 oct. 2005
Constructor Summary | |
---|---|
DIUtils()
|
Method Summary | |
---|---|
static Property |
getProperty(DiagramElement elt,
java.lang.String key)
Returns the Property (object model of the DI) associated with the passed key. |
static java.lang.String |
getPropertyValue(DiagramElement elt,
java.lang.String key)
Returns the String value of a Property |
static void |
setProperty(DiagramElement elt,
java.lang.String key,
java.lang.String value)
Change the value of a Property key of the selected GraphElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DIUtils()
Method Detail |
---|
public static Property getProperty(DiagramElement elt, java.lang.String key)
elt
- the DiagramElementkey
- the key of the Property
public static java.lang.String getPropertyValue(DiagramElement elt, java.lang.String key)
elt
- the DiagramElementkey
- the key of the Property
public static void setProperty(DiagramElement elt, java.lang.String key, java.lang.String value)
elt
- the DiagramElementkey
- the identifier of the property to setvalue
- the new value of the property
|
Modelers | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.