|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JotManipulations
provides interfaces for expedient searching,
Field Summary |
Fields inherited from interface oracle.ide.addin.Subject |
OBJECT_MODIFIED |
Method Summary | |
void |
copy(JotElement element,
JotElement[] parents,
JotElement[] siblings,
boolean[] befores,
java.lang.String[] newNames)
Copies the specified JotElement to all the specified parents. |
JotElement[] |
findAllFieldReferences(JotType type,
JotField field,
java.lang.String[] packageScope)
Finds all the references to the specified class and member in the search scope. |
JotFile[] |
findAllFileReferences(JotType type,
java.lang.String memberText,
java.lang.String[] packageScope)
Finds all the files containing references to the specified class and member in the search scope. |
JotElement[] |
findAllMethodReferences(JotType type,
JotMethod method,
java.lang.String[] packageScope)
Finds all the references to the specified class and member in the search scope. |
JotElement[] |
findAllReferences(JotType type,
java.lang.String memberText,
java.lang.String[] packageScope)
Finds all the references to the specified class and member in the search scope. |
void |
move(JotElement element,
JotElement parent,
JotElement sibling,
boolean before,
java.lang.String newName)
Moves the specified element to a new parent. |
Methods inherited from interface oracle.jdeveloper.jot.JotClassDatabase |
getAllClassDescriptors, getAllClassDescriptors, getClass, getClassList, getClassNameList, getJotTypeInfo, getPackage, getPackageList, getPackages, getType |
Methods inherited from interface oracle.ide.addin.Subject |
attach, detach, notifyObservers |
Method Detail |
public JotElement[] findAllReferences(JotType type, java.lang.String memberText, java.lang.String[] packageScope) throws JotException
type
- the JotType
of the class to find.memberText
- a text description of the member referenced to find. If null,
this method will return all references to the class.packageScope
- an array of package fragments to search. If null, or empty,
this search will use the JotClassDatabase
as its scope.
JotElement
instances which match the search
criteria.
JotException
public JotFile[] findAllFileReferences(JotType type, java.lang.String memberText, java.lang.String[] packageScope) throws JotException
type
- the JotType
of the class to find.memberText
- a text description of the member referenced to find. If null,
this method will return all references to the class.packageScope
- an array of package fragments to search. If null, or empty,
this search will use the JotClassDatabase
as its scope.
JotFile
instances which contain references
matching the search criteria
JotException
public JotElement[] findAllMethodReferences(JotType type, JotMethod method, java.lang.String[] packageScope) throws JotException
type
- the JotType
of the class to find.method
- the JotMethod
to locate.packageScope
- an array of package fragments to search. If null, or empty,
this search will use the JotClassDatabase
as its scope.
JotElement
instances which match the search
criteria.
JotException
public JotElement[] findAllFieldReferences(JotType type, JotField field, java.lang.String[] packageScope) throws JotException
type
- the JotType
of the class to find.field
- the JotField
to locate.packageScope
- an array of package fragments to search. If null, or empty,
this search will use the JotClassDatabase
as its scope.
JotElement
instances which match the search
criteria.
JotException
public void copy(JotElement element, JotElement[] parents, JotElement[] siblings, boolean[] befores, java.lang.String[] newNames) throws JotException
JotElement
to all the specified parents.
The copied element is placed in relation to the sibling specified, before or after
it, depending on the corresponding before flag in the array.
element
- the element to copy.parents
- the new parents of the copies.siblings
- the sibling in each parent to place the newly copied element
adjacent to. If null is specified, it is placed at the start, or end, depending
on the before flagbefores
- whether each copy is placed before or after it's sibling.newNames
- potential new names for each newly created copy.
JotException
public void move(JotElement element, JotElement parent, JotElement sibling, boolean before, java.lang.String newName) throws JotException
element
- the element to move.parent
- the new parent.before
- whether the element goes before or after its sibling.newName
- a potential new name for the element moved.
JotException
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.