com.intel.gpe.client2.gridbeans
Class GridBeanInputPanel

java.lang.Object
  extended by com.intel.gpe.client2.gridbeans.GridBeanInputPanel

public abstract class GridBeanInputPanel
extends java.lang.Object

The GPE internal class that wraps the input panels of the GridBean plugin. The input panels of the GridBean plugin are pasted into the tabbed pane.

Version:
$Id: GridBeanInputPanel.java,v 1.1 2006/04/14 12:21:21 lukichev Exp $
Author:
Alexander Lukichev

Constructor Summary
GridBeanInputPanel()
           
 
Method Summary
 GridBeanJob getJob()
          Get the job currently associated with the plugin.
protected abstract  IGridBeanPlugin getPlugin()
           
 void load(GridBeanJob job, Client client)
          Load the data from the job to the graphical components
 void setEnabled(javax.xml.namespace.QName key, boolean enabled)
          Control the enabled state of a particular graphical component.
 void store(GridBeanJob job)
          Store the data from the graphical components to the job object
 void validate(ErrorSet errors)
          Validate the input data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBeanInputPanel

public GridBeanInputPanel()
Method Detail

getPlugin

protected abstract IGridBeanPlugin getPlugin()

load

public void load(GridBeanJob job,
                 Client client)
          throws DataSetException,
                 TranslationException
Load the data from the job to the graphical components

Parameters:
job - The job wrapper
client - The client object
Throws:
DataSetException
TranslationException

store

public void store(GridBeanJob job)
           throws DataSetException,
                  TranslationException
Store the data from the graphical components to the job object

Parameters:
job - The job wrapper
Throws:
DataSetException
TranslationException

getJob

public GridBeanJob getJob()
Get the job currently associated with the plugin.

Returns:
The job currently associated with the plugin

validate

public void validate(ErrorSet errors)
Validate the input data.

Parameters:
errors - The error set to be updated with the validation information

setEnabled

public void setEnabled(javax.xml.namespace.QName key,
                       boolean enabled)
                throws DataSetException
Control the enabled state of a particular graphical component.

Parameters:
key - The name of the component
enabled - The state of the component
Throws:
DataSetException


Copyright © 2008. All Rights Reserved.