mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
2005-04-04 Alain Magloire
Move to Eclipse-31M6 * src/org/eclipse/cdt/internal/ui/cview/CopyAction.java * src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties
This commit is contained in:
parent
eaa861dfd8
commit
f0657ffcaf
3 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-04 Alain Magloire
|
||||
Move to Eclipse-31M6
|
||||
* src/org/eclipse/cdt/internal/ui/cview/CopyAction.java
|
||||
* src/org/eclipse/cdt/internal/ui/cview/CViewMessages.properties
|
||||
|
||||
2005-03-30 Alain Magloire
|
||||
Fix PR 87334
|
||||
* src/org/eclipse/cdt/internal/ui/compare/CMergeViewer.java
|
||||
|
|
|
@ -57,4 +57,7 @@ ShowLibrariesAction.showReferenced.tooltip=Show Referenced Libs
|
|||
LibraryRefContainer.Libraries=Libraries
|
||||
IncludeRefContainer.Includes=Includes
|
||||
|
||||
CView.statusLine = {0} items selected
|
||||
CView.statusLine = {0} items selected
|
||||
|
||||
CopyToClipboardProblemDialog_title=Problem Copying to Clipboard
|
||||
CopyToClipboardProblemDialog_message=There was a problem when accessing the system clipboard. Retry?
|
||||
|
|
|
@ -29,8 +29,6 @@ import org.eclipse.swt.dnd.Transfer;
|
|||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
import org.eclipse.ui.actions.SelectionListenerAction;
|
||||
import org.eclipse.ui.help.WorkbenchHelp;
|
||||
import org.eclipse.ui.internal.WorkbenchMessages;
|
||||
import org.eclipse.ui.part.ResourceTransfer;
|
||||
|
||||
/**
|
||||
|
@ -77,7 +75,8 @@ public class CopyAction extends SelectionListenerAction {
|
|||
this.clipboard = clipboard;
|
||||
setToolTipText(CViewMessages.getString("CopyAction.toolTip")); //$NON-NLS-1$
|
||||
setId(CopyAction.ID);
|
||||
WorkbenchHelp.setHelp(this, ICHelpContextIds.COPY_ACTION);
|
||||
PlatformUI.getWorkbench().getHelpSystem().setHelp(this, ICHelpContextIds.COPY_ACTION);
|
||||
|
||||
}
|
||||
/**
|
||||
* Creates a new action.
|
||||
|
@ -151,7 +150,7 @@ public class CopyAction extends SelectionListenerAction {
|
|||
} catch (SWTError e) {
|
||||
if (e.code != DND.ERROR_CANNOT_SET_CLIPBOARD)
|
||||
throw e;
|
||||
if (MessageDialog.openQuestion(shell, WorkbenchMessages.getString("CopyToClipboardProblemDialog.title"), WorkbenchMessages.getString("CopyToClipboardProblemDialog.message"))) //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (MessageDialog.openQuestion(shell, CViewMessages.getString("CopyToClipboardProblemDialog.title"), CViewMessages.getString("CopyToClipboardProblemDialog.message"))) //$NON-NLS-1$ //$NON-NLS-2$
|
||||
setClipboard(resources, fileNames, names);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue