org.esa.beam.visat
Class VisatApplicationPage

java.lang.Object
  extended by org.esa.beam.framework.ui.application.support.AbstractControlFactory
      extended by org.esa.beam.framework.ui.application.support.AbstractApplicationPage
          extended by org.esa.beam.visat.VisatApplicationPage
All Implemented Interfaces:
ApplicationPage, ControlFactory, PageComponentService

public class VisatApplicationPage
extends AbstractApplicationPage


Constructor Summary
VisatApplicationPage(Window window, CommandManager commandManager, com.bc.ceres.swing.selection.SelectionManager selectionManager, com.jidesoft.docking.DockingManager dockingManager, com.bc.swing.desktop.TabbedDesktopPane documentPane)
           
 
Method Summary
protected  JComponent createControl()
           
protected  PageComponentPane createToolViewPane(ToolView toolView)
           
protected  void doAddToolView(ToolView toolView)
          This method must add the given tool view in the UI.
protected  void doHideToolView(ToolView toolView)
          This method must hide the given tool view in the UI.
protected  void doRemoveToolView(ToolView toolView)
          This method must remove the given tool view from the UI.
protected  void doShowToolView(ToolView toolView)
          This method must show the given tool view in the UI.
 CommandManager getCommandManager()
           
 com.bc.ceres.swing.selection.SelectionManager getSelectionManager()
           
 ToolViewDescriptor getToolViewDescriptor(String id)
           
 Window getWindow()
           
protected  boolean giveFocusTo(PageComponent pageComponent)
          This method must transfer the focus to the given PageComponent.
protected  void setActiveComponent()
          Set the active page component by determing it.
 
Methods inherited from class org.esa.beam.framework.ui.application.support.AbstractApplicationPage
addPageComponentListener, addToolView, close, close, closeAllDocViews, createToolView, fireClosed, fireFocusGained, fireFocusLost, fireHidden, fireOpened, fireShown, getActiveComponent, getPageComponent, getToolView, getToolViews, hideToolView, openDocView, pageComponentChanged, removePageComponentListener, setActiveComponent, showToolView, showToolView
 
Methods inherited from class org.esa.beam.framework.ui.application.support.AbstractControlFactory
createControlIfNecessary, getControl, isControlCreated, isSingleton, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.esa.beam.framework.ui.application.ControlFactory
getControl
 

Constructor Detail

VisatApplicationPage

public VisatApplicationPage(Window window,
                            CommandManager commandManager,
                            com.bc.ceres.swing.selection.SelectionManager selectionManager,
                            com.jidesoft.docking.DockingManager dockingManager,
                            com.bc.swing.desktop.TabbedDesktopPane documentPane)
Method Detail

getWindow

public Window getWindow()

getCommandManager

public CommandManager getCommandManager()

getSelectionManager

public com.bc.ceres.swing.selection.SelectionManager getSelectionManager()

getToolViewDescriptor

public ToolViewDescriptor getToolViewDescriptor(String id)
Specified by:
getToolViewDescriptor in class AbstractApplicationPage

doAddToolView

protected void doAddToolView(ToolView toolView)
Description copied from class: AbstractApplicationPage
This method must add the given tool view in the UI.

Implementors may choose to add the tool view's control directly, or add the tool view's control.

Specified by:
doAddToolView in class AbstractApplicationPage
Parameters:
toolView - the tool view

doRemoveToolView

protected void doRemoveToolView(ToolView toolView)
Description copied from class: AbstractApplicationPage
This method must remove the given tool view from the UI.

Specified by:
doRemoveToolView in class AbstractApplicationPage
Parameters:
toolView - the tool view

doShowToolView

protected void doShowToolView(ToolView toolView)
Description copied from class: AbstractApplicationPage
This method must show the given tool view in the UI.

Specified by:
doShowToolView in class AbstractApplicationPage
Parameters:
toolView - the tool view

doHideToolView

protected void doHideToolView(ToolView toolView)
Description copied from class: AbstractApplicationPage
This method must hide the given tool view in the UI.

Specified by:
doHideToolView in class AbstractApplicationPage
Parameters:
toolView - the tool view

giveFocusTo

protected boolean giveFocusTo(PageComponent pageComponent)
Description copied from class: AbstractApplicationPage
This method must transfer the focus to the given PageComponent. This could involve making an internal frame visible, selecting a tab in a tabbed pane, ...

Specified by:
giveFocusTo in class AbstractApplicationPage
Parameters:
pageComponent - the PageComponent
Returns:
true if the operation was successful, false otherwise

createToolViewPane

protected PageComponentPane createToolViewPane(ToolView toolView)
Specified by:
createToolViewPane in class AbstractApplicationPage

createControl

protected JComponent createControl()
Specified by:
createControl in class AbstractControlFactory

setActiveComponent

protected void setActiveComponent()
Description copied from class: AbstractApplicationPage
Set the active page component by determing it. This is usually achieved by asking the component manager used in a concrete application page for its activated component. For example, if the component manager is a JDesktopPane, the active component is determined by its active JInternalFrame.

Specified by:
setActiveComponent in class AbstractApplicationPage


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.