|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
com.mucommander.ui.action.MuAction
com.mucommander.ui.action.FileAction
com.mucommander.ui.action.SelectedFileAction
com.mucommander.ui.action.OpenInOtherPanelAction
public class OpenInOtherPanelAction
Opens browsable files in the inactive panel.
This action is only enabled if the current selection is browsable as defined by
AbstractFile.isBrowsable().
| Field Summary |
|---|
| Fields inherited from class com.mucommander.ui.action.FileAction |
|---|
filter |
| 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 | |
|---|---|
OpenInOtherPanelAction(MainFrame mainFrame,
java.util.Hashtable properties)
Creates a new OpenInOtherPanelAction with the specified parameters. |
|
| Method Summary | |
|---|---|
protected boolean |
getFileTableCondition(FileTable fileTable)
This method is overridden to enable this action when the parent folder is selected. |
void |
performAction()
Opens the currently selected file in the inactive folder panel. |
| Methods inherited from class com.mucommander.ui.action.SelectedFileAction |
|---|
setSelectedFileFilter |
| Methods inherited from class com.mucommander.ui.action.FileAction |
|---|
activePanelChanged, markedFilesChanged, selectedFileChanged, updateEnabledState |
| 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 |
|---|
public OpenInOtherPanelAction(MainFrame mainFrame,
java.util.Hashtable properties)
OpenInOtherPanelAction with the specified parameters.
mainFrame - frame to which the action is attached.properties - action's properties.| Method Detail |
|---|
protected boolean getFileTableCondition(FileTable fileTable)
getFileTableCondition in class SelectedFileActionfileTable - currently active FileTablepublic void performAction()
performAction in class MuAction
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard