public class QuickStartAction extends Action implements ActionFactory.IWorkbenchAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
Constructor and Description |
---|
QuickStartAction()
Deprecated.
Create an instance of this class.
|
QuickStartAction(IWorkbenchWindow window)
Deprecated.
Creates an instance of this action, for use in the given window.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Deprecated.
Disposes of this action.
|
boolean |
openWelcomePage(String featureId)
Deprecated.
Opens the welcome page for the given feature.
|
void |
run()
Deprecated.
The user has invoked this action.
|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
public QuickStartAction()
This consructor added to support calling the action from the welcome page.
public QuickStartAction(IWorkbenchWindow window)
window
- the windowpublic void run()
run
in interface IAction
run
in class Action
How radio buttons are handled
,
How check boxes are handled
public boolean openWelcomePage(String featureId) throws WorkbenchException
featureId
- the about info for the featuretrue
if successful, false
otherwiseWorkbenchException
public void dispose()
ActionFactory.IWorkbenchAction
dispose
in interface ActionFactory.IWorkbenchAction
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.