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
Constructors Constructor Description ImportRulesDialog(org.eclipse.swt.widgets.Shell parentShell, org.pentaho.di.imp.ImportRules importRules)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRule()protected voidcancel()protected voiddispose()protected voidexportRules()Save the rules to an XML fileprotected voidgetCompositesData()ObjectgetData()ImportRuleCompositeInterfacegetImportRuleComposite(org.pentaho.di.imp.rule.ImportRuleInterface rule)protected voidgetInfo(org.pentaho.di.imp.ImportRules ir)StringgetName()org.pentaho.ui.xul.XulDomContainergetXulDomContainer()protected voidimportRules()Import the rules from an XML rules file...static voidmain(String[] args)protected voidok()booleanopen()voidremoveRule()voidsetData(Object data)voidsetName(String name)voidsetXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)protected voidsyncUIWithData()
-
-
-
Method Detail
-
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
-
getData
public Object getData()
- Specified by:
getDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getName
public String 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
public void setData(Object data)
- Specified by:
setDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setName
public void setName(String name)
- 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
-
-