mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56:02 +02:00
Remove Eclipse 2.0 deprecated calls.
This commit is contained in:
parent
4adc2a5dbf
commit
bd77af6152
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-02-18 Alain Magloire
|
||||||
|
|
||||||
|
Remove deprecated Eclipse-2.0 api calls
|
||||||
|
|
||||||
|
* src/org/eclipse/cdt/internal/ui/CElementImageProvider.java
|
||||||
|
* src/org/eclipsecdt/internal/ui/editor/WorkingCopyManager.java
|
||||||
|
|
||||||
2004-02-13 Andrew Niefer
|
2004-02-13 Andrew Niefer
|
||||||
Updated calls to search to handle InterruptedException
|
Updated calls to search to handle InterruptedException
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,7 @@ import org.eclipse.jface.resource.ImageDescriptor;
|
||||||
import org.eclipse.swt.graphics.Image;
|
import org.eclipse.swt.graphics.Image;
|
||||||
import org.eclipse.swt.graphics.Point;
|
import org.eclipse.swt.graphics.Point;
|
||||||
import org.eclipse.ui.ISharedImages;
|
import org.eclipse.ui.ISharedImages;
|
||||||
|
import org.eclipse.ui.ide.IDE;
|
||||||
import org.eclipse.ui.model.IWorkbenchAdapter;
|
import org.eclipse.ui.model.IWorkbenchAdapter;
|
||||||
|
|
||||||
|
|
||||||
|
@ -77,8 +78,8 @@ public class CElementImageProvider {
|
||||||
private static ImageDescriptor DESC_OBJ_FOLDER;
|
private static ImageDescriptor DESC_OBJ_FOLDER;
|
||||||
{
|
{
|
||||||
ISharedImages images= CUIPlugin.getDefault().getWorkbench().getSharedImages();
|
ISharedImages images= CUIPlugin.getDefault().getWorkbench().getSharedImages();
|
||||||
DESC_OBJ_PROJECT_CLOSED= images.getImageDescriptor(ISharedImages.IMG_OBJ_PROJECT_CLOSED);
|
DESC_OBJ_PROJECT_CLOSED= images.getImageDescriptor(IDE.SharedImages.IMG_OBJ_PROJECT_CLOSED);
|
||||||
DESC_OBJ_PROJECT= images.getImageDescriptor(ISharedImages.IMG_OBJ_PROJECT);
|
DESC_OBJ_PROJECT= images.getImageDescriptor(IDE.SharedImages.IMG_OBJ_PROJECT);
|
||||||
DESC_OBJ_FOLDER= images.getImageDescriptor(ISharedImages.IMG_OBJ_FOLDER);
|
DESC_OBJ_FOLDER= images.getImageDescriptor(ISharedImages.IMG_OBJ_FOLDER);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@ package org.eclipse.cdt.internal.ui.editor;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import org.eclipse.cdt.core.model.ITranslationUnit;
|
|
||||||
import org.eclipse.cdt.core.model.IWorkingCopy;
|
import org.eclipse.cdt.core.model.IWorkingCopy;
|
||||||
import org.eclipse.cdt.ui.IWorkingCopyManager;
|
import org.eclipse.cdt.ui.IWorkingCopyManager;
|
||||||
import org.eclipse.cdt.ui.IWorkingCopyManagerExtension;
|
import org.eclipse.cdt.ui.IWorkingCopyManagerExtension;
|
||||||
|
|
Loading…
Add table
Reference in a new issue