Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.aspectj.tools.ajde.netbeans
Class AJStartBrowserAction  view AJStartBrowserAction download AJStartBrowserAction.java

java.lang.Object
  extended byBooleanStateAction
      extended byorg.aspectj.tools.ajde.netbeans.AJStartBrowserAction

public class AJStartBrowserAction
extends BooleanStateAction

Action to enable/disable the Aspectj browser in the Netbeans explorer.


Nested Class Summary
(package private) static class AJStartBrowserAction.StructureViewComponent
           
(package private) static class AJStartBrowserAction.StructureViewTab
           
 
Field Summary
private  boolean firstInstall
           
private  boolean installed
           
private  Actions.ToolbarToggleButton presenter
           
 AJStartBrowserAction.StructureViewTab structureViewTab
           
 
Constructor Summary
AJStartBrowserAction()
           
 
Method Summary
 boolean getBooleanState()
          Get the current state.
private static Mode getExplorerMode()
          Finds the Mode for the main Explorer window.
 HelpCtx getHelpCtx()
           
 java.lang.String getName()
           
 java.awt.Component getToolbarPresenter()
           
protected  java.lang.String iconResource()
           
protected  void initialize()
          Perform extra initialization of this action's singleton.
 void performAction()
          TODO: the toolbar buttons are not enabled the first time the AJ enable button is pressed.
 void setBooleanState(boolean value)
          Set the current state.
private  void toggleStructureView(boolean show)
          Display/Hide the Aspectj Browser window in the Explorer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

installed

private boolean installed

firstInstall

private boolean firstInstall

presenter

private Actions.ToolbarToggleButton presenter

structureViewTab

public AJStartBrowserAction.StructureViewTab structureViewTab
Constructor Detail

AJStartBrowserAction

public AJStartBrowserAction()
Method Detail

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!