mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[223204] [cleanup] fix broken nls strings in files.ui and others (wasn't supposed to go in)
This commit is contained in:
parent
4e9af07bbc
commit
9bdc0ddc76
1 changed files with 2 additions and 7 deletions
|
@ -55,7 +55,6 @@ import org.eclipse.rse.ui.RSEUIPlugin;
|
|||
import org.eclipse.rse.ui.SystemBasePlugin;
|
||||
import org.eclipse.rse.ui.internal.model.SystemScratchpad;
|
||||
import org.eclipse.rse.ui.messages.SystemMessageDialog;
|
||||
import org.eclipse.rse.ui.view.ISystemViewElementAdapter;
|
||||
import org.eclipse.swt.widgets.Display;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.ui.progress.UIJob;
|
||||
|
@ -642,7 +641,6 @@ public class SystemDNDTransferRunnable extends WorkspaceJob
|
|||
|
||||
public IStatus runInUIThread(IProgressMonitor monitor)
|
||||
{
|
||||
String[] oldNames = new String[_resultSrcObjects.size()];
|
||||
ISystemRegistry registry = RSECorePlugin.getTheSystemRegistry();
|
||||
if (_resultTgtObjects.size() > 0)
|
||||
{
|
||||
|
@ -660,8 +658,6 @@ public class SystemDNDTransferRunnable extends WorkspaceJob
|
|||
{
|
||||
doRefresh = true;
|
||||
}
|
||||
ISystemViewElementAdapter adapter = (ISystemViewElementAdapter)((IAdaptable)src).getAdapter(ISystemViewElementAdapter.class);
|
||||
oldNames[t] = adapter.getAbsoluteName(src);
|
||||
}
|
||||
|
||||
if (_originatingViewer instanceof TreeViewer)
|
||||
|
@ -676,11 +672,10 @@ public class SystemDNDTransferRunnable extends WorkspaceJob
|
|||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (doRefresh)
|
||||
{
|
||||
String operation = ISystemRemoteChangeEvents.SYSTEM_REMOTE_OPERATION_COPY;
|
||||
registry.fireRemoteResourceChangeEvent(operation, ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_CREATED, _resultTgtObjects, _target, _targetSubSystem, oldNames, _originatingViewer);
|
||||
registry.fireRemoteResourceChangeEvent(ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_CREATED, _resultTgtObjects, _target, _targetSubSystem, null, _originatingViewer);
|
||||
}
|
||||
else if (_target instanceof SystemScratchpad)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue