1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

Warnings elimination

This commit is contained in:
Oleg Krasilnikov 2007-02-21 14:26:13 +00:00
parent e0bd923f4f
commit 5a7db03823

View file

@ -61,7 +61,7 @@ import org.eclipse.ui.dialogs.ElementTreeSelectionDialog;
import org.eclipse.ui.dialogs.ISelectionStatusValidator; import org.eclipse.ui.dialogs.ISelectionStatusValidator;
import org.eclipse.ui.model.WorkbenchContentProvider; import org.eclipse.ui.model.WorkbenchContentProvider;
import org.eclipse.ui.model.WorkbenchLabelProvider; import org.eclipse.ui.model.WorkbenchLabelProvider;
import org.eclipse.ui.views.navigator.ResourceSorter; import org.eclipse.ui.views.navigator.ResourceComparator;
/** /**
* Instances of this class allow the user to add,remove, delete, moveup and movedown * Instances of this class allow the user to add,remove, delete, moveup and movedown
@ -160,7 +160,7 @@ public class FileListControl {
new WorkbenchLabelProvider(), new WorkbenchContentProvider()); new WorkbenchLabelProvider(), new WorkbenchContentProvider());
dialog.setInput(ResourcesPlugin.getWorkspace().getRoot()); dialog.setInput(ResourcesPlugin.getWorkspace().getRoot());
dialog.setSorter(new ResourceSorter(ResourceSorter.NAME)); dialog.setComparator(new ResourceComparator(ResourceComparator.NAME));
if (type == IOption.BROWSE_DIR) { if (type == IOption.BROWSE_DIR) {
IResource container = null; IResource container = null;
@ -297,13 +297,13 @@ public class FileListControl {
//toolbar //toolbar
private ToolBar toolBar; private ToolBar toolBar;
// toolbar items // toolbar items
private ToolItem titleItem, addItem, deleteItem, editItem, moveUpItem, private ToolItem addItem, deleteItem, editItem, moveUpItem,
moveDownItem; moveDownItem;
// title label // title label
private Label title; private Label title;
// images // images
private Image addImage, deleteImage, editImage, moveUpImage, moveDownImage; // private Image addImage, deleteImage, editImage, moveUpImage, moveDownImage;
private Composite composite; // private Composite composite;
// list control // list control
private List list; private List list;
private String compTitle; private String compTitle;