tk.exgerm.visualiser
Class VisualiserService

java.lang.Object
  extended by tk.exgerm.visualiser.VisualiserService
All Implemented Interfaces:
IComponent

public class VisualiserService
extends Object
implements IComponent


Field Summary
 
Fields inherited from interface tk.exgerm.core.plugin.IComponent
APPLICATION_CLOSING, NAME_PROPERTY
 
Constructor Summary
VisualiserService(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 void addVisualiser(VisualiserView view)
           
 void clearAllVisualisers()
           
 Visualiser getVisualiser(VisualiserView view)
           
 HashMap<IGraph,Visualiser> getVisualisers()
           
 boolean isNewActionGraph()
           
 void removeVisualiser(VisualiserView view)
           
 void setContext(ICoreContext context)
           Postavlja kontekst komponenti.
 void setNewActionGraph(boolean isNewActionGraph)
           
 void turnOff()
           
 void turnOn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualiserService

public VisualiserService(org.osgi.framework.BundleContext bundleContext)
Method Detail

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()