|
|||||||||
| Home >> All >> com >> port80 >> eclipse >> jdt >> [ graph overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.port80.eclipse.jdt.graph
Class ProjectDependGraphAction

java.lang.Objectcom.port80.eclipse.jdt.graph.ProjectDependGraphAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
- public class ProjectDependGraphAction
- extends java.lang.Object
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
- extends java.lang.Object
Show project dependency graph for projects in workspace.
| Field Summary | |
private static boolean |
DEBUG
|
private static java.lang.String |
fOutDir
|
private org.eclipse.jdt.core.ISourceRange |
fParsingErrorRange
|
private org.eclipse.ui.IWorkbenchWindow |
fWindow
|
private static java.lang.String |
NAME
|
| Constructor Summary | |
ProjectDependGraphAction()
The constructor. |
|
| Method Summary | |
private com.port80.graph.IGraph |
dependGraph(org.eclipse.core.resources.IProject[] projects)
Show project dependency in the workspace. |
void |
dispose()
We can use this method to dispose of any system resources we previously allocated. |
private org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart |
getPackageView()
Get the current JDT package view. |
void |
init(org.eclipse.ui.IWorkbenchWindow window)
We will cache window object in order to be able to provide parent shell for the message dialog. |
private void |
openViewer(com.port80.graph.IGraph graph)
|
void |
run(org.eclipse.jface.action.IAction action)
Find depend graph for selected package. |
private boolean |
saveGraph(com.port80.graph.IGraph graph)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Selection in the workbench has been changed. |
private void |
showTypes(java.lang.Object[] selected)
Show the types in the packages selected. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
fOutDir
private static java.lang.String fOutDir
fWindow
private org.eclipse.ui.IWorkbenchWindow fWindow
fParsingErrorRange
private org.eclipse.jdt.core.ISourceRange fParsingErrorRange
| Constructor Detail |
ProjectDependGraphAction
public ProjectDependGraphAction()
- The constructor.
| Method Detail |
run
public void run(org.eclipse.jface.action.IAction action)
- Find depend graph for selected package.
//FIXME: For now, only look at source files.
- Specified by:
runin interfaceorg.eclipse.ui.IActionDelegate
openViewer
private void openViewer(com.port80.graph.IGraph graph)
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
- Selection in the workbench has been changed. We
can change the state of the 'real' action here
if we want, but this can only happen after
the delegate has been created.
- Specified by:
selectionChangedin interfaceorg.eclipse.ui.IActionDelegate
dispose
public void dispose()
- We can use this method to dispose of any system
resources we previously allocated.
- Specified by:
disposein interfaceorg.eclipse.ui.IWorkbenchWindowActionDelegate
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- We will cache window object in order to
be able to provide parent shell for the message dialog.
NOTE: This is not called if action is activated from a context menu (eg. from JDT package view).
- Specified by:
initin interfaceorg.eclipse.ui.IWorkbenchWindowActionDelegate
getPackageView
private org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart getPackageView()
- Get the current JDT package view.
showTypes
private void showTypes(java.lang.Object[] selected)
- Show the types in the packages selected.
dependGraph
private com.port80.graph.IGraph dependGraph(org.eclipse.core.resources.IProject[] projects)
- Show project dependency in the workspace.
saveGraph
private boolean saveGraph(com.port80.graph.IGraph graph)
|
|||||||||
| Home >> All >> com >> port80 >> eclipse >> jdt >> [ graph overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.port80.eclipse.jdt.graph.ProjectDependGraphAction