mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 18:15:23 +02:00
[180562] not implementing ISystemIconConstants
This commit is contained in:
parent
e32350ca18
commit
076735e8f8
9 changed files with 10 additions and 19 deletions
|
@ -46,7 +46,6 @@ import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile;
|
||||||
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystem;
|
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystem;
|
||||||
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystemConfiguration;
|
import org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFileSubSystemConfiguration;
|
||||||
import org.eclipse.rse.subsystems.files.core.util.SystemRemoteFileMatcher;
|
import org.eclipse.rse.subsystems.files.core.util.SystemRemoteFileMatcher;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
||||||
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
||||||
|
@ -98,7 +97,7 @@ import org.eclipse.swt.widgets.Text;
|
||||||
* </ul>
|
* </ul>
|
||||||
*/
|
*/
|
||||||
public class SystemSelectRemoteFileOrFolderForm
|
public class SystemSelectRemoteFileOrFolderForm
|
||||||
implements ISelectionChangedListener, ISystemIconConstants
|
implements ISelectionChangedListener
|
||||||
{
|
{
|
||||||
protected static final int PROMPT_WIDTH = 400; // The maximum width of the dialog's prompt, in pixels.
|
protected static final int PROMPT_WIDTH = 400; // The maximum width of the dialog's prompt, in pixels.
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.eclipse.rse.ui.filters.dialogs.SystemNewFilterWizard;
|
||||||
import org.eclipse.swt.widgets.Shell;
|
import org.eclipse.swt.widgets.Shell;
|
||||||
|
|
||||||
|
|
||||||
public class SystemNewProcessFilterAction extends SystemNewFilterAction implements ISystemIconConstants
|
public class SystemNewProcessFilterAction extends SystemNewFilterAction
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,7 +36,7 @@ public class SystemNewProcessFilterAction extends SystemNewFilterAction implemen
|
||||||
|
|
||||||
{
|
{
|
||||||
super(shell, parentPool, SystemProcessesResources.ACTION_NEWPROCESSFILTER_LABEL,
|
super(shell, parentPool, SystemProcessesResources.ACTION_NEWPROCESSFILTER_LABEL,
|
||||||
SystemProcessesResources.ACTION_NEWPROCESSFILTER_TOOLTIP, RSEUIPlugin.getDefault().getImageDescriptor(ICON_SYSTEM_NEWFILTER_ID));
|
SystemProcessesResources.ACTION_NEWPROCESSFILTER_TOOLTIP, RSEUIPlugin.getDefault().getImageDescriptor(ISystemIconConstants.ICON_SYSTEM_NEWFILTER_ID));
|
||||||
setHelp(RSEUIPlugin.HELPPREFIX+"actn0042"); //$NON-NLS-1$
|
setHelp(RSEUIPlugin.HELPPREFIX+"actn0042"); //$NON-NLS-1$
|
||||||
setDialogHelp(RSEUIPlugin.HELPPREFIX+"wnfr0000"); //$NON-NLS-1$
|
setDialogHelp(RSEUIPlugin.HELPPREFIX+"wnfr0000"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ public class SystemNewProcessFilterAction extends SystemNewFilterAction implemen
|
||||||
{
|
{
|
||||||
// configuration that used to only be possible via subclasses...
|
// configuration that used to only be possible via subclasses...
|
||||||
wizard.setWizardPageTitle(SystemProcessesResources.RESID_NEWPROCESSFILTER_PAGE1_TITLE);
|
wizard.setWizardPageTitle(SystemProcessesResources.RESID_NEWPROCESSFILTER_PAGE1_TITLE);
|
||||||
wizard.setWizardImage(RSEUIPlugin.getDefault().getImageDescriptor(ICON_SYSTEM_NEWFILTERWIZARD_ID));
|
wizard.setWizardImage(RSEUIPlugin.getDefault().getImageDescriptor(ISystemIconConstants.ICON_SYSTEM_NEWFILTERWIZARD_ID));
|
||||||
wizard.setPage1Description(SystemProcessesResources.RESID_NEWPROCESSFILTER_PAGE1_DESCRIPTION);
|
wizard.setPage1Description(SystemProcessesResources.RESID_NEWPROCESSFILTER_PAGE1_DESCRIPTION);
|
||||||
wizard.setFilterStringEditPane(new SystemProcessFilterStringEditPane(wizard.getShell()));
|
wizard.setFilterStringEditPane(new SystemProcessFilterStringEditPane(wizard.getShell()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@ import org.eclipse.rse.core.SystemAdapterHelpers;
|
||||||
import org.eclipse.rse.internal.ui.SystemResources;
|
import org.eclipse.rse.internal.ui.SystemResources;
|
||||||
import org.eclipse.rse.ui.ISystemContextMenuConstants;
|
import org.eclipse.rse.ui.ISystemContextMenuConstants;
|
||||||
import org.eclipse.rse.ui.ISystemDeleteTarget;
|
import org.eclipse.rse.ui.ISystemDeleteTarget;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.actions.SystemBaseDialogAction;
|
import org.eclipse.rse.ui.actions.SystemBaseDialogAction;
|
||||||
import org.eclipse.rse.ui.dialogs.SystemDeleteDialog;
|
import org.eclipse.rse.ui.dialogs.SystemDeleteDialog;
|
||||||
|
@ -55,7 +54,6 @@ import org.eclipse.ui.PlatformUI;
|
||||||
*/
|
*/
|
||||||
public class SystemCommonDeleteAction
|
public class SystemCommonDeleteAction
|
||||||
extends SystemBaseDialogAction
|
extends SystemBaseDialogAction
|
||||||
implements ISystemIconConstants
|
|
||||||
{
|
{
|
||||||
private String promptLabel;
|
private String promptLabel;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.eclipse.rse.internal.ui.dialogs;
|
package org.eclipse.rse.internal.ui.dialogs;
|
||||||
|
|
||||||
import org.eclipse.rse.internal.ui.SystemResources;
|
import org.eclipse.rse.internal.ui.SystemResources;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
||||||
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
import org.eclipse.rse.ui.dialogs.SystemPromptDialog;
|
||||||
|
@ -48,7 +47,7 @@ import org.eclipse.swt.widgets.Widget;
|
||||||
* The history strings are shown in a simple list, and the user can delete
|
* The history strings are shown in a simple list, and the user can delete
|
||||||
* items from the list or re-order items in the list.
|
* items from the list or re-order items in the list.
|
||||||
*/
|
*/
|
||||||
public class SystemWorkWithHistoryDialog extends SystemPromptDialog implements ISystemIconConstants, Listener, ArmListener
|
public class SystemWorkWithHistoryDialog extends SystemPromptDialog implements Listener, ArmListener
|
||||||
{
|
{
|
||||||
private String[] historyInput;
|
private String[] historyInput;
|
||||||
private String[] historyOutput;
|
private String[] historyOutput;
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
package org.eclipse.rse.ui.filters.dialogs;
|
package org.eclipse.rse.ui.filters.dialogs;
|
||||||
|
|
||||||
import org.eclipse.rse.internal.ui.SystemResources;
|
import org.eclipse.rse.internal.ui.SystemResources;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -31,7 +30,7 @@ import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
* Your best option is to subclass this and override just those things you want to change.
|
* Your best option is to subclass this and override just those things you want to change.
|
||||||
*/
|
*/
|
||||||
public class SystemNewFilterWizardConfigurator
|
public class SystemNewFilterWizardConfigurator
|
||||||
implements ISystemNewFilterWizardConfigurator, ISystemIconConstants
|
implements ISystemNewFilterWizardConfigurator
|
||||||
{
|
{
|
||||||
// cached attrs
|
// cached attrs
|
||||||
private String pageTitle;
|
private String pageTitle;
|
||||||
|
|
|
@ -21,7 +21,6 @@ import org.eclipse.jface.viewers.CheckboxTableViewer;
|
||||||
import org.eclipse.jface.viewers.ICheckStateListener;
|
import org.eclipse.jface.viewers.ICheckStateListener;
|
||||||
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
||||||
import org.eclipse.rse.subsystems.files.core.model.RemoteFileFilterString;
|
import org.eclipse.rse.subsystems.files.core.model.RemoteFileFilterString;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.ISystemMessages;
|
import org.eclipse.rse.ui.ISystemMessages;
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
||||||
|
@ -49,7 +48,7 @@ import org.eclipse.ui.dialogs.FileEditorMappingLabelProvider;
|
||||||
* custom widgets allowing the user to specify the file types
|
* custom widgets allowing the user to specify the file types
|
||||||
* for a named file type, in the Work With File Types dialog
|
* for a named file type, in the Work With File Types dialog
|
||||||
*/
|
*/
|
||||||
public class UDTypesEditorFiles implements ISystemUDTypeEditPaneTypesSelector, ISystemIconConstants, ICheckStateListener {
|
public class UDTypesEditorFiles implements ISystemUDTypeEditPaneTypesSelector, ICheckStateListener {
|
||||||
public static final String NO_EXTENSION_PLACEHOLDER = UDActionSubsystemFiles.NO_EXTENSION_PLACEHOLDER;
|
public static final String NO_EXTENSION_PLACEHOLDER = UDActionSubsystemFiles.NO_EXTENSION_PLACEHOLDER;
|
||||||
// gui widgets
|
// gui widgets
|
||||||
private CheckboxTableViewer typesSelectionList;
|
private CheckboxTableViewer typesSelectionList;
|
||||||
|
|
|
@ -16,7 +16,6 @@ import org.eclipse.jface.window.Window;
|
||||||
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
import org.eclipse.rse.services.clientserver.messages.SystemMessage;
|
||||||
import org.eclipse.rse.shells.ui.view.ISystemCommandTextModifyListener;
|
import org.eclipse.rse.shells.ui.view.ISystemCommandTextModifyListener;
|
||||||
import org.eclipse.rse.shells.ui.view.SystemCommandEditor;
|
import org.eclipse.rse.shells.ui.view.SystemCommandEditor;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.ISystemMassager;
|
import org.eclipse.rse.ui.ISystemMassager;
|
||||||
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
||||||
import org.eclipse.rse.ui.validators.ISystemValidator;
|
import org.eclipse.rse.ui.validators.ISystemValidator;
|
||||||
|
@ -34,7 +33,7 @@ import org.eclipse.swt.widgets.Label;
|
||||||
* This class encapsulates a prompt for a remote command that supports
|
* This class encapsulates a prompt for a remote command that supports
|
||||||
* substitution variables. It is used in both compile and user action dialogs.
|
* substitution variables. It is used in both compile and user action dialogs.
|
||||||
*/
|
*/
|
||||||
public class SystemCommandTextField implements ISystemIconConstants, SelectionListener {
|
public class SystemCommandTextField implements SelectionListener {
|
||||||
protected SystemCommandEditor textCommand;
|
protected SystemCommandEditor textCommand;
|
||||||
protected ISystemMassager cmdMassager;
|
protected ISystemMassager cmdMassager;
|
||||||
protected Button insertVariableButton;
|
protected Button insertVariableButton;
|
||||||
|
|
|
@ -18,7 +18,6 @@ import org.eclipse.jface.viewers.IStructuredSelection;
|
||||||
import org.eclipse.jface.viewers.Viewer;
|
import org.eclipse.jface.viewers.Viewer;
|
||||||
import org.eclipse.rse.core.model.ISystemProfile;
|
import org.eclipse.rse.core.model.ISystemProfile;
|
||||||
import org.eclipse.rse.ui.ISystemContextMenuConstants;
|
import org.eclipse.rse.ui.ISystemContextMenuConstants;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.SystemPreferencesManager;
|
import org.eclipse.rse.ui.SystemPreferencesManager;
|
||||||
import org.eclipse.rse.ui.actions.SystemBaseDummyAction;
|
import org.eclipse.rse.ui.actions.SystemBaseDummyAction;
|
||||||
|
@ -29,7 +28,7 @@ import org.eclipse.swt.widgets.Shell;
|
||||||
/**
|
/**
|
||||||
* A cascading menu action for "User actions->"
|
* A cascading menu action for "User actions->"
|
||||||
*/
|
*/
|
||||||
public class SystemUDACascadeAction extends SystemBaseSubMenuAction implements ISystemIconConstants, IMenuListener {
|
public class SystemUDACascadeAction extends SystemBaseSubMenuAction implements IMenuListener {
|
||||||
private SystemUDActionSubsystem udsubsystem;
|
private SystemUDActionSubsystem udsubsystem;
|
||||||
//private IStructuredSelection selection;
|
//private IStructuredSelection selection;
|
||||||
private SystemWorkWithUDAsAction wwAction;
|
private SystemWorkWithUDAsAction wwAction;
|
||||||
|
|
|
@ -15,7 +15,6 @@ import org.eclipse.rse.core.subsystems.ISubSystem;
|
||||||
import org.eclipse.rse.core.subsystems.ISubSystemConfiguration;
|
import org.eclipse.rse.core.subsystems.ISubSystemConfiguration;
|
||||||
import org.eclipse.rse.internal.ui.SystemResources;
|
import org.eclipse.rse.internal.ui.SystemResources;
|
||||||
import org.eclipse.rse.model.SystemStartHere;
|
import org.eclipse.rse.model.SystemStartHere;
|
||||||
import org.eclipse.rse.ui.ISystemIconConstants;
|
|
||||||
import org.eclipse.rse.ui.ISystemMessages;
|
import org.eclipse.rse.ui.ISystemMessages;
|
||||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||||
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
import org.eclipse.rse.ui.SystemWidgetHelpers;
|
||||||
|
@ -42,7 +41,7 @@ import org.eclipse.swt.widgets.Widget;
|
||||||
* A dialog that allows the user to manipulate their user defined actions for a
|
* A dialog that allows the user to manipulate their user defined actions for a
|
||||||
* given subsystem factory.
|
* given subsystem factory.
|
||||||
*/
|
*/
|
||||||
public class SystemWorkWithUDAsDialog extends SystemPromptDialog implements ISystemUDWorkWithDialog, ISystemIconConstants, ISystemMessages, ISystemUDAEditPaneHoster, Listener, SelectionListener,
|
public class SystemWorkWithUDAsDialog extends SystemPromptDialog implements ISystemUDWorkWithDialog,ISystemMessages, ISystemUDAEditPaneHoster, Listener, SelectionListener,
|
||||||
Runnable {
|
Runnable {
|
||||||
// Changes:
|
// Changes:
|
||||||
// June 2002, Phil Coulthard: Added prompt for parent profile, similar to New Connection and New Filter Pool wizards.
|
// June 2002, Phil Coulthard: Added prompt for parent profile, similar to New Connection and New Filter Pool wizards.
|
||||||
|
|
Loading…
Add table
Reference in a new issue