org.pentaho.di.ui.imp.rules
Class ParameterLessImportRuleComposite

java.lang.Object
  extended by org.pentaho.di.ui.imp.rules.ParameterLessImportRuleComposite
All Implemented Interfaces:
ImportRuleCompositeInterface
Direct Known Subclasses:
JobHasANoteImportRuleComposite, JobHasNoDisabledHopsImportRuleComposite, TransformationHasANoteImportRuleComposite, TransformationHasNoDisabledHopsImportRuleComposite

public class ParameterLessImportRuleComposite
extends Object
implements ImportRuleCompositeInterface


Constructor Summary
ParameterLessImportRuleComposite()
           
 
Method Summary
 Composite getComposite(Composite parent, ImportRuleInterface importRule)
          Get a composite with all controls on it that will allow a user to edit the import rule settings.
 void getCompositeData(ImportRuleInterface importRule)
          Get the data from the composite controls and set them in the import rule provided.
 void setCompositeData(ImportRuleInterface importRule)
          Set the import rule data onto the composite
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterLessImportRuleComposite

public ParameterLessImportRuleComposite()
Method Detail

getComposite

public Composite getComposite(Composite parent,
                              ImportRuleInterface importRule)
Description copied from interface: ImportRuleCompositeInterface
Get a composite with all controls on it that will allow a user to edit the import rule settings.

Specified by:
getComposite in interface ImportRuleCompositeInterface
Parameters:
parent - The parent composite to place the new composite in.
importRule - The import rule to edit
Returns:
the new composite

setCompositeData

public void setCompositeData(ImportRuleInterface importRule)
Description copied from interface: ImportRuleCompositeInterface
Set the import rule data onto the composite

Specified by:
setCompositeData in interface ImportRuleCompositeInterface
Parameters:
importRule - the import rule to use

getCompositeData

public void getCompositeData(ImportRuleInterface importRule)
Description copied from interface: ImportRuleCompositeInterface
Get the data from the composite controls and set them in the import rule provided.

Specified by:
getCompositeData in interface ImportRuleCompositeInterface
Parameters:
importRule - The import rule to update.