|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alveole.studio.web.data.NodeContainer com.alveole.studio.web.data.NodeView
public class NodeView
This is a MVC view. This type of node may be a JSP, a static file, or any template...
Field Summary | |
---|---|
protected java.lang.String |
mgrId
This ViewManager plugin's ID. |
protected java.lang.Object |
specificObject
Specific embedded object for this view. |
protected java.util.Properties |
specificProperties
Specific properties for this view. |
Fields inherited from class com.alveole.studio.web.data.NodeContainer |
---|
ID, label, parent, project, uiPreferences |
Constructor Summary | |
---|---|
NodeView(Project project,
NodePackage parent)
Constructor. |
Method Summary | ||
---|---|---|
|
getAdapter(java.lang.Class<T> cls)
Gets an adapter for this view. |
|
java.lang.String |
getMgrId()
Get plugin ID for ViewManager . |
|
java.lang.Object |
getSpecificObject()
Gets specific object for this View. |
|
java.util.Properties |
getSpecificProperties()
Get this node specific properties. |
|
void |
serialize(org.w3c.dom.Element parent)
Stores this view to XML file. |
|
void |
setMgrId(java.lang.String mgrId)
Set plugin ID for ViewManager . |
|
void |
setSpecificObject(java.lang.Object specificObject)
Set specific object for this view. |
|
void |
setSpecificProperties(java.util.Properties specificProperties)
Set this node specific properties. |
|
void |
unserialize(org.w3c.dom.Element element)
Reads this view from XML. |
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.lang.String mgrId
ViewManager
plugin's ID.
protected java.util.Properties specificProperties
protected java.lang.Object specificObject
Constructor Detail |
---|
public NodeView(Project project, NodePackage parent)
project
- The current project.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)
unserialize
in class NodeContainer
element
- This XML node.public java.lang.String getMgrId()
ViewManager
.
public void setMgrId(java.lang.String mgrId)
ViewManager
.
mgrId
- The ID.public java.util.Properties getSpecificProperties()
public void setSpecificProperties(java.util.Properties specificProperties)
specificProperties
- The specific properties of this node.public java.lang.Object getSpecificObject()
public void setSpecificObject(java.lang.Object specificObject)
specificObject
- The object.public <T> T getAdapter(java.lang.Class<T> cls)
ViewManager
to find a specific implementation of the given class.
getAdapter
in class NodeContainer
cls
- The target class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |