|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alveole.studio.web.data.NodeContainer
com.alveole.studio.web.data.NodeAction
public class NodeAction
This class represents a MVC controller part (an Action in Struts).
Field Summary | |
---|---|
protected Project |
context
The project context. |
protected java.lang.Object |
customObject
The custom object for the specific part of this action. |
protected java.util.Properties |
customProperties
The custom properties for the specific part of this action. |
protected java.lang.String |
mgrId
The associated plugin ID of the ActionManager . |
Fields inherited from class com.alveole.studio.web.data.NodeContainer |
---|
ID, label, parent, project, uiPreferences |
Constructor Summary | |
---|---|
NodeAction(Project context,
NodePackage parent)
Constructor. |
Method Summary | ||
---|---|---|
|
getAdapter(java.lang.Class<T> cls)
Gets an adapter for this node. |
|
java.lang.Object |
getCustomObject()
Get specific object for customized part of this action. |
|
java.util.Properties |
getCustomProperties()
Get custom properties for specific part of thid action. |
|
java.lang.String |
getMgrId()
Get ActionManager plugin ID for this node. |
|
void |
serialize(org.w3c.dom.Element parent)
Save this action to XML. |
|
void |
setCustomObject(java.lang.Object customObject)
Sets specific object of this node. |
|
void |
setCustomProperties(java.util.Properties customProperties)
Set custom properties for specific part of this action. |
|
void |
setMgrId(java.lang.String mgrId)
Set ActionManager plugin ID for thid node. |
|
void |
unserialize(org.w3c.dom.Element element)
Initialize this action given a stored XML node. |
Methods inherited from class com.alveole.studio.web.data.NodeContainer |
---|
getID, getLabel, getParent, getProject, getUiPreferences, serializeUiPrefs, setID, setLabel, setParent, setProject, setUiPreferences, unserializeUiPrefs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Properties customProperties
protected java.lang.Object customObject
protected java.lang.String mgrId
ActionManager
.
protected Project context
Constructor Detail |
---|
public NodeAction(Project context, NodePackage parent)
context
- Thr belongin project context.parent
- The parent package.Method Detail |
---|
public void serialize(org.w3c.dom.Element parent)
serialize
in class NodeContainer
parent
- The parent XML node.public void unserialize(org.w3c.dom.Element element) throws javax.xml.xpath.XPathException
unserialize
in class NodeContainer
element
- The stored XML element for this action.
javax.xml.xpath.XPathException
- If XPath error.public java.util.Properties getCustomProperties()
public void setCustomProperties(java.util.Properties customProperties)
customProperties
- The proeprties.public java.lang.Object getCustomObject()
public void setCustomObject(java.lang.Object customObject)
customObject
- he object.public java.lang.String getMgrId()
public void setMgrId(java.lang.String mgrId)
mgrId
- The ID.public <T> T getAdapter(java.lang.Class<T> cls)
ActionManager
is called to provides specific extensions for the action.
getAdapter
in class NodeContainer
cls
- Thet target class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |