use of org.yamcs.studio.ui.alphanum.AddParameterWizard in project yamcs-studio by yamcs.
the class AddNewParameterAction method run.
@Override
public void run() {
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
AddParameterWizard wizard = new AddParameterWizard();
WizardDialog dialog = new WizardDialog(shell, wizard);
if (dialog.open() == Window.OK)
for (ParameterInfo info : wizard.getParameter()) viewer.addParameter(info);
}
Aggregations