|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttestjdt3.ASTActionDelegate
public class ASTActionDelegate
Experiment with JDT to parse and extract component boundaries.
jroyer@emn.fr production| Field Summary | |
|---|---|
static Communications |
communications
Table of communications. |
static Provided |
provided
To store provided interface. |
static java.lang.String |
separation
For decoration. |
static org.eclipse.swt.widgets.Shell |
shell
Associated shell. |
static java.util.HashMap<java.lang.String,java.lang.String> |
structure
Data structure for coding the composite structure |
static TypesTable |
table
Table of information. |
| Constructor Summary | |
|---|---|
ASTActionDelegate()
Default constructor. |
|
| Method Summary | |
|---|---|
static java.lang.String |
displayStructure()
Display the structure. |
void |
dispose()
We can use this method to dispose of any system resources we previously allocated. |
java.util.Vector<org.eclipse.jdt.core.IType> |
getTypesOfInterest()
Acces to the main public types declared in the compilation units. |
java.util.Vector<org.eclipse.jdt.core.ICompilationUnit> |
getUnitsOfInterest()
Get all the compilation unit corresponding to Java resources in the current Java project. |
org.eclipse.ui.IWorkbenchWindow |
getWindow()
|
void |
implementP3()
Visit all the type of interest and try to extract the structure. |
void |
implementP4()
Visit the types and extract communications. |
void |
implementP5required()
Visit the types and get required interfaces. |
void |
implementR1(org.eclipse.jdt.core.IType it)
Implementation of R1. |
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. |
void |
run(org.eclipse.jface.action.IAction action)
The action has been activated. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Selection in the workbench has been changed. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String separation
public static org.eclipse.swt.widgets.Shell shell
public static TypesTable table
public static Communications communications
public static java.util.HashMap<java.lang.String,java.lang.String> structure
public static Provided provided
| Constructor Detail |
|---|
public ASTActionDelegate()
| Method Detail |
|---|
public void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateIActionDelegate.run(org.eclipse.jface.action.IAction)public java.util.Vector<org.eclipse.jdt.core.ICompilationUnit> getUnitsOfInterest()
public java.util.Vector<org.eclipse.jdt.core.IType> getTypesOfInterest()
public void implementR1(org.eclipse.jdt.core.IType it)
it - public void implementP3()
public static java.lang.String displayStructure()
public void implementP4()
public void implementP5required()
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.IActionDelegateIActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegateIWorkbenchWindowActionDelegate.dispose()public void init(org.eclipse.ui.IWorkbenchWindow window)
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegateIWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)public org.eclipse.ui.IWorkbenchWindow getWindow()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||