replaced a lot of deprecated code; if someone runs into a commit conflict afterwards...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / dialogs / CheckedTreeSelectionDialog.java
index ba34f1b..08dc378 100644 (file)
@@ -76,7 +76,7 @@ public class CheckedTreeSelectionDialog extends SelectionStatusDialog {
        }
 
        /**
-        * If set, the checked /gray state of containers (inner nodes) is derived from the checked state of its 
+        * If set, the checked /gray state of containers (inner nodes) is derived from the checked state of its
         * leaf nodes.
         * @param containerMode The containerMode to set
         */
@@ -206,7 +206,7 @@ public class CheckedTreeSelectionDialog extends SelectionStatusDialog {
        public void create() {
                super.create();
 
-               List initialSelections = getInitialSelections();
+               List initialSelections = getInitialElementSelections();
                if (initialSelections != null) {
                        fViewer.setCheckedElements(initialSelections.toArray());
                }