|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectora.gui.helper.ElementController
public class ElementController
God class !! -> Needs to be more slim
Constructor Summary | |
---|---|
ElementController(ElementManagerInterface manager,
MasterFrameCommon vf)
|
Method Summary | |
---|---|
void |
close()
|
java.util.ArrayList |
getAllElements()
|
java.util.HashMap |
getClassesList()
|
java.awt.Color |
getColorOf(java.lang.String classname)
|
Configuration |
getConfiguration()
|
java.lang.String |
getConnectionStateText()
Returns text about current state |
java.lang.String |
getCurrentElementManagerName()
|
ElementManagerInterface |
getElementManager()
|
GraphPane |
getGraphPane()
|
MasterFrameCommon |
getMasterFrame()
|
void |
getModel(DataClient dc,
RemoteInterface_provider rip,
PersistenceConfiguration conf)
This method loads and returns current model |
void |
getModel(java.io.File file,
PersistenceConfiguration conf)
This method loads and returns current model |
UIController |
getUIController()
|
void |
reloadElements()
Reloads elements either locally or remotely |
void |
requestGC()
Performs GC-request either locally or remotely depending on the memory connection state. |
void |
saveModelToFile(java.io.File file,
PersistenceConfiguration conf)
|
void |
setEnvironment(GraphPane gp,
ThreadController tc)
|
boolean |
startAction(java.lang.String verb)
|
void |
stopAction(boolean startThreads)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementController(ElementManagerInterface manager, MasterFrameCommon vf) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
Method Detail |
---|
public Configuration getConfiguration()
public void setEnvironment(GraphPane gp, ThreadController tc)
public void saveModelToFile(java.io.File file, PersistenceConfiguration conf) throws java.lang.Throwable
java.lang.Throwable
public void requestGC()
public void getModel(DataClient dc, RemoteInterface_provider rip, PersistenceConfiguration conf) throws java.lang.Exception
dc
- rip
- conf
-
java.lang.Exception
public void getModel(java.io.File file, PersistenceConfiguration conf) throws java.lang.Exception
file
- conf
-
java.lang.Exception
public java.util.ArrayList getAllElements()
public java.util.HashMap getClassesList()
public java.lang.String getConnectionStateText()
public void reloadElements() throws java.lang.Exception
java.lang.Exception
public java.lang.String getCurrentElementManagerName()
public MasterFrameCommon getMasterFrame()
public java.awt.Color getColorOf(java.lang.String classname)
public GraphPane getGraphPane()
public UIController getUIController()
public ElementManagerInterface getElementManager()
public void close()
public boolean startAction(java.lang.String verb)
public void stopAction(boolean startThreads)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |