public class ParametersEditor extends Object implements net.sf.okapi.common.IParametersEditor, ISWTEmbeddableParametersEditor
| Constructor and Description |
|---|
ParametersEditor()
Creates an editor (with step mode on).
|
ParametersEditor(boolean stepMode)
Creates an editor with the given step mode.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.okapi.common.IParameters |
createParameters() |
boolean |
edit(net.sf.okapi.common.IParameters params,
boolean readOnly,
net.sf.okapi.common.IContext context) |
org.eclipse.swt.widgets.Composite |
getComposite() |
void |
initializeEmbeddableEditor(org.eclipse.swt.widgets.Composite parent,
net.sf.okapi.common.IParameters paramsObject,
net.sf.okapi.common.IContext context) |
String |
validateAndSaveParameters() |
public ParametersEditor()
public ParametersEditor(boolean stepMode)
stepMode - true to display the step-specific options.public boolean edit(net.sf.okapi.common.IParameters params,
boolean readOnly,
net.sf.okapi.common.IContext context)
edit in interface net.sf.okapi.common.IParametersEditorpublic net.sf.okapi.common.IParameters createParameters()
createParameters in interface net.sf.okapi.common.IParametersEditorpublic org.eclipse.swt.widgets.Composite getComposite()
getComposite in interface ISWTEmbeddableParametersEditorpublic void initializeEmbeddableEditor(org.eclipse.swt.widgets.Composite parent,
net.sf.okapi.common.IParameters paramsObject,
net.sf.okapi.common.IContext context)
initializeEmbeddableEditor in interface ISWTEmbeddableParametersEditorpublic String validateAndSaveParameters()
validateAndSaveParameters in interface net.sf.okapi.common.IEmbeddableParametersEditorCopyright © 2019. All rights reserved.