FileDocCategorySizeDatePackage
ShowDevicesAction.javaAPI DocAndroid 1.5 API1549Wed May 06 22:41:10 BST 2009com.android.hierarchyviewer.ui.action

ShowDevicesAction

public class ShowDevicesAction extends AbstractAction

Fields Summary
public static final String
ACTION_NAME
private com.android.hierarchyviewer.ui.Workspace
mWorkspace
Constructors Summary
public ShowDevicesAction(com.android.hierarchyviewer.ui.Workspace workspace)


       
        putValue(NAME, "Devices");
        putValue(SHORT_DESCRIPTION, "Devices");
        putValue(LONG_DESCRIPTION, "Show Devices");
        putValue(MNEMONIC_KEY, KeyEvent.VK_D);
        putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_D,
                Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
        this.mWorkspace = workspace;
    
Methods Summary
public voidactionPerformed(java.awt.event.ActionEvent e)

        mWorkspace.showDevicesSelector();