1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / wizards / dialogfields / CheckedListDialogField.java
index fe748f9..df51493 100644 (file)
@@ -13,7 +13,9 @@ package net.sourceforge.phpdt.internal.ui.wizards.dialogfields;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.eclipse.jface.util.Assert;
+//incastrix
+//import org.eclipse.jface.text.Assert;
+import org.eclipse.core.runtime.Assert;
 import org.eclipse.jface.viewers.CheckStateChangedEvent;
 import org.eclipse.jface.viewers.CheckboxTableViewer;
 import org.eclipse.jface.viewers.ICheckStateListener;
@@ -53,10 +55,10 @@ public class CheckedListDialogField extends ListDialogField {
         * will then be handled internally. (enable state, button invocation
         * behaviour)
         */
-       public void setCheckAllButtonIndex(int checkButtonIndex) {
-               Assert.isTrue(checkButtonIndex < fButtonLabels.length);
-               fCheckAllButtonIndex = checkButtonIndex;
-       }
+//     public void setCheckAllButtonIndex(int checkButtonIndex) {
+//             Assert.isTrue(checkButtonIndex < fButtonLabels.length);
+//             fCheckAllButtonIndex = checkButtonIndex;
+//     }
 
        /**
         * Sets the index of the 'uncheck' button in the button label array passed
@@ -123,9 +125,9 @@ public class CheckedListDialogField extends ListDialogField {
        /**
         * Returns true if the element is checked.
         */
-       public boolean isChecked(Object obj) {
-               return fCheckElements.contains(obj);
-       }
+//     public boolean isChecked(Object obj) {
+//             return fCheckElements.contains(obj);
+//     }
 
        /**
         * Sets the checked elements.