org.knime.base.node.util.exttool
Class ViewUpdateNotice

java.lang.Object
  extended by org.knime.base.node.util.exttool.ViewUpdateNotice

public class ViewUpdateNotice
extends Object

Object sent to the node views to notify them about a new line that should be displayed. Views should copy the line as it will be overridden next time around.
A flag indicates whether this is for the standard out or standard err view.

Author:
ohl, University of Konstanz

Nested Class Summary
(package private) static class ViewUpdateNotice.ViewType
          the different types of view reacting to update notifications.
 
Field Summary
 ViewUpdateNotice.ViewType TYPE
          the type of view that should listen to this notification.
 
Constructor Summary
ViewUpdateNotice(ViewUpdateNotice.ViewType type)
          Creates a new notification object for the specified view type.
 
Method Summary
 String getNewLine()
           
 void setNewLine(String line)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public final ViewUpdateNotice.ViewType TYPE
the type of view that should listen to this notification.

Constructor Detail

ViewUpdateNotice

ViewUpdateNotice(ViewUpdateNotice.ViewType type)
Creates a new notification object for the specified view type.

Parameters:
type - the type of view that should listen to this notification.
Method Detail

getNewLine

public String getNewLine()
Returns:
the new line to add to the view

setNewLine

public void setNewLine(String line)
Parameters:
line - the new line to transfer to the views

toString

public String toString()

Overrides:
toString in class Object


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.