|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.view.View
oracle.ide.editor.Editor
oracle.jdevimpl.compare.BaseCompareEditor
oracle.jdeveloper.merge.AbstractMergeEditor
oracle.jdeveloper.merge.TextMergeEditor
public class TextMergeEditor
Textual merge editor specialization class.
Field Summary |
---|
Fields inherited from class oracle.ide.view.View |
---|
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP |
Constructor Summary | |
---|---|
TextMergeEditor() |
Method Summary | |
---|---|
void |
close() |
protected Command |
createEditCommand(ViewEdit viewEdit) |
protected java.lang.String |
createFirstContributorLabelSS() |
protected CompareModel |
createMergeModelImpl(Context context) Creates a merge compare model, based on the current editor context (implementor). |
protected CompareModel |
createMergeModelSS(Context context) |
protected oracle.javatools.compare.algorithm.sequence.SequenceCompareModel |
createTextMergeModel(Context context) Deprecated. override createMergeModelSS(oracle.ide.Context) or createMergeModelCS(oracle.ide.Context) instead. |
protected void |
deinstallUndoableEditListener() De-installs view-specific undoable edit listeners. |
protected java.lang.Class |
getAnnotationClassSS() |
protected boolean |
getClientSideMergeSetting() |
protected oracle.ide.diffmerge.diff3.Diff3Model |
getDiff3Model() |
protected TextMergeNode |
getTextMergeNode() Gets the text merge node representing ancestor / result data. |
java.lang.String |
getToolTipText(ContributorKind contributorKind, CompareDifference difference) |
protected void |
initializeMergeView(CompareView mergeView) Intializes the merge compare view. |
protected void |
installUndoableEditListener() Installs view-specific undoable edit listeners. |
protected boolean |
restartMergeImpl(Context context) Restarts the merge task, without user confirmation (implementor). |
protected boolean |
saveMergeImpl(Context context, CompareModel compareModel) Saves the merge results, without user confirmation (implementor). |
protected boolean |
saveTextMerge(Context context, oracle.javatools.compare.algorithm.sequence.SequenceCompareModel textMergeModel) Deprecated. override AbstractMergeEditor.saveMergeImpl() instead. |
protected void |
setTextMergeNode(TextMergeNode textMergeNode) Sets the text merge node representing ancestor / result data. |
protected boolean |
validateContent(CompareModel model) Validate the content of the merged result. |
Methods inherited from class oracle.jdevimpl.compare.BaseCompareEditor |
---|
augmentToolbarComponents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TextMergeEditor()
Method Detail |
---|
protected oracle.ide.diffmerge.diff3.Diff3Model getDiff3Model()
protected void initializeMergeView(CompareView mergeView)
AbstractMergeEditor
initializeMergeView
in class AbstractMergeEditor
mergeView
- the merge compare view.protected java.lang.Class getAnnotationClassSS()
protected java.lang.String createFirstContributorLabelSS()
public java.lang.String getToolTipText(ContributorKind contributorKind, CompareDifference difference)
getToolTipText
in interface CompareToolTipProvider
public void close()
AbstractMergeEditor
close
in class AbstractMergeEditor
protected boolean validateContent(CompareModel model) throws java.io.IOException
AbstractMergeEditor
validateContent
in class AbstractMergeEditor
java.io.IOException
protected void installUndoableEditListener()
ViewEditListener
to the view.installUndoableEditListener
in class AbstractMergeEditor
protected void deinstallUndoableEditListener()
ViewEditListener
from the view.deinstallUndoableEditListener
in class AbstractMergeEditor
protected CompareModel createMergeModelImpl(Context context)
createMergeModelImpl
in class AbstractMergeEditor
context
- the current context.CompareModel
.protected boolean restartMergeImpl(Context context) throws java.io.IOException
restartMergeImpl
in class AbstractMergeEditor
context
- the current context.true
if the restart succeeded.java.io.IOException
- if an I/O exception occurred restarting the merge task.protected boolean saveMergeImpl(Context context, CompareModel compareModel) throws java.io.IOException
saveMergeImpl
in class AbstractMergeEditor
context
- the current context.compareModel
- the merge compare model of the view.true
if the save succeeded.java.io.IOException
- if an I/O exception occurred saving merge results.protected boolean saveTextMerge(Context context, oracle.javatools.compare.algorithm.sequence.SequenceCompareModel textMergeModel) throws java.io.IOException
AbstractMergeEditor.saveMergeImpl()
instead.context
- the current context.textMergeModel
- the text merge compare model of the view.true
if the save succeeded.java.io.IOException
- if an I/O exception occurred saving merge results.protected Command createEditCommand(ViewEdit viewEdit)
createEditCommand
in class AbstractMergeEditor
protected boolean getClientSideMergeSetting()
getClientSideMergeSetting
in class AbstractMergeEditor
protected oracle.javatools.compare.algorithm.sequence.SequenceCompareModel createTextMergeModel(Context context) throws java.io.IOException
createMergeModelSS(oracle.ide.Context)
or createMergeModelCS(oracle.ide.Context)
instead.setTextMergeNode(oracle.jdeveloper.merge.TextMergeNode)
method during the execution of this method.context
- the current context.CompareModel
.java.io.IOException
protected CompareModel createMergeModelSS(Context context) throws java.io.IOException
java.io.IOException
protected void setTextMergeNode(TextMergeNode textMergeNode)
textMergeNode
- the TextMergeNode
.protected TextMergeNode getTextMergeNode()
createTextMergeModel(oracle.ide.Context)
method.TextMergeNode
.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |