jsynoptic.plugins.merge.ui
Class MCWizardManager

java.lang.Object
  extended by simtools.ui.WizardManager
      extended by jsynoptic.plugins.merge.ui.MCWizardManager

public class MCWizardManager
extends WizardManager

Type
Summary:
A wizard dedicated to create asynchornous or asynchronous merge collections


Field Summary
protected  WizardPage addAsynchronousDataOption
           
protected  WizardPage addPage
           
protected  WizardPage addSynchronousDataOption
           
protected static java.lang.String COLLECTION_NAME
           
protected static java.lang.String COLLECTION_TIME_REFERENCE_IS_RELATIVE
           
protected static java.lang.String DATA_TO_MERGE
           
protected  java.text.SimpleDateFormat dateTimeFormatter
           
protected static java.lang.String INTERPOLATION_ORDER
           
protected static java.lang.String IS_ASYNCHRONOUS
           
protected  WizardPage namePage
           
protected  WizardPage namePageOption
           
protected  int numberOfAddedData
           
protected static java.lang.String REFERENCE_FOR_MERGED_TIME
           
protected  WizardPage terminatePage
           
protected static java.lang.String TIME_REFERENCE
           
protected static java.lang.String TIME_REFERENCE_INITIAL_DATE
           
protected static java.lang.String TIME_REFERENCE_IS_RELATIVE
           
protected static java.lang.String TIME_REFERENCE_OFFSET
           
 
Fields inherited from class simtools.ui.WizardManager
currentPage, pageHistory, settings, wizardObject
 
Constructor Summary
MCWizardManager()
           
 
Method Summary
 boolean canFinish()
          Method canFinish
Summary:
 boolean canNext()
          Method canFinish
Summary:
 java.awt.Dimension getMaximumnPageSize()
           
 java.lang.String[] getStepsTitles()
          Method getAllPagesTitle
Summary:
static void main(java.lang.String[] args)
           
protected  WizardPage next()
          Method getNextStep
Summary:
Compute next step in function of current state and settings
 java.lang.Object processFinish()
          Method processFinish
Summary:
Instantiate whatever object (if any) the wizard creates from its gathered data.
 void processToNextStep()
          Method processToNextStep
Summary:
Update setting and compute the next page to dispay
 void processToPreviousStep()
          Method processToPreviousStep
Summary:
get previous page, restore previous settings
 
Methods inherited from class simtools.ui.WizardManager
finish, getCurrentStep, getPreviousStep, getSettings, getWizardObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

namePage

protected WizardPage namePage

namePageOption

protected WizardPage namePageOption

addPage

protected WizardPage addPage

addSynchronousDataOption

protected WizardPage addSynchronousDataOption

addAsynchronousDataOption

protected WizardPage addAsynchronousDataOption

terminatePage

protected WizardPage terminatePage

COLLECTION_NAME

protected static final java.lang.String COLLECTION_NAME
See Also:
Constant Field Values

IS_ASYNCHRONOUS

protected static final java.lang.String IS_ASYNCHRONOUS
See Also:
Constant Field Values

COLLECTION_TIME_REFERENCE_IS_RELATIVE

protected static final java.lang.String COLLECTION_TIME_REFERENCE_IS_RELATIVE
See Also:
Constant Field Values

INTERPOLATION_ORDER

protected static final java.lang.String INTERPOLATION_ORDER
See Also:
Constant Field Values

DATA_TO_MERGE

protected static final java.lang.String DATA_TO_MERGE
See Also:
Constant Field Values

TIME_REFERENCE_OFFSET

protected static final java.lang.String TIME_REFERENCE_OFFSET
See Also:
Constant Field Values

TIME_REFERENCE

protected static final java.lang.String TIME_REFERENCE
See Also:
Constant Field Values

TIME_REFERENCE_IS_RELATIVE

protected static final java.lang.String TIME_REFERENCE_IS_RELATIVE
See Also:
Constant Field Values

TIME_REFERENCE_INITIAL_DATE

protected static final java.lang.String TIME_REFERENCE_INITIAL_DATE
See Also:
Constant Field Values

REFERENCE_FOR_MERGED_TIME

protected static final java.lang.String REFERENCE_FOR_MERGED_TIME
See Also:
Constant Field Values

numberOfAddedData

protected int numberOfAddedData

dateTimeFormatter

protected java.text.SimpleDateFormat dateTimeFormatter
Constructor Detail

MCWizardManager

public MCWizardManager()
Method Detail

getMaximumnPageSize

public java.awt.Dimension getMaximumnPageSize()
Overrides:
getMaximumnPageSize in class WizardManager
Returns:
the maximumn size to allocate for pages in wizard displayer

getStepsTitles

public java.lang.String[] getStepsTitles()
Description copied from class: WizardManager
Method getAllPagesTitle
Summary:

Specified by:
getStepsTitles in class WizardManager
Returns:
(String[]) A list of pages titles that describes the differents steps to terminate the wizart.

canNext

public boolean canNext()
Description copied from class: WizardManager
Method canFinish
Summary:

Specified by:
canNext in class WizardManager
Returns:
(boolean) Return true if a next step is available

next

protected WizardPage next()
Description copied from class: WizardManager
Method getNextStep
Summary:
Compute next step in function of current state and settings

Specified by:
next in class WizardManager
Returns:
(WizardPage) the next page.

canFinish

public boolean canFinish()
Description copied from class: WizardManager
Method canFinish
Summary:

Specified by:
canFinish in class WizardManager
Returns:
(boolean) Return true if wizard process can terminate

processFinish

public java.lang.Object processFinish()
Description copied from class: WizardManager
Method processFinish
Summary:
Instantiate whatever object (if any) the wizard creates from its gathered data.

Specified by:
processFinish in class WizardManager
Returns:
(Object) An object composed based on what the user entered in the wizard. Return null if production cannot be accomplished

processToNextStep

public void processToNextStep()
Description copied from class: WizardManager
Method processToNextStep
Summary:
Update setting and compute the next page to dispay

Overrides:
processToNextStep in class WizardManager

processToPreviousStep

public void processToPreviousStep()
Description copied from class: WizardManager
Method processToPreviousStep
Summary:
get previous page, restore previous settings

Overrides:
processToPreviousStep in class WizardManager

main

public static void main(java.lang.String[] args)