diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf')
5 files changed, 295 insertions, 961 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/dialogs/ProcessSelectionDialog.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/dialogs/ProcessSelectionDialog.java deleted file mode 100644 index be6713d61..000000000 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/dialogs/ProcessSelectionDialog.java +++ /dev/null @@ -1,125 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved. - * This program and the accompanying materials are made available under the terms - * of the Eclipse Public License v1.0 which accompanies this distribution, and is - * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Wind River Systems - initial API and implementation - *******************************************************************************/ -package org.eclipse.tcf.te.tcf.processes.ui.dialogs; - -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.jface.viewers.DecoratingLabelProvider; -import org.eclipse.jface.viewers.ILabelDecorator; -import org.eclipse.jface.viewers.ILabelProvider; -import org.eclipse.jface.viewers.ITreeContentProvider; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.tcf.te.tcf.processes.core.model.ProcessTreeNode; -import org.eclipse.tcf.te.tcf.processes.ui.controls.ProcessTreeContentProvider; -import org.eclipse.tcf.te.tcf.processes.ui.controls.ProcessViewerSorter; -import org.eclipse.tcf.te.tcf.processes.ui.internal.columns.ProcessLabelProvider; -import org.eclipse.tcf.te.ui.activator.UIPlugin; -import org.eclipse.tcf.te.ui.interfaces.IUIConstants; -import org.eclipse.tcf.te.ui.trees.FilterDescriptor; -import org.eclipse.tcf.te.ui.trees.ViewerStateManager; -import org.eclipse.ui.IDecoratorManager; -import org.eclipse.ui.IWorkbench; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.dialogs.ElementTreeSelectionDialog; -import org.eclipse.ui.dialogs.ISelectionStatusValidator; - -/** - * Process selection dialog. - */ -public class ProcessSelectionDialog extends ElementTreeSelectionDialog { - /** - * Create an FSFolderSelectionDialog using the specified shell as the parent. - * - * @param parentShell The parent shell. - */ - public ProcessSelectionDialog(Shell parentShell) { - this(parentShell, new ProcessLabelProvider(), new ProcessTreeContentProvider()); - } - - /** - * Create an FSFolderSelectionDialog using the specified shell, an FSTreeLabelProvider, and a - * content provider that provides the tree nodes. - * - * @param parentShell The parent shell. - * @param labelProvider The label provider. - * @param contentProvider The content provider. - */ - private ProcessSelectionDialog(Shell parentShell, ILabelProvider labelProvider, ITreeContentProvider contentProvider) { - super(parentShell, createDecoratingLabelProvider(labelProvider), contentProvider); - this.setAllowMultiple(false); - this.setStatusLineAboveButtons(false); - this.setComparator(new ProcessViewerSorter()); - this.setValidator(new ISelectionStatusValidator() { - @Override - public IStatus validate(Object[] selection) { - return isValidSelection(selection); - } - }); - } - - /* - * (non-Javadoc) - * @see org.eclipse.ui.dialogs.ElementTreeSelectionDialog#setInput(java.lang.Object) - */ - @Override - public void setInput(Object input) { - super.setInput(input); - FilterDescriptor[] filterDescriptors = ViewerStateManager.getInstance(). - getFilterDescriptors(IUIConstants.ID_CONTROL_MENUS_BASE + ".viewer.processes", input); //$NON-NLS-1$ - if (filterDescriptors != null) { - for(FilterDescriptor descriptor : filterDescriptors) { - if(descriptor.isEnabled()) addFilter(descriptor.getFilter()); - } - } - } - - /** - * Create a decorating label provider using the specified label provider. - * - * @param labelProvider The label provider that actually provides labels and images. - * @return The decorating label provider. - */ - private static ILabelProvider createDecoratingLabelProvider(ILabelProvider labelProvider) { - IWorkbench workbench = PlatformUI.getWorkbench(); - IDecoratorManager manager = workbench.getDecoratorManager(); - ILabelDecorator decorator = manager.getLabelDecorator(); - return new DecoratingLabelProvider(labelProvider,decorator); - } - - /** - * Create the tree viewer and set it to the label provider. - */ - @Override - protected TreeViewer doCreateTreeViewer(Composite parent, int style) { - TreeViewer viewer = super.doCreateTreeViewer(parent, style); - viewer.getTree().setLinesVisible(false); - return viewer; - } - - /** - * If the specified selection is a valid folder to be selected. - * - * @param selection The selected folders. - * @return An error status if it is invalid or an OK status indicating it is valid. - */ - IStatus isValidSelection(Object[] selection) { - String pluginId = UIPlugin.getUniqueIdentifier(); - IStatus error = new Status(IStatus.ERROR, pluginId, null); - if (selection == null || selection.length == 0) { - return error; - } - if (!(selection[0] instanceof ProcessTreeNode)) { - return error; - } - return new Status(IStatus.OK, pluginId, null); - } -} diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/LaunchObjectDialog.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/LaunchObjectDialog.java deleted file mode 100644 index 45f7049c6..000000000 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/dialogs/LaunchObjectDialog.java +++ /dev/null @@ -1,398 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved. - * This program and the accompanying materials are made available under the terms - * of the Eclipse Public License v1.0 which accompanies this distribution, and is - * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Wind River Systems - initial API and implementation - *******************************************************************************/ -package org.eclipse.tcf.te.tcf.processes.ui.internal.dialogs; - -import java.util.HashMap; -import java.util.Map; - -import org.eclipse.core.runtime.Assert; -import org.eclipse.jface.dialogs.IDialogConstants; -import org.eclipse.jface.dialogs.IDialogSettings; -import org.eclipse.jface.window.Window; -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.ModifyEvent; -import org.eclipse.swt.events.ModifyListener; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Control; -import org.eclipse.swt.widgets.Group; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.swt.widgets.Text; -import org.eclipse.tcf.te.core.utils.text.StringUtil; -import org.eclipse.tcf.te.runtime.services.interfaces.constants.ILineSeparatorConstants; -import org.eclipse.tcf.te.runtime.services.interfaces.constants.ITerminalsConnectorConstants; -import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode; -import org.eclipse.tcf.te.tcf.filesystem.ui.dialogs.FSOpenFileDialog; -import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel; -import org.eclipse.tcf.te.tcf.processes.core.interfaces.launcher.IProcessLauncher; -import org.eclipse.tcf.te.tcf.processes.ui.help.IContextHelpIds; -import org.eclipse.tcf.te.tcf.processes.ui.nls.Messages; -import org.eclipse.tcf.te.ui.jface.dialogs.CustomTrayDialog; -import org.eclipse.tcf.te.ui.swt.SWTControlUtil; -import org.eclipse.ui.IEditorPart; - -/** - * Launch object at selected peer dialog. - */ -public class LaunchObjectDialog extends CustomTrayDialog { - private Text imagePath; - private Button imagePathBrowse; - private Text arguments; - /* default */ IPeerModel node; - /* default */ Button lineSeparatorDefault; - /* default */ Button lineSeparatorLF; - /* default */ Button lineSeparatorCRLF; - /* default */ Button lineSeparatorCR; - - private Map<String, Object> launchAttributes = null; - /* default */ final IEditorPart part; - - /** - * Constructor. - * - * @param parent The parent shell used to view the dialog. - */ - public LaunchObjectDialog(Shell parent) { - this(null, parent); - } - - /** - * Constructor. - * - * @param parent The parent shell used to view the dialog. - */ - public LaunchObjectDialog(IEditorPart part, Shell parent) { - this(part, parent, IContextHelpIds.LAUNCH_OBJECT_DIALOG); - } - - /** - * Constructor. - * - * @param part The parent editor part or <code>null</code>. - * @param parent The parent shell used to view the dialog. - * @param contextHelpId The dialog context help id or <code>null</code>. - */ - public LaunchObjectDialog(IEditorPart part, Shell parent, String contextHelpId) { - super(parent, contextHelpId); - this.part = part; - } - - /** - * Set the peer node that this dialog relates to. - * - * @param node The peer node. - */ - public void setNode(IPeerModel node) { - this.node = node; - } - - /* (non-Javadoc) - * @see org.eclipse.tcf.te.ui.jface.dialogs.CustomTrayDialog#createDialogArea(org.eclipse.swt.widgets.Composite) - */ - @Override - protected Control createDialogArea(Composite parent) { - Composite composite = (Composite) super.createDialogArea(parent); - - configureTitles(); - - Composite panel = new Composite(composite, SWT.NONE); - panel.setLayout(new GridLayout(3, false)); - panel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - - // Add the controls - Label label = new Label(panel, SWT.NONE); - label.setText(Messages.LaunchObjectDialog_image_label); - - imagePath = new Text(panel, SWT.SINGLE | SWT.BORDER); - GridData layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false); - layoutData.widthHint = SWTControlUtil.convertWidthInCharsToPixels(imagePath, 40); - imagePath.setLayoutData(layoutData); - imagePath.addModifyListener(new ModifyListener() { - @Override - public void modifyText(ModifyEvent e) { - validateDialog(); - } - }); - - imagePathBrowse = new Button(panel, SWT.PUSH); - imagePathBrowse.setText(org.eclipse.tcf.te.ui.nls.Messages.EditBrowseTextControl_button_label); - imagePathBrowse.addSelectionListener(new SelectionAdapter() { - @SuppressWarnings("synthetic-access") - @Override - public void widgetSelected(SelectionEvent e) { - FSOpenFileDialog dialog = new FSOpenFileDialog(getShell()); - dialog.setInput(node); - if (dialog.open() == Window.OK) { - Object candidate = dialog.getFirstResult(); - if (candidate instanceof FSTreeNode) { - String absPath = ((FSTreeNode) candidate).getLocation(); - if (absPath != null) { - imagePath.setText(absPath); - } - } - } - } - }); - - label = new Label(panel, SWT.NONE); - label.setText(Messages.LaunchObjectDialog_arguments_label); - - arguments = new Text(panel, SWT.SINGLE | SWT.BORDER); - layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false); - layoutData.horizontalSpan = 2; - arguments.setLayoutData(layoutData); - arguments.addModifyListener(new ModifyListener() { - @Override - public void modifyText(ModifyEvent e) { - validateDialog(); - } - }); - - Group group = new Group(composite, SWT.NONE); - layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false); - group.setLayoutData(layoutData); - group.setText(Messages.LaunchObjectDialog_group_label); - group.setLayout(new GridLayout()); - - label = new Label(group, SWT.NONE); - label.setText(Messages.LaunchObjectDialog_lineseparator_label); - layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false); - label.setLayoutData(layoutData); - - Composite panel2 = new Composite(group, SWT.NONE); - GridLayout layout = new GridLayout(4, false); - layout.marginLeft = 15; layout.marginHeight = 2; - panel2.setLayout(layout); - layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false); - panel2.setLayoutData(layoutData); - - lineSeparatorDefault = new Button(panel2, SWT.RADIO); - lineSeparatorDefault.setText(Messages.LaunchObjectDialog_lineseparator_default); - lineSeparatorDefault.addSelectionListener(new SelectionAdapter() { - @Override - public void widgetSelected(SelectionEvent e) { - if (lineSeparatorDefault.getSelection()) { - SWTControlUtil.setSelection(lineSeparatorLF, false); - SWTControlUtil.setSelection(lineSeparatorCRLF, false); - SWTControlUtil.setSelection(lineSeparatorCR, false); - } - } - }); - - lineSeparatorLF = new Button(panel2, SWT.RADIO); - lineSeparatorLF.setText(Messages.LaunchObjectDialog_lineseparator_lf); - lineSeparatorLF.addSelectionListener(new SelectionAdapter() { - @Override - public void widgetSelected(SelectionEvent e) { - if (lineSeparatorDefault.getSelection()) { - SWTControlUtil.setSelection(lineSeparatorDefault, false); - SWTControlUtil.setSelection(lineSeparatorCRLF, false); - SWTControlUtil.setSelection(lineSeparatorCR, false); - } - } - }); - - lineSeparatorCRLF = new Button(panel2, SWT.RADIO); - lineSeparatorCRLF.setText(Messages.LaunchObjectDialog_lineseparator_crlf); - lineSeparatorCRLF.addSelectionListener(new SelectionAdapter() { - @Override - public void widgetSelected(SelectionEvent e) { - if (lineSeparatorDefault.getSelection()) { - SWTControlUtil.setSelection(lineSeparatorDefault, false); - SWTControlUtil.setSelection(lineSeparatorLF, false); - SWTControlUtil.setSelection(lineSeparatorCR, false); - } - } - }); - - lineSeparatorCR = new Button(panel2, SWT.RADIO); - lineSeparatorCR.setText(Messages.LaunchObjectDialog_lineseparator_cr); - lineSeparatorCR.addSelectionListener(new SelectionAdapter() { - @Override - public void widgetSelected(SelectionEvent e) { - if (lineSeparatorDefault.getSelection()) { - SWTControlUtil.setSelection(lineSeparatorDefault, false); - SWTControlUtil.setSelection(lineSeparatorLF, false); - SWTControlUtil.setSelection(lineSeparatorCRLF, false); - } - } - }); - - // Setup the control content - setupContent(); - - // Adjust the font - applyDialogFont(composite); - - return composite; - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.TrayDialog#createButtonBar(org.eclipse.swt.widgets.Composite) - */ - @Override - protected Control createButtonBar(Composite parent) { - Control control = super.createButtonBar(parent); - validateDialog(); - return control; - } - - /** - * Configure the dialog title and the title area content. The method is called from - * {@link #createDialogArea(Composite)}. - */ - protected void configureTitles() { - setDialogTitle(Messages.LaunchObjectDialog_title); - } - - /** - * Setup the control content. - */ - protected void setupContent() { - restoreWidgetValues(); - } - - /** - * Validates the dialog. - */ - protected void validateDialog() { - - boolean valid = !"".equals(imagePath.getText()); //$NON-NLS-1$ - - if (getButton(IDialogConstants.OK_ID) != null) getButton(IDialogConstants.OK_ID).setEnabled(valid); - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#cancelPressed() - */ - @Override - protected void cancelPressed() { - // Dispose the launch attributes - launchAttributes = null; - - super.cancelPressed(); - } - - /* (non-Javadoc) - * @see org.eclipse.jface.dialogs.Dialog#okPressed() - */ - @Override - protected void okPressed() { - // Create a new launch attributes map - launchAttributes = new HashMap<String, Object>(); - // Update with the current control content - updateLaunchAttributes(launchAttributes); - - super.okPressed(); - } - - /** - * Updates the given attributes map with the current control content. - */ - protected void updateLaunchAttributes(Map<String, Object> launchAttributes) { - Assert.isNotNull(launchAttributes); - - launchAttributes.put(IProcessLauncher.PROP_PROCESS_PATH, imagePath.getText()); - - String argumentsString = arguments.getText(); - String[] args = argumentsString != null && !"".equals(argumentsString.trim()) ? StringUtil.tokenize(argumentsString, 0, true) : null; //$NON-NLS-1$ - launchAttributes.put(IProcessLauncher.PROP_PROCESS_ARGS, args); - - // Local Echo is OFF. - launchAttributes.put(ITerminalsConnectorConstants.PROP_LOCAL_ECHO, Boolean.FALSE); - - String lineSeparator = null; - if (SWTControlUtil.getSelection(lineSeparatorLF)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_LF; - } - else if (SWTControlUtil.getSelection(lineSeparatorCRLF)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_CRLF; - } - else if (SWTControlUtil.getSelection(lineSeparatorCR)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_CR; - } - launchAttributes.put(ITerminalsConnectorConstants.PROP_LINE_SEPARATOR, lineSeparator); - } - - /** - * Returns the launch attributes. - * - * @return The launch attributes or <code>null</code> if canceled. - */ - public final Map<String, Object> getLaunchAttributes() { - return launchAttributes; - } - - /* (non-Javadoc) - * @see org.eclipse.tcf.te.ui.jface.dialogs.CustomTrayDialog#dispose() - */ - @Override - protected void dispose() { - super.dispose(); - } - - /** - * Saves the widget history to the dialog settings. - */ - @Override - protected void saveWidgetValues() { - IDialogSettings settings = getDialogSettings(); - if (settings != null) { - settings.put(IProcessLauncher.PROP_PROCESS_PATH, imagePath.getText()); - settings.put(IProcessLauncher.PROP_PROCESS_ARGS, arguments.getText()); - - String lineSeparator = null; - if (SWTControlUtil.getSelection(lineSeparatorLF)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_LF; - } - else if (SWTControlUtil.getSelection(lineSeparatorCRLF)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_CRLF; - } - else if (SWTControlUtil.getSelection(lineSeparatorCR)) { - lineSeparator = ILineSeparatorConstants.LINE_SEPARATOR_CR; - } - settings.put(ITerminalsConnectorConstants.PROP_LINE_SEPARATOR, lineSeparator); - } - } - - /** - * Restores the widget history from the dialog settings. - */ - @Override - protected void restoreWidgetValues() { - IDialogSettings settings = getDialogSettings(); - if (settings != null) { - String path = settings.get(IProcessLauncher.PROP_PROCESS_PATH); - if (path != null) imagePath.setText(path); - String args = settings.get(IProcessLauncher.PROP_PROCESS_ARGS); - if (args != null) arguments.setText(args); - - String lineSeparator = settings.get(ITerminalsConnectorConstants.PROP_LINE_SEPARATOR); - if (lineSeparator == null) { - SWTControlUtil.setSelection(lineSeparatorDefault, true); - } - else if (ILineSeparatorConstants.LINE_SEPARATOR_LF.equals(lineSeparator)) { - SWTControlUtil.setSelection(lineSeparatorLF, true); - } - else if (ILineSeparatorConstants.LINE_SEPARATOR_CRLF.equals(lineSeparator)) { - SWTControlUtil.setSelection(lineSeparatorCRLF, true); - } - else if (ILineSeparatorConstants.LINE_SEPARATOR_CR.equals(lineSeparator)) { - SWTControlUtil.setSelection(lineSeparatorCR, true); - } - } - } - -} diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/handler/LaunchProcessesCommandHandler.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/handler/LaunchProcessesCommandHandler.java deleted file mode 100644 index 375033761..000000000 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/internal/handler/LaunchProcessesCommandHandler.java +++ /dev/null @@ -1,116 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved. - * This program and the accompanying materials are made available under the terms - * of the Eclipse Public License v1.0 which accompanies this distribution, and is - * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Wind River Systems - initial API and implementation - *******************************************************************************/ -package org.eclipse.tcf.te.tcf.processes.ui.internal.handler; - -import java.util.Map; - -import org.eclipse.core.commands.AbstractHandler; -import org.eclipse.core.commands.ExecutionEvent; -import org.eclipse.core.commands.ExecutionException; -import org.eclipse.core.runtime.Assert; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.window.Window; -import org.eclipse.swt.widgets.Shell; -import org.eclipse.tcf.te.runtime.callback.Callback; -import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer; -import org.eclipse.tcf.te.runtime.properties.PropertiesContainer; -import org.eclipse.tcf.te.runtime.statushandler.StatusHandlerManager; -import org.eclipse.tcf.te.runtime.statushandler.interfaces.IStatusHandler; -import org.eclipse.tcf.te.runtime.statushandler.interfaces.IStatusHandlerConstants; -import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel; -import org.eclipse.tcf.te.tcf.processes.core.interfaces.launcher.IProcessLauncher; -import org.eclipse.tcf.te.tcf.processes.core.launcher.ProcessLauncher; -import org.eclipse.tcf.te.tcf.processes.ui.help.IContextHelpIds; -import org.eclipse.tcf.te.tcf.processes.ui.internal.dialogs.LaunchObjectDialog; -import org.eclipse.tcf.te.tcf.processes.ui.nls.Messages; -import org.eclipse.ui.IEditorPart; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.handlers.HandlerUtil; - -/** - * Launch a process on the selected peer. - */ -public class LaunchProcessesCommandHandler extends AbstractHandler { - - /* (non-Javadoc) - * @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent) - */ - @Override - public Object execute(ExecutionEvent event) throws ExecutionException { - LaunchObjectDialog dialog = createLaunchDialog(event); - IPeerModel node = getPeerNode(event); - dialog.setNode(node); - if (dialog.open() == Window.OK) { - Map<String, Object> attrs = dialog.getLaunchAttributes(); - if (attrs != null) { - ProcessLauncher launcher = new ProcessLauncher(); - attrs.put(IProcessLauncher.PROP_PROCESS_ASSOCIATE_CONSOLE, Boolean.TRUE); - IPropertiesContainer properties = new PropertiesContainer(); - properties.setProperties(attrs); - launcher.launch(node.getPeer(), properties, new Callback() { - @Override - public void internalDone(Object caller, IStatus status) { - handleStatus(status); - } - }); - } - } - return null; - } - - /** - * Get the selected peer model from the execution event. - * - * @param event The execution event with which the handler is invoked. - * @return The peer model selected in this execution event. - * @throws ExecutionException The exception when getting this peer model. - */ - private IPeerModel getPeerNode(ExecutionEvent event) throws ExecutionException { - IStructuredSelection selection = (IStructuredSelection) HandlerUtil.getActiveMenuSelectionChecked(event); - Assert.isTrue(selection.size() == 1); - Object element = selection.getFirstElement(); - Assert.isTrue(element instanceof IPeerModel); - return (IPeerModel) element; - } - - /** - * Create a launch dialog in which the configuration for this launch is entered. - * - * @param event The execution event with which the handler is invoked. - * @return The launch dialog to input the configuration. - * @throws ExecutionException Exception thrown during creating the dialog - */ - private LaunchObjectDialog createLaunchDialog(ExecutionEvent event) throws ExecutionException { - Shell shell = HandlerUtil.getActiveShellChecked(event); - IWorkbenchPart activePart = HandlerUtil.getActivePartChecked(event); - IEditorPart editorPart = (IEditorPart) activePart.getAdapter(IEditorPart.class); - return new LaunchObjectDialog(editorPart, shell); - } - - /** - * Handle the resulting status of the process launching. - * - * @param status The resulting status of the process launching. - */ - protected void handleStatus(IStatus status) { - if (status.getSeverity() != IStatus.OK && status.getSeverity() != IStatus.CANCEL) { - IStatusHandler[] handlers = StatusHandlerManager.getInstance().getHandler(getClass()); - if (handlers != null && handlers.length > 0) { - IPropertiesContainer data = new PropertiesContainer(); - data.setProperty(IStatusHandlerConstants.PROPERTY_TITLE, Messages.AbstractChannelCommandHandler_statusDialog_title); - data.setProperty(IStatusHandlerConstants.PROPERTY_CONTEXT_HELP_ID, IContextHelpIds.CHANNEL_COMMAND_HANDLER_STATUS_DIALOG); - data.setProperty(IStatusHandlerConstants.PROPERTY_DONT_ASK_AGAIN_ID, null); - data.setProperty(IStatusHandlerConstants.PROPERTY_CALLER, this); - handlers[0].handleStatus(status, data, null); - } - } - } -} diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.java index d91ecf6ba..a14d4bf46 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.java @@ -1,190 +1,177 @@ -/******************************************************************************* - * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved. - * This program and the accompanying materials are made available under the terms - * of the Eclipse Public License v1.0 which accompanies this distribution, and is - * available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Wind River Systems - initial API and implementation - *******************************************************************************/ -package org.eclipse.tcf.te.tcf.processes.ui.nls; - -import org.eclipse.osgi.util.NLS; - -/** - * Target Explorer TCF processes extensions UI plug-in externalized strings management. - */ -public class Messages extends NLS { - - // The plug-in resource bundle name - private static final String BUNDLE_NAME = "org.eclipse.tcf.te.tcf.processes.ui.nls.Messages"; //$NON-NLS-1$ - - - /** - * Static constructor. - */ - static { - // Load message values from bundle file - NLS.initializeMessages(BUNDLE_NAME, Messages.class); - } - - // **** Declare externalized string id's down here ***** - - public static String ProcessExplorerTreeControl_section_title; - - public static String ProcessesTreeControl_column_name_label; - public static String ProcessesTreeControl_column_pid_label; - public static String ProcessesTreeControl_column_ppid_label; - public static String ProcessesTreeControl_column_state_label; - public static String ProcessesTreeControl_column_user_label; - - public static String ProcessLabelProvider_NullNameNodeLabel; - - public static String ProcessPreferencePage_BiggerThanZero; - public static String ProcessPreferencePage_DefineMoreThanOne; - - public static String ProcessPreferencePage_EditButtonLabel; - public static String ProcessPreferencePage_InvalidNumber; - public static String ProcessPreferencePage_MaxMRUCount; - public static String ProcessPreferencePage_MRUCountLabel; - public static String ProcessPreferencePage_NameLabel; - public static String ProcessPreferencePage_NewButtonLabel; - public static String ProcessPreferencePage_PageDescription; - public static String ProcessPreferencePage_RemoveButtonLabel; - public static String ProcessPreferencePage_ValueLabel; - public static String ProcessSelectionDialog_title; - - public static String LaunchObjectDialog_title; - public static String LaunchObjectDialog_image_label; - public static String LaunchObjectDialog_arguments_label; - public static String LaunchObjectDialog_group_label; - public static String LaunchObjectDialog_lineseparator_label; - public static String LaunchObjectDialog_lineseparator_default; - public static String LaunchObjectDialog_lineseparator_lf; - public static String LaunchObjectDialog_lineseparator_crlf; - public static String LaunchObjectDialog_lineseparator_cr; - - public static String LaunchProcessesCommandHandler_error_title; - - public static String AbstractChannelCommandHandler_statusDialog_title; - - public static String AdvancedPropertiesSection_Name; - public static String AdvancedPropertiesSection_Value; - - public static String BasicContextSection_File; - public static String BasicContextSection_Group; - public static String BasicContextSection_Root; - public static String BasicContextSection_State; - public static String BasicContextSection_Title; - public static String BasicContextSection_User; - public static String BasicContextSection_WorkDir; - public static String BasicInformationSection_Name; - public static String BasicInformationSection_State; - public static String BasicInformationSection_Title; - public static String BasicInformationSection_Type; - public static String BasicInformationSection_User; - - public static String ConfigIntervalDynamicContribution_Custom; - - public static String ContextIDSection_ContextIDs; - public static String ContextIDSection_GroupID; - public static String ContextIDSection_ID; - public static String ContextIDSection_ParentID; - public static String ContextIDSection_PID; - public static String ContextIDSection_PPID; - public static String ContextIDSection_TracerPID; - public static String ContextIDSection_TTY_GRPID; - public static String ContextIDSection_UserGRPID; - public static String ContextIDSection_UserID; - - public static String ContextPage_File; - - public static String ContextPage_Group; - - public static String ContextPage_GroupID; - - public static String ContextPage_ID; - - public static String ContextPage_Pages; - - public static String ContextPage_ParentID; - - public static String ContextPage_PID; - - public static String ContextPage_PPID; - - public static String ContextPage_Resident; - - public static String ContextPage_Root; - - public static String ContextPage_State; - - public static String ContextPage_TracerPID; - - public static String ContextPage_TTYGRPID; - - public static String ContextPage_UserGRPID; - - public static String ContextPage_UserID; - - public static String ContextPage_Virtual; - - public static String ContextPage_WorkHome; - - public static String EditSpeedGradeDialog_DialogMessage; - public static String EditSpeedGradeDialog_DialogTitle; - public static String EditSpeedGradeDialog_GradeSameValue; - public static String EditSpeedGradeDialog_NameLabel; - public static String EditSpeedGradeDialog_ValueLabel; - - public static String IDSection_InternalID; - public static String IDSection_InternalPPID; - public static String IDSection_ParentID; - public static String IDSection_ProcessID; - public static String IDSection_Title; - - public static String IntervalConfigDialog_BiggerThanZero; - public static String IntervalConfigDialog_ChoiceOneLabel; - public static String IntervalConfigDialog_ChoiceTwoLabel; - public static String IntervalConfigDialog_DialogTitle; - public static String IntervalConfigDialog_InvalidNumber; - public static String IntervalConfigDialog_NonEmpty; - public static String IntervalConfigDialog_SECOND_ABBR; - public static String IntervalConfigDialog_SECONDS; - public static String IntervalConfigDialog_SelectSpeed; - public static String IntervalConfigDialog_SPEED; - public static String IntervalConfigDialog_ZeroWarning; - - public static String MemorySection_PSize; - public static String MemorySection_RSS; - public static String MemorySection_Title; - public static String MemorySection_VSize; - - public static String NewSpeedGradeDialog_DialogMessage; - public static String NewSpeedGradeDialog_DialogTitle; - public static String NewSpeedGradeDialog_EnterName; - public static String NewSpeedGradeDialog_GradeExists; - public static String NewSpeedGradeDialog_GradeSameValue; - public static String NewSpeedGradeDialog_NameLabel; - public static String NewSpeedGradeDialog_ValueLabel; - - public static String GeneralInformationPage_InternalPID; - - public static String GeneralInformationPage_InternalPPID; - - public static String GeneralInformationPage_Name; - - public static String GeneralInformationPage_ParentPID; - - public static String GeneralInformationPage_ProcessID; - - public static String GeneralInformationPage_State; - - public static String GeneralInformationPage_Type; - - public static String GeneralInformationPage_User; - - - public static String TerminateHandler_TerminationError; - public static String ProcessLabelProvider_RootNodeLabel; -} +/*******************************************************************************
+ * Copyright (c) 2011 Wind River Systems, Inc. and others. All rights reserved.
+ * This program and the accompanying materials are made available under the terms
+ * of the Eclipse Public License v1.0 which accompanies this distribution, and is
+ * available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.processes.ui.nls;
+
+import org.eclipse.osgi.util.NLS;
+
+/**
+ * Target Explorer TCF processes extensions UI plug-in externalized strings management.
+ */
+public class Messages extends NLS {
+
+ // The plug-in resource bundle name
+ private static final String BUNDLE_NAME = "org.eclipse.tcf.te.tcf.processes.ui.nls.Messages"; //$NON-NLS-1$
+
+
+ /**
+ * Static constructor.
+ */
+ static {
+ // Load message values from bundle file
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ // **** Declare externalized string id's down here *****
+
+ public static String ProcessExplorerTreeControl_section_title;
+
+ public static String ProcessesTreeControl_column_name_label;
+ public static String ProcessesTreeControl_column_pid_label;
+ public static String ProcessesTreeControl_column_ppid_label;
+ public static String ProcessesTreeControl_column_state_label;
+ public static String ProcessesTreeControl_column_user_label;
+
+ public static String ProcessLabelProvider_NullNameNodeLabel;
+
+ public static String ProcessPreferencePage_BiggerThanZero;
+ public static String ProcessPreferencePage_DefineMoreThanOne;
+
+ public static String ProcessPreferencePage_EditButtonLabel;
+ public static String ProcessPreferencePage_InvalidNumber;
+ public static String ProcessPreferencePage_MaxMRUCount;
+ public static String ProcessPreferencePage_MRUCountLabel;
+ public static String ProcessPreferencePage_NameLabel;
+ public static String ProcessPreferencePage_NewButtonLabel;
+ public static String ProcessPreferencePage_PageDescription;
+ public static String ProcessPreferencePage_RemoveButtonLabel;
+ public static String ProcessPreferencePage_ValueLabel;
+
+ public static String AbstractChannelCommandHandler_statusDialog_title;
+
+ public static String AdvancedPropertiesSection_Name;
+ public static String AdvancedPropertiesSection_Value;
+
+ public static String BasicContextSection_File;
+ public static String BasicContextSection_Group;
+ public static String BasicContextSection_Root;
+ public static String BasicContextSection_State;
+ public static String BasicContextSection_Title;
+ public static String BasicContextSection_User;
+ public static String BasicContextSection_WorkDir;
+ public static String BasicInformationSection_Name;
+ public static String BasicInformationSection_State;
+ public static String BasicInformationSection_Title;
+ public static String BasicInformationSection_Type;
+ public static String BasicInformationSection_User;
+
+ public static String ConfigIntervalDynamicContribution_Custom;
+
+ public static String ContextIDSection_ContextIDs;
+ public static String ContextIDSection_GroupID;
+ public static String ContextIDSection_ID;
+ public static String ContextIDSection_ParentID;
+ public static String ContextIDSection_PID;
+ public static String ContextIDSection_PPID;
+ public static String ContextIDSection_TracerPID;
+ public static String ContextIDSection_TTY_GRPID;
+ public static String ContextIDSection_UserGRPID;
+ public static String ContextIDSection_UserID;
+
+ public static String ContextPage_File;
+
+ public static String ContextPage_Group;
+
+ public static String ContextPage_GroupID;
+
+ public static String ContextPage_ID;
+
+ public static String ContextPage_Pages;
+
+ public static String ContextPage_ParentID;
+
+ public static String ContextPage_PID;
+
+ public static String ContextPage_PPID;
+
+ public static String ContextPage_Resident;
+
+ public static String ContextPage_Root;
+
+ public static String ContextPage_State;
+
+ public static String ContextPage_TracerPID;
+
+ public static String ContextPage_TTYGRPID;
+
+ public static String ContextPage_UserGRPID;
+
+ public static String ContextPage_UserID;
+
+ public static String ContextPage_Virtual;
+
+ public static String ContextPage_WorkHome;
+
+ public static String EditSpeedGradeDialog_DialogMessage;
+ public static String EditSpeedGradeDialog_DialogTitle;
+ public static String EditSpeedGradeDialog_GradeSameValue;
+ public static String EditSpeedGradeDialog_NameLabel;
+ public static String EditSpeedGradeDialog_ValueLabel;
+
+ public static String IDSection_InternalID;
+ public static String IDSection_InternalPPID;
+ public static String IDSection_ParentID;
+ public static String IDSection_ProcessID;
+ public static String IDSection_Title;
+
+ public static String IntervalConfigDialog_BiggerThanZero;
+ public static String IntervalConfigDialog_ChoiceOneLabel;
+ public static String IntervalConfigDialog_ChoiceTwoLabel;
+ public static String IntervalConfigDialog_DialogTitle;
+ public static String IntervalConfigDialog_InvalidNumber;
+ public static String IntervalConfigDialog_NonEmpty;
+ public static String IntervalConfigDialog_SECOND_ABBR;
+ public static String IntervalConfigDialog_SECONDS;
+ public static String IntervalConfigDialog_SelectSpeed;
+ public static String IntervalConfigDialog_SPEED;
+ public static String IntervalConfigDialog_ZeroWarning;
+
+ public static String MemorySection_PSize;
+ public static String MemorySection_RSS;
+ public static String MemorySection_Title;
+ public static String MemorySection_VSize;
+
+ public static String NewSpeedGradeDialog_DialogMessage;
+ public static String NewSpeedGradeDialog_DialogTitle;
+ public static String NewSpeedGradeDialog_EnterName;
+ public static String NewSpeedGradeDialog_GradeExists;
+ public static String NewSpeedGradeDialog_GradeSameValue;
+ public static String NewSpeedGradeDialog_NameLabel;
+ public static String NewSpeedGradeDialog_ValueLabel;
+
+ public static String GeneralInformationPage_InternalPID;
+
+ public static String GeneralInformationPage_InternalPPID;
+
+ public static String GeneralInformationPage_Name;
+
+ public static String GeneralInformationPage_ParentPID;
+
+ public static String GeneralInformationPage_ProcessID;
+
+ public static String GeneralInformationPage_State;
+
+ public static String GeneralInformationPage_Type;
+
+ public static String GeneralInformationPage_User;
+
+
+ public static String TerminateHandler_TerminationError;
+ public static String ProcessLabelProvider_RootNodeLabel;
+}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.properties b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.properties index a5fee1a74..7694ec3aa 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.properties +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.processes.ui/src/org/eclipse/tcf/te/tcf/processes/ui/nls/Messages.properties @@ -1,132 +1,118 @@ -# org.eclipse.tcf.te.tcf.processes.ui -# Externalized Strings. -# - -ProcessExplorerTreeControl_section_title=Exploring Processes - -ProcessesTreeControl_column_name_label=Name -ProcessesTreeControl_column_pid_label=PID -ProcessesTreeControl_column_ppid_label=PPID -ProcessesTreeControl_column_state_label=State -ProcessesTreeControl_column_user_label=User -ProcessLabelProvider_NullNameNodeLabel=System -ProcessPreferencePage_BiggerThanZero=The number must be bigger than zero\! -ProcessPreferencePage_DefineMoreThanOne=Please define at least one grade of speed\! -ProcessPreferencePage_EditButtonLabel=&Edit... -ProcessPreferencePage_InvalidNumber=Invalid number. Please enter a number\! -ProcessPreferencePage_MaxMRUCount=Please specify the maximum MRU intervals\! -ProcessPreferencePage_MRUCountLabel=Specify the maximum MRU intervals: -ProcessPreferencePage_NameLabel=Name -ProcessPreferencePage_NewButtonLabel=&New... -ProcessPreferencePage_PageDescription=Configure how the process list should be refreshed. -ProcessPreferencePage_RemoveButtonLabel=&Remove -ProcessPreferencePage_ValueLabel=Value (seconds) - -ProcessSelectionDialog_title=Select Process to Attach - -LaunchObjectDialog_title=Launch Process -LaunchObjectDialog_image_label=Process Image: -LaunchObjectDialog_arguments_label=Process Arguments: -LaunchObjectDialog_group_label=Process Line Separator Settings -LaunchObjectDialog_lineseparator_label=Please specify the line separator used by the launched process. -LaunchObjectDialog_lineseparator_default=Default -LaunchObjectDialog_lineseparator_lf=LF -LaunchObjectDialog_lineseparator_crlf=CRLF -LaunchObjectDialog_lineseparator_cr=CR - -AbstractChannelCommandHandler_statusDialog_title=Error -AdvancedPropertiesSection_Name=Name -AdvancedPropertiesSection_Value=Value - -BasicContextSection_File=File: -BasicContextSection_Group=Group: -BasicContextSection_Root=Root: -BasicContextSection_State=State: -BasicContextSection_Title=Basic Context Information -BasicContextSection_User=User: -BasicContextSection_WorkDir=Work Home: -BasicInformationSection_Name=Name: -BasicInformationSection_State=State: -BasicInformationSection_Title=Basic Information -BasicInformationSection_Type=Type: -BasicInformationSection_User=User: - -ConfigIntervalDynamicContribution_Custom=Custom ... - -ContextIDSection_ContextIDs=Context IDs -ContextIDSection_GroupID=Group ID: -ContextIDSection_ID=ID: -ContextIDSection_ParentID=Parent ID: -ContextIDSection_PID=PID: -ContextIDSection_PPID=PPID: -ContextIDSection_TracerPID=Tracer PID: -ContextIDSection_TTY_GRPID=TTY GRPID: -ContextIDSection_UserGRPID=User GRPID: -ContextIDSection_UserID=User ID: -ContextPage_File=File: -ContextPage_Group=Group: -ContextPage_GroupID=Group ID: -ContextPage_ID=ID: -ContextPage_Pages=Pages: -ContextPage_ParentID=Parent ID: -ContextPage_PID=PID: -ContextPage_PPID=PPID: -ContextPage_Resident=Resident: -ContextPage_Root=Root: -ContextPage_State=State: -ContextPage_TracerPID=Tracer PID: -ContextPage_TTYGRPID=TTY Group ID: -ContextPage_UserGRPID=User Group ID: -ContextPage_UserID=User ID: -ContextPage_Virtual=Virtual: -ContextPage_WorkHome=Work Home: - -EditSpeedGradeDialog_DialogMessage=Edit the data of the selected grade below: -EditSpeedGradeDialog_DialogTitle=Edit Grade -EditSpeedGradeDialog_GradeSameValue=Grade ''{0}'' has the same value. -EditSpeedGradeDialog_NameLabel=Name: -EditSpeedGradeDialog_ValueLabel=Value: - -IDSection_InternalID=Internal PID: -IDSection_InternalPPID=InternalPPID: -IDSection_ParentID=Parent ID: -IDSection_ProcessID=Process ID: -IDSection_Title=Process IDs - -IntervalConfigDialog_BiggerThanZero=The number must be greater than or equal to zero\! -IntervalConfigDialog_ChoiceOneLabel=Refresh the process list every -IntervalConfigDialog_ChoiceTwoLabel=Refresh the process list at a -IntervalConfigDialog_DialogTitle=Configure Refreshing -IntervalConfigDialog_InvalidNumber=Invalid number format\! -IntervalConfigDialog_NonEmpty=Please enter a number\! -IntervalConfigDialog_SECOND_ABBR=s -IntervalConfigDialog_SECONDS=\ seconds. -IntervalConfigDialog_SelectSpeed=Please select a speed. -IntervalConfigDialog_SPEED=\ speed. -IntervalConfigDialog_ZeroWarning=Setting to zero will turn off the auto refresh. - -LaunchProcessesCommandHandler_error_title=Process Launch Failed - -MemorySection_PSize=Pages: -MemorySection_RSS=Resident: -MemorySection_Title=Memory Usage -MemorySection_VSize=Virtual: - -NewSpeedGradeDialog_DialogMessage=Edit the data of the new grade below: -NewSpeedGradeDialog_DialogTitle=New Grade -NewSpeedGradeDialog_EnterName=Enter the name of the grade\! -NewSpeedGradeDialog_GradeExists=Grade ''{0}'' already exists\! -NewSpeedGradeDialog_GradeSameValue=Grade ''{0}'' has the same value. -NewSpeedGradeDialog_NameLabel=Name: -NewSpeedGradeDialog_ValueLabel=Value: - -GeneralInformationPage_InternalPID=Internal PID: -GeneralInformationPage_InternalPPID=Internal PPID: -GeneralInformationPage_Name=Name: -GeneralInformationPage_ParentPID=Parent PID: -GeneralInformationPage_ProcessID=Process ID: -GeneralInformationPage_State=State: -GeneralInformationPage_Type=Type: -GeneralInformationPage_User=User: -TerminateHandler_TerminationError=Termination Error -ProcessLabelProvider_RootNodeLabel=Processes +# org.eclipse.tcf.te.tcf.processes.ui
+# Externalized Strings.
+#
+
+ProcessExplorerTreeControl_section_title=Exploring Processes
+
+ProcessesTreeControl_column_name_label=Name
+ProcessesTreeControl_column_pid_label=PID
+ProcessesTreeControl_column_ppid_label=PPID
+ProcessesTreeControl_column_state_label=State
+ProcessesTreeControl_column_user_label=User
+ProcessLabelProvider_NullNameNodeLabel=System
+ProcessPreferencePage_BiggerThanZero=The number must be bigger than zero\!
+ProcessPreferencePage_DefineMoreThanOne=Please define at least one grade of speed\!
+ProcessPreferencePage_EditButtonLabel=&Edit...
+ProcessPreferencePage_InvalidNumber=Invalid number. Please enter a number\!
+ProcessPreferencePage_MaxMRUCount=Please specify the maximum MRU intervals\!
+ProcessPreferencePage_MRUCountLabel=Specify the maximum MRU intervals:
+ProcessPreferencePage_NameLabel=Name
+ProcessPreferencePage_NewButtonLabel=&New...
+ProcessPreferencePage_PageDescription=Configure how the process list should be refreshed.
+ProcessPreferencePage_RemoveButtonLabel=&Remove
+ProcessPreferencePage_ValueLabel=Value (seconds)
+
+AbstractChannelCommandHandler_statusDialog_title=Error
+AdvancedPropertiesSection_Name=Name
+AdvancedPropertiesSection_Value=Value
+
+BasicContextSection_File=File:
+BasicContextSection_Group=Group:
+BasicContextSection_Root=Root:
+BasicContextSection_State=State:
+BasicContextSection_Title=Basic Context Information
+BasicContextSection_User=User:
+BasicContextSection_WorkDir=Work Home:
+BasicInformationSection_Name=Name:
+BasicInformationSection_State=State:
+BasicInformationSection_Title=Basic Information
+BasicInformationSection_Type=Type:
+BasicInformationSection_User=User:
+
+ConfigIntervalDynamicContribution_Custom=Custom ...
+
+ContextIDSection_ContextIDs=Context IDs
+ContextIDSection_GroupID=Group ID:
+ContextIDSection_ID=ID:
+ContextIDSection_ParentID=Parent ID:
+ContextIDSection_PID=PID:
+ContextIDSection_PPID=PPID:
+ContextIDSection_TracerPID=Tracer PID:
+ContextIDSection_TTY_GRPID=TTY GRPID:
+ContextIDSection_UserGRPID=User GRPID:
+ContextIDSection_UserID=User ID:
+ContextPage_File=File:
+ContextPage_Group=Group:
+ContextPage_GroupID=Group ID:
+ContextPage_ID=ID:
+ContextPage_Pages=Pages:
+ContextPage_ParentID=Parent ID:
+ContextPage_PID=PID:
+ContextPage_PPID=PPID:
+ContextPage_Resident=Resident:
+ContextPage_Root=Root:
+ContextPage_State=State:
+ContextPage_TracerPID=Tracer PID:
+ContextPage_TTYGRPID=TTY Group ID:
+ContextPage_UserGRPID=User Group ID:
+ContextPage_UserID=User ID:
+ContextPage_Virtual=Virtual:
+ContextPage_WorkHome=Work Home:
+
+EditSpeedGradeDialog_DialogMessage=Edit the data of the selected grade below:
+EditSpeedGradeDialog_DialogTitle=Edit Grade
+EditSpeedGradeDialog_GradeSameValue=Grade ''{0}'' has the same value.
+EditSpeedGradeDialog_NameLabel=Name:
+EditSpeedGradeDialog_ValueLabel=Value:
+
+IDSection_InternalID=Internal PID:
+IDSection_InternalPPID=InternalPPID:
+IDSection_ParentID=Parent ID:
+IDSection_ProcessID=Process ID:
+IDSection_Title=Process IDs
+
+IntervalConfigDialog_BiggerThanZero=The number must be greater than or equal to zero\!
+IntervalConfigDialog_ChoiceOneLabel=Refresh the process list every
+IntervalConfigDialog_ChoiceTwoLabel=Refresh the process list at a
+IntervalConfigDialog_DialogTitle=Configure Refreshing
+IntervalConfigDialog_InvalidNumber=Invalid number format\!
+IntervalConfigDialog_NonEmpty=Please enter a number\!
+IntervalConfigDialog_SECOND_ABBR=s
+IntervalConfigDialog_SECONDS=\ seconds.
+IntervalConfigDialog_SelectSpeed=Please select a speed.
+IntervalConfigDialog_SPEED=\ speed.
+IntervalConfigDialog_ZeroWarning=Setting to zero will turn off the auto refresh.
+
+MemorySection_PSize=Pages:
+MemorySection_RSS=Resident:
+MemorySection_Title=Memory Usage
+MemorySection_VSize=Virtual:
+
+NewSpeedGradeDialog_DialogMessage=Edit the data of the new grade below:
+NewSpeedGradeDialog_DialogTitle=New Grade
+NewSpeedGradeDialog_EnterName=Enter the name of the grade\!
+NewSpeedGradeDialog_GradeExists=Grade ''{0}'' already exists\!
+NewSpeedGradeDialog_GradeSameValue=Grade ''{0}'' has the same value.
+NewSpeedGradeDialog_NameLabel=Name:
+NewSpeedGradeDialog_ValueLabel=Value:
+
+GeneralInformationPage_InternalPID=Internal PID:
+GeneralInformationPage_InternalPPID=Internal PPID:
+GeneralInformationPage_Name=Name:
+GeneralInformationPage_ParentPID=Parent PID:
+GeneralInformationPage_ProcessID=Process ID:
+GeneralInformationPage_State=State:
+GeneralInformationPage_Type=Type:
+GeneralInformationPage_User=User:
+TerminateHandler_TerminationError=Termination Error
+ProcessLabelProvider_RootNodeLabel=Processes
|