|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.swt.widgets.Dialog
pl.edu.agh.cast.importer.wizard.dialog.rule.AbstractConversionRuleConfigDialog
public abstract class AbstractConversionRuleConfigDialog
Abstract class for conversion rules configuration dialogs of the importer wizard.
| Field Summary | |
|---|---|
protected TabularData |
data
The tabular data to be converted. |
protected String[] |
labelParams
The additional parameters for the conversion rule. |
protected AbstractConversionRulesSelectionPage |
mediator
The mediating conversion rules selection page. |
protected IConversionRule |
rule
The conversion rule. |
protected org.eclipse.swt.widgets.Shell |
shell
The dialog shell. |
| Constructor Summary | |
|---|---|
AbstractConversionRuleConfigDialog(org.eclipse.swt.widgets.Shell parent)
The default constructor. |
|
| Method Summary | |
|---|---|
protected abstract boolean |
createContents()
|
protected boolean |
createTable(org.eclipse.swt.widgets.Composite container,
ButtonTableCreator tableCreator,
Class<?> columnType,
String columnTypeName)
Calls the ButtonTableCreator.createTable(Composite, GridData, TabularData, Map) method of the specified
table creator, which is to be created on the specified composite. |
void |
open()
Opens the dialog. |
void |
setData(AbstractConversionRulesSelectionPage mediatingPage,
TabularData tabData,
String[] params,
IConversionRule convRule)
Sets necessary data for this conversion rule configuration dialog. |
| Methods inherited from class org.eclipse.swt.widgets.Dialog |
|---|
checkSubclass, getParent, getStyle, getText, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.swt.widgets.Shell shell
protected AbstractConversionRulesSelectionPage mediator
protected TabularData data
protected String[] labelParams
protected IConversionRule rule
| Constructor Detail |
|---|
public AbstractConversionRuleConfigDialog(org.eclipse.swt.widgets.Shell parent)
parent - the parent shell| Method Detail |
|---|
public void open()
public void setData(AbstractConversionRulesSelectionPage mediatingPage,
TabularData tabData,
String[] params,
IConversionRule convRule)
mediatingPage - the mediating pagetabData - the tabular dataparams - the additional parametersconvRule - the conversion rule
protected boolean createTable(org.eclipse.swt.widgets.Composite container,
ButtonTableCreator tableCreator,
Class<?> columnType,
String columnTypeName)
ButtonTableCreator.createTable(Composite, GridData, TabularData, Map) method of the specified
table creator, which is to be created on the specified composite.
container - the container for the new table that is to be createdtableCreator - the button table creatorcolumnType - the type of columns to be included in the tablecolumnTypeName - the name of the column type
true of the table was successfully created, false otherwiseprotected abstract boolean createContents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||