1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-31 12:55:40 +02:00

revert change since this new method does not exist in 2.0

(the new methods is not doc as 2.1!!!)
This commit is contained in:
David Inglis 2003-02-07 14:38:34 +00:00
parent 5af111e1fa
commit 6a38931f7e

View file

@ -86,7 +86,7 @@ public abstract class SelectionStatusDialog extends SelectionDialog {
* @return the first element of the initial selection. * @return the first element of the initial selection.
*/ */
protected Object getPrimaryInitialSelection() { protected Object getPrimaryInitialSelection() {
List result= getInitialElementSelections(); List result= getInitialSelections();
if (result == null || result.size() == 0) if (result == null || result.size() == 0)
return null; return null;
return result.get(0); return result.get(0);
@ -124,7 +124,7 @@ public abstract class SelectionStatusDialog extends SelectionDialog {
fImage= image; fImage= image;
} }
protected void setInitialSelection(int position, Object element) { protected void setInitialSelection(int position, Object element) {
List l= getInitialElementSelections(); List l= getInitialSelections();
l.set(position, element); l.set(position, element);
fInitialSelectionSet= true; fInitialSelectionSet= true;
} }