|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.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 BaseCompareView
protected void initializeView(CompareModel compareModel)
initializeView
in class BaseCompareView
protected void updateModelImpl()
BaseCompareView
updateModelImpl
in class BaseCompareView
protected java.awt.Component getOverviewLeftEditor()
getOverviewLeftEditor
in class BaseCompareView
protected java.awt.Component getOverviewRightEditor()
getOverviewRightEditor
in class BaseCompareView
protected java.awt.Component getFocusableCenterEditor()
getFocusableCenterEditor
in class BaseCompareView
protected 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 SequenceCompareView
protected int getVirtualHeightLines(ContributorKind contributor)
SequenceCompareView
getVirtualHeightLines
in class SequenceCompareView
protected void verticalScrollTo(int virtualLine)
verticalScrollTo
in class BaseCompareView
protected java.util.Iterator getDiffBlockIterator()
SequenceCompareView
getDiffBlockIterator
in class SequenceCompareView
protected CompareDifference getPreviousDifference()
getPreviousDifference
in class BaseCompareView
protected CompareDifference getNextDifference()
getNextDifference
in class BaseCompareView
protected CompareDifference getPreviousConflict()
getPreviousConflict
in class BaseCompareView
protected CompareDifference getNextConflict()
getNextConflict
in class BaseCompareView
protected CompareDifference getCurrentDifference()
getCurrentDifference
in class BaseCompareView
protected ContributorKind getCurrentContributorKind()
getCurrentContributorKind
in class BaseCompareView
protected void goToDifference(CompareDifference difference, boolean requestFocus)
goToDifference
in class BaseCompareView
protected 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 BaseCompareView
difference
- 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 BaseCompareView
difference
- the block to copyfromContributorKind
- the contributor to copy fromtoContributorKind
- the contributor to copy toprotected void deleteBlock(oracle.javatools.compare.algorithm.BaseCompareDifference difference, ContributorKind contributorKind)
BaseCompareView
deleteBlock
in class BaseCompareView
difference
- the block to removecontributorKind
- the contributor to remove the block frompublic void addPopupManager(ComparePopupManager popupManager)
ActionMenuView
addPopupManager
in interface ActionMenuView
addPopupManager
in class BaseCompareView
popupManager
- the popup manager to attachpublic void removePopupManager(ComparePopupManager popupManager)
ActionMenuView
removePopupManager
in interface ActionMenuView
removePopupManager
in class BaseCompareView
popupManager
- the popup manager to removeprotected boolean canReadElement(CompareDifference difference, ContributorKind contributorKind)
canReadElement
in class BaseCompareView
protected boolean canWriteElement(CompareDifference difference, ContributorKind contributorKind)
canWriteElement
in class BaseCompareView
public 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.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |