org.globus.cog.gui.grapheditor.canvas
Class ForwardingStatusManager

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.canvas.ForwardingStatusManager
All Implemented Interfaces:
StatusManager

public class ForwardingStatusManager
extends Object
implements StatusManager


Field Summary
 
Fields inherited from interface org.globus.cog.gui.grapheditor.canvas.StatusManager
BUSY_ICON
 
Constructor Summary
ForwardingStatusManager(GraphCanvas canvas)
           
 
Method Summary
 void error(String message, Exception details)
           
 void initializeProgress(int size)
          Initializes (starts displaying) a progress indicator, for which the maximum value is size
 void pop()
          Pops a status message from the stack
 void push(String msg)
          Pushes a message on the top of the stack
 void push(String msg, Icon icon)
          Pushes a message on the top of the stack, together with an icon
 void removeProgress()
          Removes the progress indicator.
 void setDefaultText(String text)
          Sets the text displayed when there's nothing else to display This may or may not make sense, depending on the target
 void setProgress(int size)
          Sets the value of the progress indicator.
 void stepProgress()
          Increases the value that the progress indicator represents
 void warning(String message, Exception details)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardingStatusManager

public ForwardingStatusManager(GraphCanvas canvas)
Method Detail

setDefaultText

public void setDefaultText(String text)
Description copied from interface: StatusManager
Sets the text displayed when there's nothing else to display This may or may not make sense, depending on the target

Specified by:
setDefaultText in interface StatusManager

push

public void push(String msg)
Description copied from interface: StatusManager
Pushes a message on the top of the stack

Specified by:
push in interface StatusManager

push

public void push(String msg,
                 Icon icon)
Description copied from interface: StatusManager
Pushes a message on the top of the stack, together with an icon

Specified by:
push in interface StatusManager

pop

public void pop()
Description copied from interface: StatusManager
Pops a status message from the stack

Specified by:
pop in interface StatusManager

initializeProgress

public void initializeProgress(int size)
Description copied from interface: StatusManager
Initializes (starts displaying) a progress indicator, for which the maximum value is size

Specified by:
initializeProgress in interface StatusManager

setProgress

public void setProgress(int size)
Description copied from interface: StatusManager
Sets the value of the progress indicator. The value is relative to the one specified initially.

Specified by:
setProgress in interface StatusManager

stepProgress

public void stepProgress()
Description copied from interface: StatusManager
Increases the value that the progress indicator represents

Specified by:
stepProgress in interface StatusManager

removeProgress

public void removeProgress()
Description copied from interface: StatusManager
Removes the progress indicator. In other words, it signifies to the manager that the operation for which the progress indicator was used has completed.

Specified by:
removeProgress in interface StatusManager

error

public void error(String message,
                  Exception details)
Specified by:
error in interface StatusManager

warning

public void warning(String message,
                    Exception details)
Specified by:
warning in interface StatusManager