org.geotools.swt.action
Class ResetAction

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

public class ResetAction
extends MapAction

Action that triggers view reset for the current map pane.

Author:
Andrea Antonello (www.hydrologis.com)

Field Summary
static String TOOL_NAME
          Name for this tool
static String TOOL_TIP
          Tool tip text
 
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
ResetAction()
           
 
Method Summary
 void run()
           
 
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
 

Field Detail

TOOL_NAME

public static final String TOOL_NAME
Name for this tool


TOOL_TIP

public static final String TOOL_TIP
Tool tip text

Constructor Detail

ResetAction

public ResetAction()
Method Detail

run

public void run()
Specified by:
run in interface IAction
Specified by:
run in class MapAction


Copyright © 1996-2014 Geotools. All Rights Reserved.