|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.editor.EditorAddin oracle.jdevimpl.compare.BaseCompareAddin oracle.jdeveloper.merge.BaseMergeAddin oracle.jdeveloper.merge.AbstractMergeAddin
DynamicMergeAddin
@Deprecated public abstract class AbstractMergeAddin
Abstract class for a dynamically registered merge editor addin.
Field Summary |
---|
Fields inherited from class oracle.ide.editor.EditorAddin |
---|
ATTRIBUTE_NO_RECENT_FILE, ATTRIBUTE_RESTORABLE |
Constructor Summary | |
---|---|
protected |
AbstractMergeAddin()
Deprecated. Constructor. |
protected |
AbstractMergeAddin(java.lang.Class<? extends AbstractMergeEditor> editorClass)
Deprecated. Constructor. |
Method Summary | |
---|---|
void |
closeEditors()
Deprecated. Closes all merge editors of the type represented by this addin. |
float |
getEditorWeight(Element element)
Deprecated. This method is called by the EditorManager when a FlatEditorAddin is registered with EditorManager.registerDynamic(EditorAddin) and a new file is opened. |
boolean |
isEditorAvailable(Context context)
Deprecated. Asks whether the merge editor should be made available for the given context. |
protected boolean |
isEditorAvailable(Element element)
Deprecated. Asks whether the editor should be made available for the given Element . |
protected boolean |
isEditorAvailable(java.net.URL url)
Deprecated. Asks whether the editor should be made available for the given URL . |
Methods inherited from class oracle.jdeveloper.merge.BaseMergeAddin |
---|
getEditorClass, getMenuSpecification, getMergeEditorClass, isDefault, isDuplicable, restoreAtStartup |
Methods inherited from class oracle.jdevimpl.compare.BaseCompareAddin |
---|
addCompareToolbarActionsToPopup, gatherCompareDynamicActions |
Methods inherited from class oracle.ide.editor.EditorAddin |
---|
getAttribute, initialize, isMultifile |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractMergeAddin()
protected AbstractMergeAddin(java.lang.Class<? extends AbstractMergeEditor> editorClass)
editorClass
- the merge editor classMethod Detail |
---|
public float getEditorWeight(Element element)
EditorManager.registerDynamic(EditorAddin)
and a new file is opened.
The returned value is used to determine if an editor tab should be added and where it should be added.
Float.NaN
if it does not want to be exposed.
getEditorWeight
in class EditorAddin
element
-
public boolean isEditorAvailable(Context context)
isEditorAvailable(Element)
with the element
of the context.
context
- a given context.
true
if the merge editor should be made availabe.protected boolean isEditorAvailable(Element element)
Element
.
By default, we delegate to isEditorAvailable(URL)
.
element
- the element.
true
is the editor should be made available.protected boolean isEditorAvailable(java.net.URL url)
URL
.
By default, returns false
.
url
- the URL.
true
is the editor should be made available.public void closeEditors()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |