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

LoadGraphAction

public class LoadGraphAction extends BackgroundAction

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


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

        executeBackgroundTask(mWorkspace.loadGraph());