org.geotools.swt.action
Class InfoAction

Object
  extended by EventManager
      extended by AbstractAction
          extended by Action
              extended by MapAction
                  extended by InfoAction
All Implemented Interfaces:
IAction

public class InfoAction
extends MapAction

Action that activates the Info tool for the current map pane.

Author:
Andrea Antonello (www.hydrologis.com)

Field Summary
 
Fields inherited from class MapAction
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
InfoAction()
           
 
Method Summary
 void run()
          Called when the associated control is activated.
 
Methods inherited from class MapAction
getMapPane, setMapPane
 
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
 

Constructor Detail

InfoAction

public InfoAction()
Method Detail

run

public void run()
Called when the associated control is activated. Leads to the map pane's cursor tool being set to a PanTool object

Specified by:
run in interface IAction
Specified by:
run in class MapAction
Parameters:
ev - the event (not used)


Copyright © 1996-2014 Geotools. All Rights Reserved.