java.lang.Object
BooleanStateAction
org.aspectj.tools.ajde.netbeans.AJStartBrowserAction
- public class AJStartBrowserAction
- extends BooleanStateAction
Action to enable/disable the Aspectj browser in the Netbeans explorer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
installed
private boolean installed
firstInstall
private boolean firstInstall
presenter
private Actions.ToolbarToggleButton presenter
structureViewTab
public AJStartBrowserAction.StructureViewTab structureViewTab
AJStartBrowserAction
public AJStartBrowserAction()
performAction
public void performAction()
- TODO: the toolbar buttons are not enabled the first time the AJ enable
button is pressed. Use cookies to enable/disable them.
getBooleanState
public boolean getBooleanState()
- Get the current state.
setBooleanState
public void setBooleanState(boolean value)
- Set the current state.
Fires a change event, which should be used to affect other components when
its state is toggled.
getToolbarPresenter
public java.awt.Component getToolbarPresenter()
getName
public java.lang.String getName()
iconResource
protected java.lang.String iconResource()
getHelpCtx
public HelpCtx getHelpCtx()
toggleStructureView
private void toggleStructureView(boolean show)
- Display/Hide the Aspectj Browser window in the Explorer. This method docks
the AJ Browser window into the main Explorer tabbed pane window, allowing the
user to change Explorer views without disabling AJ...pjs
getExplorerMode
private static Mode getExplorerMode()
- Finds the Mode for the main Explorer window. This method uses pre-defined
default mode name. These modes are defined in the core, however, they are
not dependable, as they are not part of the APIs....pjs
TODO: throw exception on mode == null which means there is no Explorer panel.
initialize
protected void initialize()
- Perform extra initialization of this action's singleton.
PLEASE do not use constructors for this purpose!