Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.view
Class CommandViewPart

java.lang.Object
  extended byViewPart
      extended bycom.ibm.etools.systems.core.ui.view.CommandViewPart
All Implemented Interfaces:
ISystemShellProvider

public class CommandViewPart
extends ViewPart
implements ISystemShellProvider

CommandViewPart

See Also:
Serialized Form

Field Summary
static String copyright
           
 
Constructor Summary
CommandViewPart()
          CommandViewPart constructor comment.
 
Method Summary
 void createPartControl(Composite parent)
          Create a view
 void dispose()
           
protected  void fillContextMenu(IMenuManager menu)
          Adds the text manipulation actions to the Command View
 IActionBars getActionBars()
          Return the action bars for this view part
 CommandView getCommandView()
          Easy access to the TreeViewer object
static CommandViewPart getCommandViewPart()
          Easy access to singleton copy of us
 Shell getShell()
          Return the shell for this view part
 void setFocus()
          Asks this part to take focus within the workbench.
protected  void setGlobalAction(IActionBars actionBars, String actionID, IAction action)
           
protected  void updateAction(String actionId)
           
protected  void updateSelectionDependentActions()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

CommandViewPart

public CommandViewPart()
CommandViewPart constructor comment.

Method Detail

getCommandViewPart

public static CommandViewPart getCommandViewPart()
Easy access to singleton copy of us


getCommandView

public CommandView getCommandView()
Easy access to the TreeViewer object


createPartControl

public void createPartControl(Composite parent)
Create a view

Parameters:
parent - the parent control

fillContextMenu

protected void fillContextMenu(IMenuManager menu)
Adds the text manipulation actions to the Command View


setGlobalAction

protected void setGlobalAction(IActionBars actionBars,
                               String actionID,
                               IAction action)

updateAction

protected void updateAction(String actionId)

updateSelectionDependentActions

protected void updateSelectionDependentActions()

setFocus

public void setFocus()
Asks this part to take focus within the workbench.


getShell

public Shell getShell()
Return the shell for this view part

Specified by:
getShell in interface ISystemShellProvider

getActionBars

public IActionBars getActionBars()
Return the action bars for this view part

Specified by:
getActionBars in interface ISystemShellProvider

dispose

public void dispose()
See Also:
WorkbenchPart#dispose()

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.