|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEventManager
AbstractAction
Action
MapAction
public abstract class MapAction
Base class for map pane actions.
Field Summary | |
---|---|
protected SwtMapPane |
mapPane
|
Fields inherited from interface IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
MapAction(String toolName,
String toolTip,
Image image)
|
Method Summary | |
---|---|
SwtMapPane |
getMapPane()
Getter for the current map pane . |
abstract void |
run()
|
void |
setMapPane(SwtMapPane mapPane)
Set the right map pane to the action. |
Methods inherited from class Action |
---|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class AbstractAction |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
Methods inherited from class EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
protected SwtMapPane mapPane
Constructor Detail |
---|
public MapAction(String toolName, String toolTip, Image image)
Method Detail |
---|
public abstract void run()
run
in interface IAction
run
in class Action
public void setMapPane(SwtMapPane mapPane)
map pane
to the action.
mapPane
- the map pane to use.public SwtMapPane getMapPane()
map pane
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |