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

RequestLayoutAction

public class RequestLayoutAction extends BackgroundAction

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


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

        executeBackgroundTask(mWorkspace.requestLayout());