|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.compare.view.BaseCompareView
oracle.javatools.compare.view.SequenceCompareView
oracle.javatools.compare.view.list.ListCompareView
public class ListCompareView
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class oracle.javatools.compare.view.SequenceCompareView |
|---|
SequenceCompareView.OverviewComponent, SequenceCompareView.OverviewComponentMouseHandler |
| Nested classes/interfaces inherited from class oracle.javatools.compare.view.BaseCompareView |
|---|
BaseCompareView.CentralGutterMouseHandler, BaseCompareView.ContributorBias, BaseCompareView.CustomFocusTraversalPolicy, BaseCompareView.PositionListener |
| Field Summary |
|---|
| Fields inherited from class oracle.javatools.compare.view.BaseCompareView |
|---|
_centerScrollPane, _centerTitle, _leftDiffGutter, _leftOverview, _leftScrollPane, _leftTitle, _rightDiffGutter, _rightOverview, _rightScrollPane, _rightTitle, GUI_VERTICAL_SCROLLBAR, GUI_VERTICAL_SPACER |
| Constructor Summary | |
|---|---|
ListCompareView()
|
|
ListCompareView(CompareMode compareMode)
|
|
| Method Summary | |
|---|---|
void |
addDefaultActionListener(java.awt.event.ActionListener l)
|
void |
addPopupManager(ComparePopupManager popupManager)
Add a popup manager to this view. |
protected boolean |
canReadElement(CompareDifference difference,
ContributorKind contributorKind)
|
protected boolean |
canWriteElement(CompareDifference difference,
ContributorKind contributorKind)
|
protected javax.swing.JScrollPane |
createHorizontalScrollPane(java.awt.Component view)
|
protected javax.swing.Action |
createInsertBlockAction(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind contributor,
ContributorKind adjacentContributor)
|
protected void |
createOverviews()
|
protected void |
deleteBlock(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind contributorKind)
Remove the specified difference block from the specified contributor. |
protected ContributorKind |
getCurrentContributorKind()
|
protected CompareDifference |
getCurrentDifference()
|
protected java.util.Iterator |
getDiffBlockIterator()
Get an iterator over the diff blocks in the model. |
protected java.awt.Component |
getFocusableCenterEditor()
|
java.awt.Component |
getFocusComponent()
|
protected CompareDifference |
getNextConflict()
|
protected CompareDifference |
getNextDifference()
|
protected java.awt.Color |
getOverviewDifferenceColor(oracle.javatools.compare.algorithm.sequence.SequenceCompareDifference differenceBlock,
boolean isLeft,
ContributorKind firstContributorKind,
ContributorKind secondContributorKind)
|
protected java.awt.Component |
getOverviewLeftEditor()
|
protected java.awt.Component |
getOverviewRightEditor()
|
protected CompareDifference |
getPreviousConflict()
|
protected CompareDifference |
getPreviousDifference()
|
java.lang.Object[] |
getSelectionForCompare()
|
protected int |
getVirtualHeightLines(ContributorKind contributor)
Get the virtual height of the compare view in lines. |
protected void |
goToDifference(CompareDifference difference,
boolean requestFocus)
|
protected void |
initializeView(CompareModel compareModel)
|
protected void |
insertBlockCopy(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind fromContributorKind,
ContributorKind toContributorKind)
Take a copy of the block from the specified contributor and insert it into the other contributor after the change. |
boolean |
isSelectionComparable()
|
protected boolean |
isViewFocusOwner()
|
void |
removeDefaultActionListener(java.awt.event.ActionListener l)
|
void |
removePopupManager(ComparePopupManager popupManager)
Remove a popup manager from this view. |
protected void |
replaceBlock(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind fromContributorKind,
ContributorKind toContributorKind)
Take a copy of the block from the specified contributor and replace the text of the adjacent contributor with the text. |
protected void |
updateModelImpl()
Reapplies the specified model to the view. |
protected void |
verticalScrollTo(int virtualLine)
|
| Methods inherited from class oracle.javatools.compare.view.SequenceCompareView |
|---|
createModel, getVirtualLineForReal, initializeOverview |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListCompareView()
public ListCompareView(CompareMode compareMode)
| Method Detail |
|---|
public java.awt.Component getFocusComponent()
getFocusComponent in class BaseCompareViewprotected void initializeView(CompareModel compareModel)
initializeView in class BaseCompareViewprotected void updateModelImpl()
BaseCompareView
updateModelImpl in class BaseCompareViewprotected java.awt.Component getOverviewLeftEditor()
getOverviewLeftEditor in class BaseCompareViewprotected java.awt.Component getOverviewRightEditor()
getOverviewRightEditor in class BaseCompareViewprotected java.awt.Component getFocusableCenterEditor()
getFocusableCenterEditor in class BaseCompareViewprotected javax.swing.JScrollPane createHorizontalScrollPane(java.awt.Component view)
createHorizontalScrollPane in class BaseCompareView
protected java.awt.Color getOverviewDifferenceColor(oracle.javatools.compare.algorithm.sequence.SequenceCompareDifference differenceBlock,
boolean isLeft,
ContributorKind firstContributorKind,
ContributorKind secondContributorKind)
getOverviewDifferenceColor in class SequenceCompareViewprotected int getVirtualHeightLines(ContributorKind contributor)
SequenceCompareView
getVirtualHeightLines in class SequenceCompareViewprotected void verticalScrollTo(int virtualLine)
verticalScrollTo in class BaseCompareViewprotected java.util.Iterator getDiffBlockIterator()
SequenceCompareView
getDiffBlockIterator in class SequenceCompareViewprotected CompareDifference getPreviousDifference()
getPreviousDifference in class BaseCompareViewprotected CompareDifference getNextDifference()
getNextDifference in class BaseCompareViewprotected CompareDifference getPreviousConflict()
getPreviousConflict in class BaseCompareViewprotected CompareDifference getNextConflict()
getNextConflict in class BaseCompareViewprotected CompareDifference getCurrentDifference()
getCurrentDifference in class BaseCompareViewprotected ContributorKind getCurrentContributorKind()
getCurrentContributorKind in class BaseCompareView
protected void goToDifference(CompareDifference difference,
boolean requestFocus)
goToDifference in class BaseCompareViewprotected boolean isViewFocusOwner()
isViewFocusOwner in class BaseCompareView
protected javax.swing.Action createInsertBlockAction(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind contributor,
ContributorKind adjacentContributor)
createInsertBlockAction in class BaseCompareView
protected void replaceBlock(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind fromContributorKind,
ContributorKind toContributorKind)
BaseCompareView
replaceBlock in class BaseCompareViewdifference - the block to changefromContributorKind - the contributor to copy fromtoContributorKind - the contributor whose block will be replaced.
protected void insertBlockCopy(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind fromContributorKind,
ContributorKind toContributorKind)
BaseCompareView
insertBlockCopy in class BaseCompareViewdifference - the block to copyfromContributorKind - the contributor to copy fromtoContributorKind - the contributor to copy to
protected void deleteBlock(oracle.javatools.compare.algorithm.BaseCompareDifference difference,
ContributorKind contributorKind)
BaseCompareView
deleteBlock in class BaseCompareViewdifference - the block to removecontributorKind - the contributor to remove the block frompublic void addPopupManager(ComparePopupManager popupManager)
ActionMenuView
addPopupManager in interface ActionMenuViewaddPopupManager in class BaseCompareViewpopupManager - the popup manager to attachpublic void removePopupManager(ComparePopupManager popupManager)
ActionMenuView
removePopupManager in interface ActionMenuViewremovePopupManager in class BaseCompareViewpopupManager - the popup manager to remove
protected boolean canReadElement(CompareDifference difference,
ContributorKind contributorKind)
canReadElement in class BaseCompareView
protected boolean canWriteElement(CompareDifference difference,
ContributorKind contributorKind)
canWriteElement in class BaseCompareViewpublic boolean isSelectionComparable()
public java.lang.Object[] getSelectionForCompare()
public void addDefaultActionListener(java.awt.event.ActionListener l)
public void removeDefaultActionListener(java.awt.event.ActionListener l)
protected void createOverviews()
createOverviews in class SequenceCompareView
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||