|
org.netbeans.modules.diff/1 1.15.31 42 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DiffView
Controller interface that allows external code to control the DIFF component.
Field Summary | |
---|---|
static String |
PROP_DIFF_COUNT
This property is fired when the difference count has changed. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a property change listener. |
boolean |
canSetCurrentDifference()
Test whether this view can change the current difference. |
Component |
getComponent()
Gets the visual DIFF component that modules can include in their GUI. |
int |
getCurrentDifference()
Get the current difference that is displayed in the view. |
int |
getDifferenceCount()
Gets the number of differences found in sources. |
JToolBar |
getToolBar()
Get a toolbar, that is adviced to be displayed together with the component obtained from getComponent() . |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a property change listener. |
void |
setCurrentDifference(int diffNo)
Instructs the DIFF view to navigate to the n-th difference. |
Field Detail |
---|
static final String PROP_DIFF_COUNT
Method Detail |
---|
Component getComponent()
int getDifferenceCount()
boolean canSetCurrentDifference()
void setCurrentDifference(int diffNo) throws UnsupportedOperationException
diffNo
- The difference number (-1 means hide current difference visualization)
UnsupportedOperationException
- iff canSetCurrentDifference()
returns false
.int getCurrentDifference() throws UnsupportedOperationException
UnsupportedOperationException
- iff canSetCurrentDifference()
returns false
.JToolBar getToolBar()
getComponent()
.
null
when no toolbar is provided by
this view.void addPropertyChangeListener(PropertyChangeListener l)
l
- The property change listenervoid removePropertyChangeListener(PropertyChangeListener l)
l
- The property change listener
|
org.netbeans.modules.diff/1 1.15.31 42 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |