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 classSession.LayerRefstatic interfaceSession.ProblemSolverstatic classSession.ProductRefstatic classSession.URIConverterstatic classSession.URIConverterWrapperstatic classSession.ViewportDefstatic classSession.ViewRef
-
Field Summary
Fields Modifier and Type Field Description static StringCURRENT_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 StringgetModelVersion()intgetProductCount()Session.ProductRefgetProductRef(int index)static ContainergetRootPaneContainer(JComponent component)intgetViewCount()Session.ViewRefgetViewRef(int index)RestoredSessionrestore(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)
-
-