public abstract class AbstractParameterPage extends HaleWizardPage<AbstractGenericFunctionWizard<?,?>> implements ParameterPage
Constructor and Description |
---|
AbstractParameterPage(Function function,
String description)
Create a parameter page for the given function.
|
AbstractParameterPage(String pageName) |
AbstractParameterPage(String pageName,
String title,
org.eclipse.jface.resource.ImageDescriptor titleImage) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.ListMultimap<String,ParameterValue> |
getInitialValues()
Get the map of initial values for parameters.
|
protected ParameterValue |
getOptionalInitialValue(String parameterName,
ParameterValue def)
Get a single initial value for the given parameter.
|
protected com.google.common.collect.ImmutableMap<String,FunctionParameter> |
getParametersToHandle()
Get the parameters to handle by this parameter page.
|
void |
setParameter(Set<FunctionParameter> params,
com.google.common.collect.ListMultimap<String,ParameterValue> initialValues)
Sets the parameters this page is responsible for and their initial
values.
|
createContent, createControl, dispose, getHelpContext, getWizard, onShowPage, performHelp
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConfiguration
public AbstractParameterPage(String pageName)
public AbstractParameterPage(String pageName, String title, org.eclipse.jface.resource.ImageDescriptor titleImage)
public void setParameter(Set<FunctionParameter> params, com.google.common.collect.ListMultimap<String,ParameterValue> initialValues)
ParameterPage
setParameter
in interface ParameterPage
params
- the parameters this page is responsible forinitialValues
- initial values of those parameters, may be
null
, should not be changedParameterPage.setParameter(Set, ListMultimap)
protected com.google.common.collect.ListMultimap<String,ParameterValue> getInitialValues()
protected com.google.common.collect.ImmutableMap<String,FunctionParameter> getParametersToHandle()
protected ParameterValue getOptionalInitialValue(String parameterName, ParameterValue def)
parameterName
- the parameter namedef
- the default value to return if the value is not presentBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a