Class DisplayOpenManager

java.lang.Object
org.csstudio.opibuilder.runmode.DisplayOpenManager

public class DisplayOpenManager extends Object
A manager help to manage the display open history and provide go back and forward functions.
  • Constructor Details

    • DisplayOpenManager

      public DisplayOpenManager(IOPIRuntime opiRuntime)
  • Method Details

    • openNewDisplay

      public void openNewDisplay()
    • goBack

      public void goBack()
    • goForward

      public void goForward()
    • goBack

      public void goBack(int index)
    • goForward

      public void goForward(int index)
    • addListener

      public void addListener(IDisplayOpenManagerListener listener)
    • removeListener

      public boolean removeListener(IDisplayOpenManagerListener listener)
    • canBackward

      public boolean canBackward()
    • canForward

      public boolean canForward()
    • getBackStackEntries

      public Object[] getBackStackEntries()
      Return an array of all elements in the backward stack. The oldest element is the first element of the returned array.
      Returns:
      the array contained all elements in the stack.
    • getForwardStackEntries

      public Object[] getForwardStackEntries()
      Return an array of all elements in the forward stack. The oldest element is the first element of the returned array.
      Returns:
      the array contained all elements in the stack.
    • dispose

      public void dispose()
      Dispose of all resources allocated by this manager.