| java.lang.Object com.bostechcorp.cbesb.ui.ide.actions.ConvertToCustomProjectAction
ConvertToCustomProjectAction | public class ConvertToCustomProjectAction implements IObjectActionDelegate(Code) | | |
Method Summary | |
public void | init(IViewPart view) Initializes this action delegate with the view it will work in. | public void | run(IAction action) Called when the user has selected this action to be executed. | public void | selectionChanged(IAction action, ISelection selection) Notifies this action delegate that the selection in the
workbench has changed. | public void | setActiveEditor(IAction action, IEditorPart editor) Sets the active editor for the delegate. | public void | setActivePart(IAction action, IWorkbenchPart part) Sets the active part for the delegate. |
init | public void init(IViewPart view)(Code) | | Initializes this action delegate with the view it will work in.
Parameters: view - the view that provides the context for this delegate See Also: IViewActionDelegate.init(IViewPart) |
run | public void run(IAction action)(Code) | | Called when the user has selected this action to be executed.
|
selectionChanged | public void selectionChanged(IAction action, ISelection selection)(Code) | | Notifies this action delegate that the selection in the
workbench has changed.
Parameters: action - the action proxy that handles presentation portionof the action Parameters: selection - the current selection, or null if there is no selection. See Also: IActionDelegate.selectionChanged(IActionISelection) |
setActiveEditor | public void setActiveEditor(IAction action, IEditorPart editor)(Code) | | Sets the active editor for the delegate. Implementors should
disconnect from the old editor, connect to the new editor, and
update the action to reflect the new editor.
Parameters: action - the action proxy that handles presentation portionof the action Parameters: editor - the new editor target See Also: IEditorActionDelegate.setActiveEditor(IActionIEditorPart) |
setActivePart | public void setActivePart(IAction action, IWorkbenchPart part)(Code) | | Sets the active part for the delegate. This method will be called
every time the action appears in a context menu. The targetPart
may change with each invocation.
|
|
|