cfa.vo.iris.desktop
Class IrisWorkspace

java.lang.Object
  extended by cfa.vo.iris.desktop.IrisWorkspace
All Implemented Interfaces:
IWorkspace

public class IrisWorkspace
extends Object
implements IWorkspace

Author:
olaurino

Constructor Summary
IrisWorkspace()
           
 
Method Summary
 void addFrame(JInternalFrame frame)
          Add a frame to the workspace so that it can be managed by the underlying Desktop.
 JDesktopPane getDesktop()
          This method returns a reference to the actual desktop in which all the components live.
 JFileChooser getFileChooser()
          Get the value of fileChooser
 JFrame getRootFrame()
          When spawning new windows and frame the components usually need a reference to the application root frame.
 ISedManager getSedManager()
          SED objects are maintained by a centralized SED manager.
 void removeFrame(JInternalFrame frame)
          Remove an internal frame from the Desktop.
 void setDesktop(IrisDesktop mainView)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IrisWorkspace

public IrisWorkspace()
Method Detail

setDesktop

public void setDesktop(IrisDesktop mainView)

getSedManager

public ISedManager getSedManager()
Description copied from interface: IWorkspace
SED objects are maintained by a centralized SED manager. Components must refer to this manager to get an updated view of the SEDs opened by the user or to perform particular operations.

Specified by:
getSedManager in interface IWorkspace
Returns:
an ISedManager instance.

getRootFrame

public JFrame getRootFrame()
Description copied from interface: IWorkspace
When spawning new windows and frame the components usually need a reference to the application root frame.

Specified by:
getRootFrame in interface IWorkspace
Returns:
A reference to the main application frame.

getDesktop

public JDesktopPane getDesktop()
Description copied from interface: IWorkspace
This method returns a reference to the actual desktop in which all the components live.

Specified by:
getDesktop in interface IWorkspace
Returns:
A reference to the JDesktopPane included in this application.

getFileChooser

public JFileChooser getFileChooser()
Get the value of fileChooser

Specified by:
getFileChooser in interface IWorkspace
Returns:
the value of fileChooser

addFrame

public void addFrame(JInternalFrame frame)
Description copied from interface: IWorkspace
Add a frame to the workspace so that it can be managed by the underlying Desktop.

Specified by:
addFrame in interface IWorkspace
Parameters:
frame - The JInternalFrame that has to be managed by the Desktop.

removeFrame

public void removeFrame(JInternalFrame frame)
Description copied from interface: IWorkspace
Remove an internal frame from the Desktop.

Specified by:
removeFrame in interface IWorkspace
Parameters:
frame - The frame that must be dropped from the Desktop.


Copyright © 2013. All rights reserved.