mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
fix page sequence problem, and add support for parameterless processes
This commit is contained in:
parent
a5869144a8
commit
eaadac7c66
2 changed files with 4 additions and 3 deletions
|
@ -21,10 +21,10 @@ import org.eclipse.core.runtime.IStatus;
|
|||
*/
|
||||
public abstract class ProcessRunner {
|
||||
|
||||
private ProcessParameter[] params;
|
||||
private ProcessParameter[] params = new ProcessParameter[0];
|
||||
|
||||
void setProcessParameters(ProcessParameter[] params) {
|
||||
this.params = params;
|
||||
this.params = params == null ? new ProcessParameter[0] : params;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -23,6 +23,7 @@ import org.eclipse.swt.widgets.Composite;
|
|||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
|
||||
import org.eclipse.cdt.ui.templateengine.IWizardDataPage;
|
||||
import org.eclipse.cdt.ui.templateengine.event.PatternEvent;
|
||||
import org.eclipse.cdt.ui.templateengine.event.PatternEventListener;
|
||||
import org.eclipse.cdt.ui.templateengine.uitree.UIElement;
|
||||
|
@ -33,7 +34,7 @@ import org.eclipse.cdt.ui.templateengine.uitree.UIElement;
|
|||
* WizardPage.
|
||||
*/
|
||||
|
||||
public class UIWizardPage extends UIPage implements IWizardPage, PatternEventListener {
|
||||
public class UIWizardPage extends UIPage implements IWizardDataPage, PatternEventListener {
|
||||
|
||||
/**
|
||||
* This map will contain reference to the source widgets, which has generated the
|
||||
|
|
Loading…
Add table
Reference in a new issue