Search in sources :

Example 26 with Spoon

use of org.pentaho.di.ui.spoon.Spoon in project pdi-dataservice-server-plugin by pentaho.

the class DataServiceDelegate method save.

@Override
public void save(DataServiceMeta dataService) throws MetaStoreException {
    Spoon spoon = getSpoon();
    super.save(dataService);
    spoon.refreshTree();
    spoon.refreshGraph();
}
Also used : Spoon(org.pentaho.di.ui.spoon.Spoon)

Aggregations

Spoon (org.pentaho.di.ui.spoon.Spoon)26 KettleException (org.pentaho.di.core.exception.KettleException)11 ErrorDialog (org.pentaho.di.ui.core.dialog.ErrorDialog)8 TransMeta (org.pentaho.di.trans.TransMeta)6 JobMeta (org.pentaho.di.job.JobMeta)5 XulException (org.pentaho.ui.xul.XulException)5 XulMenuitem (org.pentaho.ui.xul.components.XulMenuitem)5 File (java.io.File)3 Shell (org.eclipse.swt.widgets.Shell)3 Test (org.junit.Test)3 DatabaseMeta (org.pentaho.di.core.database.DatabaseMeta)3 PurRepository (org.pentaho.di.repository.pur.PurRepository)3 RepositoryLock (org.pentaho.di.repository.pur.model.RepositoryLock)3 InvocationTargetException (java.lang.reflect.InvocationTargetException)2 IProgressMonitor (org.eclipse.core.runtime.IProgressMonitor)2 ProgressMonitorDialog (org.eclipse.jface.dialogs.ProgressMonitorDialog)2 IRunnableWithProgress (org.eclipse.jface.operation.IRunnableWithProgress)2 FileDialog (org.eclipse.swt.widgets.FileDialog)2 MessageBox (org.eclipse.swt.widgets.MessageBox)2 EngineMetaInterface (org.pentaho.di.core.EngineMetaInterface)2