@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<>(); tabs.add(new RemoteProxyCMainTab()); tabs.add(new CArgumentsTab()); tabs.addAll(Arrays.asList(getProfileTabs())); tabs.add(new EnvironmentTab()); tabs.add(new SourceLookupTab()); tabs.add(new CommonTab()); setTabs(tabs.toArray(new AbstractLaunchConfigurationTab[tabs.size()])); }
/** * Adds a new environment variable to the table. */ protected void handleEnvAddButtonSelected() { MultipleInputDialog dialog = new MultipleInputDialog(getShell(), LaunchConfigurationsMessages.EnvironmentTab_22); dialog.addTextField(NAME_LABEL, null, false); dialog.addVariablesField(VALUE_LABEL, null, true); if (dialog.open() != Window.OK) { return; } String name = dialog.getStringValue(NAME_LABEL); String value = dialog.getStringValue(VALUE_LABEL); if (name != null && value != null && name.length() > 0 && value.length() >0) { addVariable(new EnvironmentVariable(name.trim(), value.trim())); updateAppendReplace(); } }
@Override public void createControl(Composite parent) { // Create main composite Composite mainComposite = SWTFactory.createComposite(parent, 2, 1, GridData.FILL_HORIZONTAL); setControl(mainComposite); PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), getHelpContextId()); createEnvironmentTable(mainComposite); createTableButtons(mainComposite); createAppendReplace(mainComposite); Dialog.applyDialogFont(mainComposite); }
MultipleInputDialog dialog= new MultipleInputDialog(getShell(), LaunchConfigurationsMessages.EnvironmentTab_11); dialog.addTextField(NAME_LABEL, originalName, false); if(value != null && value.indexOf(System.getProperty("line.separator")) > -1) { //$NON-NLS-1$ value= dialog.getStringValue(VALUE_LABEL); if (!originalName.equals(name)) { if (addVariable(new EnvironmentVariable(name, value))) { environmentTable.remove(var); var.setValue(value); environmentTable.update(var, null); updateLaunchConfigurationDialog();
@Override public void createControl(Composite parent) { wrappingComposite = new Composite(parent, SWT.NONE); wrappingComposite.setLayout(new GridLayout()); wrappingComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); wrappingComposite.setFont(parent.getFont()); warningLabel = new Label(wrappingComposite, SWT.NONE); warningLabel.setText(AntLaunchConfigurationMessages.AntEnvironmentTab_0); super.createControl(wrappingComposite); setControl(wrappingComposite); // Overwrite setting in super method Dialog.applyDialogFont(parent); }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ArrayList<AbstractLaunchConfigurationTab> tabs = new ArrayList<>(); tabs.add(new CMainTab2()); tabs.add(new CArgumentsTab()); tabs.addAll(Arrays.asList(getProfileTabs())); tabs.add(new EnvironmentTab()); tabs.add(new SourceLookupTab()); tabs.add(new CommonTab()); setTabs(tabs.toArray(new AbstractLaunchConfigurationTab[tabs.size()])); }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {new BundlesTab(), new JavaArgumentsTab(), new OSGiSettingsTab(), new TracingTab(), new EnvironmentTab(), new CommonTab()}; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab(), }; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab(), }; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { RutaMainLaunchConfigurationTab main = new RutaMainLaunchConfigurationTab(mode); ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { main, new JavaArgumentsTab(), new JavaJRETab(), new JavaClasspathTab(), new RutaInterpreterTab(main), new EnvironmentTab(), new ScriptCommonTab(main) }; setTabs(tabs); } }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { final ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new SARLApplicationMainLaunchConfigurationTab(), new JavaArgumentsTab(), new SARLRuntimeEnvironmentTab(false), getClasspathTab(dialog), new SourceLookupTab(), new EnvironmentTab(), new CommonTab(), }; setTabs(tabs); }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { final ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new SARLAgentMainLaunchConfigurationTab(), new SARLArgumentsTab(), new SARLRuntimeEnvironmentTab(true), getClasspathTab(dialog), new SourceLookupTab(), new EnvironmentTab(), new CommonTab(), }; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs= new ILaunchConfigurationTab[] { new TestNGMainTab(), // new AlternateLaunchConfigurationTab(), new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); } }
/** * @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog, * String) */ public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new AspectJMainTab(), new JavaArgumentsTab(), new JavaJRETab(), new AJClasspathTab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = null; tabs = new ILaunchConfigurationTab[] {new TestTab(), new PluginJUnitMainTab(), new JavaArgumentsTab(), new PluginsTab(), new ConfigurationTab(true), new TracingTab(), new EnvironmentTab(), new CommonTab()}; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs= new ILaunchConfigurationTab[] { new JUnitLaunchConfigurationTab(), new OSGiArgumentsTab(), new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); }
/** * @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog, String) */ public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new JavaMainTab(), new JavaArgumentsTab(), new JavaJRETab(), new JavaClasspathTab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); }
@Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = null; tabs = new ILaunchConfigurationTab[] {new MainTab(), new JavaArgumentsTab(), new PluginsTab(), new ConfigurationTab(), new TracingTab(), new EnvironmentTab(), new CommonTab(), new PrototypeTab()}; setTabs(tabs); }
public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs= new ILaunchConfigurationTab[] { new JUnitLaunchConfigurationTab(), new OSGiArgumentsTab(), new JavaArgumentsTab(), new JavaClasspathTab(), new JavaJRETab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); }
/** * @see ILaunchConfigurationTabGroup#createTabs(ILaunchConfigurationDialog, * String) */ public void createTabs(ILaunchConfigurationDialog dialog, String mode) { ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] { new JavaMainTab(), new JavaArgumentsTab(), new AJJRETab(), new JavaClasspathTab(), new LTWAspectPathTab(), new SourceLookupTab(), new EnvironmentTab(), new CommonTab() }; setTabs(tabs); }