public class QualityCheckEditor extends Object implements IQualityCheckEditor
| Constructor and Description |
|---|
QualityCheckEditor()
Creates a default editor, to allow dynamic instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRawDocument(net.sf.okapi.common.resource.RawDocument rawDoc) |
void |
edit(boolean processOnStart) |
protected void |
finalize() |
QualityCheckSession |
getSession() |
void |
initialize(Object parent,
boolean asDialog,
net.sf.okapi.common.IHelp helpParam,
net.sf.okapi.common.filters.IFilterConfigurationMapper fcMapper,
QualityCheckSession paramSession)
Initializes this IQualityCheckEditor object.
|
void |
showDialog(String path,
boolean processOnStart)
Opens the dialog box, loads an QC session if one is specified.
|
public QualityCheckEditor()
edit(boolean) or
initialize(Object, boolean, IHelp, IFilterConfigurationMapper, QualityCheckSession) must be called
afterward.public void edit(boolean processOnStart)
edit in interface IQualityCheckEditorpublic void initialize(Object parent, boolean asDialog, net.sf.okapi.common.IHelp helpParam, net.sf.okapi.common.filters.IFilterConfigurationMapper fcMapper, QualityCheckSession paramSession)
initialize in interface IQualityCheckEditorparent - the object representing the parent window/shell for this editor.
In this implementation this parameter must be the Shell of the caller.asDialog - true if used from another program.helpParam - the help engine to use.fcMapper - the IFilterConfigurationMapper object to use with the editor.paramSession - an optional session to use (null to use one created internally)public void addRawDocument(net.sf.okapi.common.resource.RawDocument rawDoc)
addRawDocument in interface IQualityCheckEditorpublic void showDialog(String path, boolean processOnStart)
path - Optional QC session to load. Use null to load nothing.processOnStart - true to trigger the verification process when the editor is opened.public QualityCheckSession getSession()
getSession in interface IQualityCheckEditorCopyright © 2019. All rights reserved.