org.esa.beam.visat.actions.session
Class Session

java.lang.Object
  extended by org.esa.beam.visat.actions.session.Session

public class Session
extends Object

Data container used for storing/restoring BEAM sessions.

Since:
BEAM 4.6
Version:
$Revision$ $Date$
Author:
Ralf Quast, Norman Fomferra

Nested Class Summary
static class Session.LayerRef
           
static interface Session.ProblemSolver
           
static class Session.ProductRef
           
static class Session.URIConverter
           
static class Session.URIConverterWrapper
           
static class Session.ViewportDef
           
static class Session.ViewRef
           
 
Field Summary
static String CURRENT_MODEL_VERSION
           
 
Constructor Summary
Session()
          No-arg constructor required by XStream.
Session(URI rootURI, Product[] products, ProductNodeView[] views)
           
 
Method Summary
 String getModelVersion()
           
 int getProductCount()
           
 Session.ProductRef getProductRef(int index)
           
static Container getRootPaneContainer(JComponent component)
           
 int getViewCount()
           
 Session.ViewRef getViewRef(int index)
           
 RestoredSession restore(AppContext appContext, URI rootURI, com.bc.ceres.core.ProgressMonitor pm, Session.ProblemSolver problemSolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_MODEL_VERSION

public static String CURRENT_MODEL_VERSION
Constructor Detail

Session

public Session()
No-arg constructor required by XStream.


Session

public Session(URI rootURI,
               Product[] products,
               ProductNodeView[] views)
Method Detail

getModelVersion

public String getModelVersion()

getProductCount

public int getProductCount()

getProductRef

public Session.ProductRef getProductRef(int index)

getViewCount

public int getViewCount()

getViewRef

public Session.ViewRef getViewRef(int index)

restore

public RestoredSession restore(AppContext appContext,
                               URI rootURI,
                               com.bc.ceres.core.ProgressMonitor pm,
                               Session.ProblemSolver problemSolver)
                        throws com.bc.ceres.core.CanceledException
Throws:
com.bc.ceres.core.CanceledException

getRootPaneContainer

public static Container getRootPaneContainer(JComponent component)


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