org.cagrid.grape
Class ApplicationContext

java.lang.Object
  extended by org.cagrid.grape.ApplicationContext

public class ApplicationContext
extends java.lang.Object

Version:
$Id: ArgumentManagerTable.java,v 1.2 2004/10/15 16:35:16 langella Exp $
Author:
Stephen Langella , Scott Oster , Shannon Hastings

Constructor Summary
ApplicationContext(GridApplication application)
           
ApplicationContext(GridApplication application, Component component)
           
 
Method Summary
 void addApplicationComponent(ApplicationComponent comp)
           
 void addApplicationComponent(ApplicationComponent comp, Dimensions dim)
           
 void addApplicationComponent(ApplicationComponent comp, Dimensions dim, RenderOptions options)
           
 void addApplicationComponent(ApplicationComponent comp, int width, int height)
           
 void centerComponent(javax.swing.JComponent comp)
           
 void centerDialog(javax.swing.JDialog dialog)
           
 void centerWindow(java.awt.Window comp)
           
 void execute(Runner r)
           
 void execute(RunnerGroup grp)
           
 void executeInBackground(Runner r)
           
 void executeInBackground(RunnerGroup grp)
           
 GridApplication getApplication()
           
 Component getComponent()
           
 ConfigurationManager getConfigurationManager()
           
 void showDialog(javax.swing.JDialog dialog)
           
 void showMessage(java.lang.String msg)
           
 void showMessage(java.lang.String[] msg)
           
 void showMessage(java.lang.String title, java.lang.String msg)
           
 void showMessage(java.lang.String title, java.lang.String[] msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationContext

public ApplicationContext(GridApplication application)

ApplicationContext

public ApplicationContext(GridApplication application,
                          Component component)
Method Detail

getComponent

public Component getComponent()

getApplication

public GridApplication getApplication()

addApplicationComponent

public void addApplicationComponent(ApplicationComponent comp,
                                    Dimensions dim,
                                    RenderOptions options)

addApplicationComponent

public void addApplicationComponent(ApplicationComponent comp,
                                    Dimensions dim)

addApplicationComponent

public void addApplicationComponent(ApplicationComponent comp,
                                    int width,
                                    int height)

addApplicationComponent

public void addApplicationComponent(ApplicationComponent comp)

getConfigurationManager

public ConfigurationManager getConfigurationManager()

executeInBackground

public void executeInBackground(Runner r)
                         throws java.lang.Exception
Throws:
java.lang.Exception

executeInBackground

public void executeInBackground(RunnerGroup grp)
                         throws java.lang.Exception
Throws:
java.lang.Exception

execute

public void execute(Runner r)
             throws java.lang.Exception
Throws:
java.lang.Exception

execute

public void execute(RunnerGroup grp)
             throws java.lang.Exception
Throws:
java.lang.Exception

centerComponent

public void centerComponent(javax.swing.JComponent comp)

centerWindow

public void centerWindow(java.awt.Window comp)

showMessage

public void showMessage(java.lang.String msg)

showMessage

public void showMessage(java.lang.String[] msg)

showMessage

public void showMessage(java.lang.String title,
                        java.lang.String msg)

showMessage

public void showMessage(java.lang.String title,
                        java.lang.String[] msg)

showDialog

public void showDialog(javax.swing.JDialog dialog)

centerDialog

public void centerDialog(javax.swing.JDialog dialog)