public abstract class AbstractInteractionPlugin extends SimplePropertyObject implements IObserverCenterPlugin
Constructor and Description |
---|
AbstractInteractionPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addMouseListener(MouseListener listener)
Adds a MouseListener.
|
String |
getIconPath()
Returns the path to the icon for the plugin in the toolbar.
|
IVector2 |
getWorldCoordinates(Point p) |
void |
refresh()
Refreshes the display
|
void |
removeMouseListener(MouseListener listener)
Removes a MouseListener.
|
void |
shutdown()
Stops the plugin
|
void |
start(ObserverCenter main)
Starts the plugin
|
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, getView
public void addMouseListener(MouseListener listener)
listener
- The MouseListener.public void removeMouseListener(MouseListener listener)
listener
- The MouseListener.public void refresh()
IObserverCenterPlugin
refresh
in interface IObserverCenterPlugin
public String getIconPath()
IObserverCenterPlugin
getIconPath
in interface IObserverCenterPlugin
public final void shutdown()
IObserverCenterPlugin
shutdown
in interface IObserverCenterPlugin
public final void start(ObserverCenter main)
IObserverCenterPlugin
start
in interface IObserverCenterPlugin
Copyright © 2012. All Rights Reserved.