Search in sources :

Example 1 with DataServiceDialog

use of org.pentaho.di.trans.dataservice.ui.DataServiceDialog in project pdi-dataservice-server-plugin by pentaho.

the class ParameterPushdownFactory method createOverlay.

@Override
public DataServiceDialog.OptimizationOverlay createOverlay() {
    return new DataServiceDialog.OptimizationOverlay() {

        @Override
        public double getPriority() {
            return 2;
        }

        @Override
        public void apply(final DataServiceDialog dialog) throws KettleException {
            ParameterPushdownController controller = createController(dialog.getModel());
            dialog.applyOverlay(this, XUL_SOURCE).addEventHandler(controller);
        }
    };
}
Also used : DataServiceDialog(org.pentaho.di.trans.dataservice.ui.DataServiceDialog) ParameterPushdownController(org.pentaho.di.trans.dataservice.optimization.pushdown.ui.ParameterPushdownController)

Aggregations

ParameterPushdownController (org.pentaho.di.trans.dataservice.optimization.pushdown.ui.ParameterPushdownController)1 DataServiceDialog (org.pentaho.di.trans.dataservice.ui.DataServiceDialog)1