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:
parent
5af111e1fa
commit
6a38931f7e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue