| java.util.HashMap org.netbeans.modules.etl.ui.view.wizards.ETLWizardContext
ETLWizardContext | public class ETLWizardContext extends HashMap (Code) | | Provides a context for reading and storing intermediate values,
properties, etc., among components in a wizard.
|
Constructor Summary | |
public | ETLWizardContext() | public | ETLWizardContext(WizardDescriptor desc) Creates a new instance of ETLWizardContext containing the given WizardDescriptor as
a context object. |
WIZARD_DESCRIPTOR | final public static String WIZARD_DESCRIPTOR(Code) | | Default reserved key to reference wizard descriptor.
|
reservedKeys | protected List reservedKeys(Code) | | List of current reserved keys for this context.
|
ETLWizardContext | public ETLWizardContext()(Code) | | Creates a new instance of ETLWizardContext
|
ETLWizardContext | public ETLWizardContext(WizardDescriptor desc)(Code) | | Creates a new instance of ETLWizardContext containing the given WizardDescriptor as
a context object.
Parameters: desc - WizardDescriptor to be added to the context. |
clearProperty | public void clearProperty(String key)(Code) | | Sets the property associated with the given key. Supplying a null value for key, or
attempting to clear a property associated with a reserved key, results in an
IllegalArgumentException.
Parameters: key - key of property to be cleared |
clearWizardDescriptor | public void clearWizardDescriptor()(Code) | | Clears the current wizard descriptor instance, if any.
|
createReservedKeys | protected void createReservedKeys()(Code) | | Creates list of reserved keys associated with this context instance.
|
getProperty | public Object getProperty(String key)(Code) | | Gets the property, if any, associated with the given key.
Parameters: key - key of property to get associated property, or null if none exists |
getReservedKeys | public List getReservedKeys()(Code) | | Gets List of current reserved keys for this context.
List of reserved keys |
getSelectedOption | public Object getSelectedOption()(Code) | | Indicates the wizard option last selected by the user, provided a wizard descriptor
has been set in this context. If no wizard descriptor is set, throws
java.lang.IllegalStateException.
Object representing selected wizard option. See Also: org.openide.WizardDescriptor.PREVIOUS_OPTION See Also: org.openide.WizardDescriptor.NEXT_OPTION See Also: org.openide.WizardDescriptor.FINISH_OPTION See Also: org.openide.WizardDescriptor.CANCEL_OPTION See Also: org.openide.WizardDescriptor.CLOSED_OPTION |
getWizardDescriptor | public WizardDescriptor getWizardDescriptor()(Code) | | Gets wizard descriptor, if any, from this context.
WizardDescriptor instance, or null if not found. |
isReservedKey | public boolean isReservedKey(String key)(Code) | | Indicates whether the given string is a reserved key;
Parameters: key - String to be tested true if key is reserved; false otherwise |
setProperty | public void setProperty(String key, Object value)(Code) | | Sets the property associated with the given key. Null values for either argument
results in an IllegalArgumentException.
Parameters: key - key of property to be associated Parameters: value - property to be associated |
setWizardDescriptor | public void setWizardDescriptor(WizardDescriptor desc)(Code) | | Sets wizard descriptor in this context to the given instance.
Parameters: desc - WizardDescriptor instance to be set |
|
|