|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.model.DocumentRecognizer
The DocumentRecognizer
class responsible for defining
the context menu items for the creation of projects and workspaces.
In addition, this class also maps extensions to node types.
oracle.ide.model.Addin
Constructor Summary | |
DocumentRecognizer()
|
Method Summary | |
boolean |
canShutdown()
This method is called by the IDE to confirm that the ide can shutdown. |
boolean |
handleDefaultAction(Context context)
Called when the user double clicks on an item that has a popup menu |
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. |
static boolean |
isSystemFile(java.net.URL url)
|
void |
poppingDown(ContextMenu popup)
|
void |
poppingUp(ContextMenu popup)
Called just before the context menu is popping up. |
protected URLFilter |
registerFilter(java.lang.String description,
java.lang.String extension)
|
protected void |
registerPreferencesPanels()
|
protected void |
registerRecognizerExtensions()
|
protected void |
registerTaggedFileConvertors()
|
protected void |
registerURLFilters()
|
void |
shutdown()
This method is called by the IDE to request that the feature release any resources held before the ide shuts down. |
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 DocumentRecognizer()
Method Detail |
public void initialize()
initialize
in interface Addin
AddinManager
public void shutdown()
shutdown
in interface Addin
public boolean canShutdown()
canShutdown
in interface Addin
public float version()
version
in interface Addin
public float ideVersion()
ideVersion
in interface Addin
public void poppingUp(ContextMenu popup)
poppingUp
in interface ContextMenuListener
public void poppingDown(ContextMenu popup)
poppingDown
in interface ContextMenuListener
public boolean handleDefaultAction(Context context)
handleDefaultAction
in interface ContextMenuListener
context
- the current contextpublic static boolean isSystemFile(java.net.URL url)
protected void registerRecognizerExtensions()
protected void registerURLFilters()
protected URLFilter registerFilter(java.lang.String description, java.lang.String extension)
protected void registerTaggedFileConvertors()
protected void registerPreferencesPanels()
|
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.