|
|||||||||
| Home >> All >> fzi >> injectj >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
fzi.injectj.access
Interface MOPAccess

- public interface MOPAccess
This interface provides access to the currently used metaobjectprotocol. An implementation of this interface is required for each MOP. Inject/J uses this as an entrance point to work with diffrent MOPs.
| Method Summary | |
java.util.Enumeration |
allClassNames()
Returns classname enumeration of all currently parsed classes. |
int |
getClassCount()
Returns amount of currently parsed classes |
javax.swing.JTree |
getClassTree()
Returns tree of all classes/packages parsed so far. |
java.lang.Object |
getMOPClass(java.lang.String classname)
Returns the mop represantation of a previously parsed class. |
PanelAccess |
getPanelAccess()
Provides access to the currently used PanelAccess object. |
fzi.injectj.weavepoint.RootWeavepoint |
getRoot(java.util.Hashtable namespace)
Returns the root node of the metaobjectprotocol. |
boolean |
parseJavaSourceFiles(java.util.Vector mopSourcePaths,
java.io.FilenameFilter filenameFilter,
fzi.injectj.config.ParseMessageDialog messageDialog)
Parses all Java-files which are accepted by the given FilenameFilter. |
| Method Detail |
getPanelAccess
public PanelAccess getPanelAccess()
- Provides access to the currently used PanelAccess object. The appearance
of the Inject/J wizard can be configured through this PanelAccess object.
It's possible to change the diffrent panels according to the used MOP.
parseJavaSourceFiles
public boolean parseJavaSourceFiles(java.util.Vector mopSourcePaths, java.io.FilenameFilter filenameFilter, fzi.injectj.config.ParseMessageDialog messageDialog)
- Parses all Java-files which are accepted by the given FilenameFilter.
Searching all reachable files must be done by the MOP or the IDE the MOP
is integrated in. The modal message dialog can be used to block the wizard while
parsing Java source. It can also be used to show the currently parsing file.
getClassCount
public int getClassCount()
- Returns amount of currently parsed classes
allClassNames
public java.util.Enumeration allClassNames()
- Returns classname enumeration of all currently parsed classes.
getClassTree
public javax.swing.JTree getClassTree()
- Returns tree of all classes/packages parsed so far. This method is used
to select classes using a GUI. Adding the string user objects of each node,
seperated by a dot, must result in the full qualified name of the class or
package.
getMOPClass
public java.lang.Object getMOPClass(java.lang.String classname)
- Returns the mop represantation of a previously parsed class.
getRoot
public fzi.injectj.weavepoint.RootWeavepoint getRoot(java.util.Hashtable namespace)
- Returns the root node of the metaobjectprotocol. This root object is the
starting point for all navigation actions.
|
|||||||||
| Home >> All >> fzi >> injectj >> [ access overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC