tk.exgerm.visualiser
Class VisualiserService
java.lang.Object
tk.exgerm.visualiser.VisualiserService
- All Implemented Interfaces:
- IComponent
public class VisualiserService
- extends Object
- implements IComponent
Constructor Summary |
VisualiserService(org.osgi.framework.BundleContext bundleContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisualiserService
public VisualiserService(org.osgi.framework.BundleContext bundleContext)
isNewActionGraph
public boolean isNewActionGraph()
setNewActionGraph
public void setNewActionGraph(boolean isNewActionGraph)
setContext
public void setContext(ICoreContext context)
- Description copied from interface:
IComponent
Postavlja kontekst
komponenti. Ovo nije isto što i BundeContext
.
Konkretne komponente u telu ove metode treba da registruju sve što žele u
Core, kao i da vode evidenciju o svemu što su registrovale da bi na
zaustavljanju komponente mogle da počiste za sobom...
- Specified by:
setContext
in interface IComponent
- Parameters:
context
- Kontekst Core komponente.
turnOff
public void turnOff()
turnOn
public void turnOn()
getVisualisers
public HashMap<IGraph,Visualiser> getVisualisers()
addVisualiser
public void addVisualiser(VisualiserView view)
removeVisualiser
public void removeVisualiser(VisualiserView view)
getVisualiser
public Visualiser getVisualiser(VisualiserView view)
clearAllVisualisers
public void clearAllVisualisers()