Package org.pentaho.di.ui.imp
Class ImportRulesDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.imp.ImportRulesDialog
- All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler
public class ImportRulesDialog
extends org.eclipse.swt.widgets.Dialog
implements org.pentaho.ui.xul.impl.XulEventHandler
-
Constructor Summary
ConstructorsConstructorDescriptionImportRulesDialog(org.eclipse.swt.widgets.Shell parentShell, org.pentaho.di.imp.ImportRules importRules) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRule()protected voidcancel()protected voiddispose()protected voidSave the rules to an XML fileprotected voidgetData()getImportRuleComposite(org.pentaho.di.imp.rule.ImportRuleInterface rule) protected voidgetInfo(org.pentaho.di.imp.ImportRules ir) getName()org.pentaho.ui.xul.XulDomContainerprotected voidImport the rules from an XML rules file...static voidprotected voidok()booleanopen()voidvoidvoidvoidsetXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) protected voidMethods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
ImportRulesDialog
public ImportRulesDialog(org.eclipse.swt.widgets.Shell parentShell, org.pentaho.di.imp.ImportRules importRules)
-
-
Method Details
-
open
public boolean open() -
addRule
public void addRule() -
removeRule
public void removeRule() -
exportRules
protected void exportRules()Save the rules to an XML file -
importRules
protected void importRules()Import the rules from an XML rules file... -
dispose
protected void dispose() -
cancel
protected void cancel() -
ok
protected void ok() -
getInfo
protected void getInfo(org.pentaho.di.imp.ImportRules ir) -
syncUIWithData
protected void syncUIWithData() -
getCompositesData
protected void getCompositesData() -
getImportRuleComposite
public ImportRuleCompositeInterface getImportRuleComposite(org.pentaho.di.imp.rule.ImportRuleInterface rule) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
main
- Throws:
Exception
-
getData
- Specified by:
getDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getName
- Specified by:
getNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getXulDomContainer
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()- Specified by:
getXulDomContainerin interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setData
- Specified by:
setDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setName
- Specified by:
setNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setXulDomContainer
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) - Specified by:
setXulDomContainerin interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-