|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class should be used to display the graphical output of the running command.
the open
method is called to open the visualizer.
The implementing class must have a default constructor.
Nested Class Summary | |
static interface |
VcsCommandVisualizer.Wrapper
The wrapper of the visualizer. |
Method Summary | |
boolean |
doesDisplayError()
Whether this visualizer handles failed commands. |
void |
errOutputData(String[] data)
Receive the error data output of the visualized command. |
void |
errOutputLine(String line)
Receive a line of error output of the visualized command. |
boolean |
isOpened()
Tell, whether the visualizer is currently opened. |
void |
open(VcsCommandVisualizer.Wrapper wrapper)
Open the visualizer. |
boolean |
openAfterCommandFinish()
Tells when the open method should be called. |
void |
requestFocus()
Request the focus for this visualizer. |
void |
setExitStatus(int exit)
This method is called when the command finishes. |
void |
setOutputCollector(CommandOutputCollector outputCollector)
After instatiation this method is called with the collector of output, that can be used for various purposes in the visualizer. |
void |
setPossibleFileStatusInfoMap(Map infoMap)
After instatiation this method is called with the map of all possible file statuses. |
void |
setVcsTask(VcsDescribedTask task)
After instatiation this method is called with the task that should be visualized. |
void |
stdOutputData(String[] data)
Receive the data output of the visualized command. |
void |
stdOutputLine(String line)
Receive a line of standard output of the visualized command. |
Method Detail |
public void setVcsTask(VcsDescribedTask task)
public void setOutputCollector(CommandOutputCollector outputCollector)
public void setPossibleFileStatusInfoMap(Map infoMap)
FileStatusInfo
objects
as values.
public void setExitStatus(int exit)
exit
- the exit status of the command.public boolean openAfterCommandFinish()
open
method should be called.
public boolean doesDisplayError()
public void stdOutputLine(String line)
public void errOutputLine(String line)
public void stdOutputData(String[] data)
public void errOutputData(String[] data)
public void open(VcsCommandVisualizer.Wrapper wrapper)
wrapper
- The GUI wrapper or null
public boolean isOpened()
open()
should be called or not.
public void requestFocus()
TopComponent.requestFocus()
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |