| javax.swing.JPanel org.acm.seguin.ide.jedit.JRefactory
JRefactory | final public class JRefactory extends JPanel implements EBComponent(Code) | | Main GUI for JRefactory
author: Mike Atkinson version: $Id: JRefactory.java,v 1.11 2004/05/06 20:59:05 mikeatkinson Exp $ since: 0.0.1 |
Constructor Summary | |
public | JRefactory(View aView) Create a new JRefactory . |
CREATE_NEW_PROJECT | final public static String CREATE_NEW_PROJECT(Code) | | Description of the Field
|
JRefactory | public JRefactory(View aView)(Code) | | Create a new JRefactory .
Parameters: aView - Description of Parameter ` |
addJRefactoryListener | public static void addJRefactoryListener(JRefactoryListener lstnr, View view)(Code) | | Add a listener for the instance of project viewer of the given view. If the given view is null, the listener will
be called from all instances.
Additionally, for listeners that are registered for all views, a JRefactoryEvent is fired when a different view
is selected.
Parameters: lstnr - The listener to add. Parameters: view - The view that the lstnr is attached to, or null if the listener wants to be called fromall views. |
addProjectListener | public void addProjectListener(View view)(Code) | | |
fireProjectAdded | public static void fireProjectAdded(Object src, UMLProject p)(Code) | | Fires a "project added" event. All listeners, regardless of the view, are notified of this event.
Parameters: src - Description of the Parameter Parameters: p - Description of the Parameter |
fireProjectLoaded | public static void fireProjectLoaded(Object src, UMLProject p, View v)(Code) | | Fires an event for the loading of a project. Notify all the listeners registered for this instance's view and
listeners registered for all views.
If the view provided is null, only the listeners registered for the null View will receive the event.
Parameters: src - Description of the Parameter Parameters: p - The activated project. Parameters: v - The view where the change occured, or null. |
fireProjectRemoved | public static void fireProjectRemoved(Object src, UMLProject p)(Code) | | Fires a "project removed" event. All listeners, regardless of the view, are notified of this event.
Parameters: src - Description of the Parameter Parameters: p - Description of the Parameter |
getCPDDuplicateCodeViewer | public CPDDuplicateCodeViewer getCPDDuplicateCodeViewer()(Code) | | Gets the CPDDuplicateCodeViewer attribute of the JRefactory object
The CPDDuplicateCodeViewer value |
getCodingStandardsViewer | public CodingStandardsViewer getCodingStandardsViewer()(Code) | | Gets the CodingStandardsViewer attribute of the JRefactory object
The CodingStandardsViewer value |
getUserSelection | public void getUserSelection()(Code) | | Gets the userSelection attribute of the JRefactory object
|
getViewer | public static JRefactory getViewer(View view)(Code) | | Returns the viewer associated with the given view, or null if none exists.
Parameters: view - Description of the Parameter The viewer value |
handleMessage | public void handleMessage(EBMessage msg)(Code) | | Description of the Method
Parameters: msg - Description of the Parameter |
registerAction | public static void registerAction(Action action)(Code) | | Adds an action to be shown on the toolbar.
Parameters: action - Description of the Parameter |
setInitialProject | public void setInitialProject(View view)(Code) | | |
unregisterAction | public static void unregisterAction(Action action)(Code) | | Removes an action from the toolbar.
Parameters: action - Description of the Parameter |
|
|