Source:
public void createPage() { super.createPage(); Composite parent = (Composite) getContent(); coolBar = new CoolBar(parent, SWT.FLAT); createControlsToolBar(coolBar); createConfigurationToolBar(coolBar); packCoolBar(); SashForm sashForm = new SashForm(parent, SWT.NONE); sashForm.setLayout(new GridLayout()); sashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); sashForm.setOrientation(SWT.VERTICAL); sashForm.SASH_WIDTH = 3; createScriptTableSection(sashForm); createStatusWindow(sashForm); sashForm.setWeights(new int[] { 8, 2 }); setMinSize(0, 0); HelpUtil.setHelp(this, "test_manager_scripts_page", "org.eclipse.osee.framework.help.ui"); programButtonProviderService = OsgiUtil.getService(IProgramButtonProvider.class, ProgramButtonProviderService.class); for (IProgramButtonProvider provider : programButtonProviderService.getProgramButtonProviders()) { provider.getProgramButtons(coolBar, statusWindow); } ILibraryLinkerProviderService libraryLinkerProviderService = OsgiUtil.getService(ILibraryLinkerProvider.class, LibraryLinkerProviderService.class); for (ILibraryLinkerProvider provider : libraryLinkerProviderService.getLibraryLinkerProviders()) { provider.getLibraryLinkers(); } for (ILaunchAndKillProvider provider : launchAndKillProviderService.getLaunchAndKillProviders()) { Collection<ILaunchAndKill> launchers = provider.getLaunchers(); Collection<ILaunchAndKill> killers = provider.getKillers(); for (ILaunchAndKill launcher : launchers) { Process launchProcess; if (launcher.getClass().getName().equals("com.boeing.ote.f18.sim_adapter.dte.Launch_AMC_OFP")) { launcher.executeProcess(); } } for (ILaunchAndKill killer : killers) { Process killProcess; break; } } }

Target:
public void createPage() { super.createPage(); Composite parent = (Composite) getContent(); coolBar = new CoolBar(parent, SWT.FLAT); createControlsToolBar(coolBar); createConfigurationToolBar(coolBar); packCoolBar(); SashForm sashForm = new SashForm(parent, SWT.NONE); sashForm.setLayout(new GridLayout()); sashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); sashForm.setOrientation(SWT.VERTICAL); sashForm.SASH_WIDTH = 3; createScriptTableSection(sashForm); createStatusWindow(sashForm); sashForm.setWeights(new int[] { 8, 2 }); setMinSize(0, 0); HelpUtil.setHelp(this, "test_manager_scripts_page", "org.eclipse.osee.framework.help.ui"); programButtonProviderService = OsgiUtil.getService(IProgramButtonProvider.class, ProgramButtonProviderService.class); for (IProgramButtonProvider provider : programButtonProviderService.getProgramButtonProviders()) { provider.getProgramButtons(coolBar, statusWindow); } ILibraryLinkerProviderService libraryLinkerProviderService = OsgiUtil.getService(ILibraryLinkerProvider.class, LibraryLinkerProviderService.class); for (ILibraryLinkerProvider provider : libraryLinkerProviderService.getLibraryLinkerProviders()) { provider.getLibraryLinkers(); } for (ILaunchAndKillProvider provider : launchAndKillProviderService.getLaunchAndKillProviders()) { Collection<ILaunchAndKill> launchers = provider.getLaunchers(); Collection<ILaunchAndKill> killers = provider.getKillers(); for (ILaunchAndKill launcher : launchers) { Process launchProcess; } for (ILaunchAndKill killer : killers) { Process killProcess; break; } } }