com.mucommander.ui.action
Class GoToParentInOtherPanelAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.mucommander.ui.action.MuAction
          extended by com.mucommander.ui.action.GoToAction
              extended by com.mucommander.ui.action.GoToParentAction
                  extended by com.mucommander.ui.action.GoToParentInOtherPanelAction
All Implemented Interfaces:
ActivePanelListener, LocationListener, java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class GoToParentInOtherPanelAction
extends GoToParentAction

Opens the active panel's parent in the inactive panel.

This action is only enabled when the active panel has a parent.

Author:
Nicolas Rinaudo
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mucommander.ui.action.MuAction
ALTERNATE_ACCELERATOR_PROPERTY_KEY, mainFrame
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
GoToParentInOtherPanelAction(MainFrame mainFrame, java.util.Hashtable properties)
          Creates a new GoToParentInOtherPanelAction with the specified parameters.
 
Method Summary
 void performAction()
          Opens the active panel's parent in the inactive panel.
 
Methods inherited from class com.mucommander.ui.action.GoToParentAction
goToParent, goToParent, toggleEnabledState
 
Methods inherited from class com.mucommander.ui.action.GoToAction
activePanelChanged, locationCancelled, locationChanged, locationChanging, locationFailed
 
Methods inherited from class com.mucommander.ui.action.MuAction
actionPerformed, getAccelerator, getAcceleratorText, getAlternateAccelerator, getIcon, getKeyStrokeRepresentation, getLabel, getMainFrame, getModifiersRepresentation, getStandardAccelerator, getStandardAccelerator, getStandardAlternateAccelerator, getStandardAlternateAccelerator, getStandardIcon, getStandardIcon, getStandardIconPath, getStandardIconPath, getStandardLabel, getStandardLabel, getStandardLabelKey, getStandardLabelKey, getStandardTooltip, getStandardTooltip, getStandardTooltipKey, getStandardTooltipKey, getToolTipText, honourNoEventsMode, isAccelerator, performActionInSeparateThread, reportError, reportError, reportGenericError, setAccelerator, setAlternateAccelerator, setHonourNoEventsMode, setIcon, setLabel, setPerformActionInSeparateThread, setToolTipText
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoToParentInOtherPanelAction

public GoToParentInOtherPanelAction(MainFrame mainFrame,
                                    java.util.Hashtable properties)
Creates a new GoToParentInOtherPanelAction with the specified parameters.

Parameters:
mainFrame - frame to which the action is attached.
properties - action's properties.
Method Detail

performAction

public void performAction()
Opens the active panel's parent in the inactive panel.

Overrides:
performAction in class GoToParentAction


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard