|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.compiler.Ojc
| Nested Class Summary |
| Nested classes inherited from class oracle.jdeveloper.compiler.Translator |
Translator.Log |
| Constructor Summary | |
Ojc()
|
|
| Method Summary | |
boolean |
canBuild(Storage store)
canBuild is a predicate to find out if this translator
can build the specified store (i.e. |
boolean |
canShutdown()
This method is called by the IDE to confirm that the ide can shutdown |
java.util.ArrayList |
getInputTypes()
getInputTypes should return an array of 0 or more
supported input types (currently the form is a string representing
a file extension) |
java.lang.String |
getName()
Translator name (i.e. |
java.util.ArrayList |
getOutputTypes()
getOutputTypes should return an array of 0 or more
supported output/generated type of files/stores (currently the form is
a string representing a file extension) |
static java.net.URL |
getURLFromClassName(Project prj,
java.lang.String className)
|
float |
ideVersion()
This method is called to determine the ide version number for which this feature was implemented. |
void |
initialize()
This method is called by the IDE to request that the feature be initialized. |
boolean |
needToBuild(Storage store)
needToBuild is a predicate to find out if this translator
needs the specified store to successfully build the other requested stores
(i.e. |
void |
setLog(Translator.Log log)
|
void |
setParameter(java.lang.String name,
java.lang.String value)
|
void |
setProject(Project project)
|
void |
shutdown()
This method is called by the IDE to request that the feature release any resources held before the ide shuts down.. |
int |
translate(Project prj,
boolean rebuild,
java.util.ArrayList sources,
java.util.ArrayList results)
return the number of errors 0 if successfull |
void |
updateProject(Project project)
|
float |
version()
This method is called to determine the feature version number, i.e. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Ojc()
| Method Detail |
public java.lang.String getName()
getName in interface Translatorpublic java.util.ArrayList getInputTypes()
TranslatorgetInputTypes should return an array of 0 or more
supported input types (currently the form is a string representing
a file extension)
getInputTypes in interface Translatorpublic java.util.ArrayList getOutputTypes()
TranslatorgetOutputTypes should return an array of 0 or more
supported output/generated type of files/stores (currently the form is
a string representing a file extension)
getOutputTypes in interface Translatorpublic boolean canBuild(Storage store)
TranslatorcanBuild is a predicate to find out if this translator
can build the specified store (i.e. Ojc can't build a PL/SQL or JSP store).
canBuild in interface Translatorstore - Storage element to check
public boolean needToBuild(Storage store)
TranslatorneedToBuild is a predicate to find out if this translator
needs the specified store to successfully build the other requested stores
(i.e. the SQLJ precompiler needs to have all .java files to build .sqlj
files).
needToBuild in interface Translatorstore - Storage element to check
public void setLog(Translator.Log log)
setLog in interface Translator
public void setParameter(java.lang.String name,
java.lang.String value)
setParameter in interface Translatorpublic void setProject(Project project)
setProject in interface Translatorpublic void updateProject(Project project)
updateProject in interface Translator
public static java.net.URL getURLFromClassName(Project prj,
java.lang.String className)
public int translate(Project prj,
boolean rebuild,
java.util.ArrayList sources,
java.util.ArrayList results)
translate in interface Translatorrebuild - -- if true will unconditinally rebuild all sourcessources - -- a ArrayList of one or more Storage instanceresults - -- a ArrayList of one or more Storage instance
public void initialize()
initialize in interface AddinAddinManagerpublic void shutdown()
shutdown in interface Addinpublic boolean canShutdown()
canShutdown in interface Addinpublic float version()
version in interface Addinpublic float ideVersion()
ideVersion in interface Addin
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.