|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eu.sk.zero.acd.ModuleAdapter
Module adapter class. Module should create cpomonent types, add velue types to the component types, add methods and triggers to the component types. To create a module, cubclass ModuleAdapter and override its constructor
ComponentType
,
ValueType
,
Method
,
Trigger
Field Summary | |
protected Collection |
actions
Add your defined actions to this container |
protected org.eu.sk.zero.acd.ACD |
app
Application reference. |
protected org.eu.sk.zero.acd.ComponentTypes |
areaTypes
Add your defined component types to this container |
protected String |
author
Author identification. |
protected ClassLoader |
cloader
Module class loader. |
protected String |
desc
Longer module description |
protected org.eu.sk.zero.acd.ComponentTypes |
edgeTypes
Add your defined component types to this container |
protected String |
name
Name of the module |
protected org.eu.sk.zero.acd.ComponentTypes |
nodeTypes
Add your defined component types to this container |
Constructor Summary | |
ModuleAdapter()
To create a module, subclass the ModuleAdapter class and override this constructor. |
Method Summary | |
Collection |
getActions()
Exported actions. |
Collection |
getAreaTypes()
Only called from the application. |
String |
getAuthor()
Author and copyright information. |
String |
getDescription()
Longer module description. |
Collection |
getEdgeTypes()
Only called from the application. |
String |
getName()
Name of the module. |
Collection |
getNodeTypes()
Only called from the application. |
void |
setApplication(org.eu.sk.zero.acd.ACD a)
Reference to the application itself. |
String |
toString()
|
protected URL |
url(String fileName)
Converts a filename to url. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String name
protected String author
protected String desc
protected org.eu.sk.zero.acd.ComponentTypes nodeTypes
protected org.eu.sk.zero.acd.ComponentTypes edgeTypes
protected org.eu.sk.zero.acd.ComponentTypes areaTypes
protected Collection actions
protected org.eu.sk.zero.acd.ACD app
protected ClassLoader cloader
Constructor Detail |
public ModuleAdapter()
Method Detail |
public Collection getNodeTypes()
getNodeTypes
in interface Module
public Collection getEdgeTypes()
getEdgeTypes
in interface Module
public Collection getAreaTypes()
getAreaTypes
in interface Module
public String toString()
toString
in class Object
public String getName()
Module
getName
in interface Module
public String getAuthor()
Module
getAuthor
in interface Module
public String getDescription()
Module
getDescription
in interface Module
public Collection getActions()
Module
getActions
in interface Module
public void setApplication(org.eu.sk.zero.acd.ACD a)
Module
setApplication
in interface Module
protected URL url(String fileName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |