|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.openide.windows.TopComponent
org.netbeans.modules.vcscore.commands.CommandOutputVisualizer
The default visualizer of command output.
| Nested Class Summary | |
static class |
CommandOutputVisualizer.CommandKillListener
|
| Nested classes inherited from class org.openide.windows.TopComponent |
TopComponent.Cloneable, TopComponent.NodeName, TopComponent.Registry |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Nested classes inherited from class org.netbeans.modules.vcscore.commands.VcsCommandVisualizer |
VcsCommandVisualizer.Wrapper |
| Field Summary |
| Fields inherited from class org.openide.windows.TopComponent |
CLOSE_EACH, CLOSE_LAST, PERSISTENCE_ALWAYS, PERSISTENCE_NEVER, PERSISTENCE_ONLY_OPENED |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
CommandOutputVisualizer()
|
|
CommandOutputVisualizer(ActionListener killListener,
String execString,
String name)
|
|
| Method Summary | |
void |
addCloseListener(TopComponentCloseListener l)
|
boolean |
canClose(Workspace workspace,
boolean last)
Override for clean up reasons. |
protected void |
componentActivated()
|
protected void |
componentDeactivated()
|
protected OutputPanel |
createOutputPanel()
|
boolean |
doesDisplayError()
Whether this visualizer handles failed commands. |
void |
errOutputData(String[] data)
Receive the error data output. |
void |
errOutputLine(String line)
Receive a line of error output. |
int |
getPersistenceType()
|
void |
open()
Open the component on the given workspace. |
void |
open(VcsCommandVisualizer.Wrapper wrapper)
Open the visualizer. |
boolean |
openAfterCommandFinish()
Tells when the open method should be called. |
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. |
void |
stdOutputLine(String line)
Receive a line of standard output. |
protected Object |
writeReplace()
Disable serialization. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.netbeans.modules.vcscore.commands.VcsCommandVisualizer |
isOpened, requestFocus |
| Constructor Detail |
public CommandOutputVisualizer()
public CommandOutputVisualizer(ActionListener killListener, String execString, String name)
| Method Detail |
public int getPersistenceType()
protected OutputPanel createOutputPanel()
public void setVcsTask(VcsDescribedTask task)
VcsCommandVisualizer
setVcsTask in interface VcsCommandVisualizerpublic void setOutputCollector(CommandOutputCollector outputCollector)
VcsCommandVisualizer
setOutputCollector in interface VcsCommandVisualizerpublic void setPossibleFileStatusInfoMap(Map infoMap)
VcsCommandVisualizerFileStatusInfo objects
as values.
setPossibleFileStatusInfoMap in interface VcsCommandVisualizerpublic boolean doesDisplayError()
VcsCommandVisualizer
doesDisplayError in interface VcsCommandVisualizerpublic boolean openAfterCommandFinish()
VcsCommandVisualizeropen method should be called.
openAfterCommandFinish in interface VcsCommandVisualizerpublic void open(VcsCommandVisualizer.Wrapper wrapper)
VcsCommandVisualizer
open in interface VcsCommandVisualizerwrapper - The GUI wrapper or nullpublic void open()
protected void componentActivated()
protected void componentDeactivated()
protected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic void stdOutputLine(String line)
stdOutputLine in interface VcsCommandVisualizerpublic void errOutputLine(String line)
errOutputLine in interface VcsCommandVisualizerpublic void stdOutputData(String[] data)
stdOutputData in interface VcsCommandVisualizerpublic void errOutputData(String[] data)
errOutputData in interface VcsCommandVisualizerpublic void setExitStatus(int exit)
VcsCommandVisualizer
setExitStatus in interface VcsCommandVisualizerexit - the exit status of the command.public void addCloseListener(TopComponentCloseListener l)
public boolean canClose(Workspace workspace, boolean last)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||