Package org.esa.snap.rcp.session
Class Session
- java.lang.Object
-
- org.esa.snap.rcp.session.Session
-
public class Session extends Object
Data container used for storing/restoring BEAM sessions.- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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
Fields Modifier and Type Field Description static String
CURRENT_MODEL_VERSION
-
Constructor Summary
Constructors Constructor Description Session()
No-arg constructor required by XStream.Session(URI rootURI, Product[] products, ProductNodeView[] views)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, ProgressMonitor pm, Session.ProblemSolver problemSolver)
-
-
-
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, ProgressMonitor pm, Session.ProblemSolver problemSolver) throws CanceledException
- Throws:
CanceledException
-
getRootPaneContainer
public static Container getRootPaneContainer(JComponent component)
-
-