mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 17:45:24 +02:00
[docu update] [175027] Team profile is selected when creating a new connection
This commit is contained in:
parent
6aab1d83d3
commit
df4f46c8cc
1 changed files with 6 additions and 4 deletions
|
@ -163,16 +163,18 @@ public class RSEDefaultNewConnectionWizard extends RSEAbstractNewConnectionWizar
|
||||||
* Calculates the default profile name to propose on the default new
|
* Calculates the default profile name to propose on the default new
|
||||||
* connection wizard main page.
|
* connection wizard main page.
|
||||||
*
|
*
|
||||||
|
* <pre>
|
||||||
* Expected order of default profile selection:
|
* Expected order of default profile selection:
|
||||||
* 1. If a connection is selected, the default profile is the one from the connection.
|
* 1. If a connection is selected, the default profile is the one from the connection.
|
||||||
* 2. If the wizard is invoked the 1st time, the default private system profile is the
|
* 2. If the wizard remembered the last profile and this last remembered profile is still
|
||||||
* default profile.
|
* available and active, the remembered last profile is the default profile.
|
||||||
* 3. If the wizard is invoked the 2nd time and a last profile is remembered, the last
|
* 3. If the default private system profile is availabe and active, the default private system profile
|
||||||
* profile is the default profile.
|
* is the default profile.
|
||||||
* 4. The first non-empty profile from the list of active profiles is the default profile.
|
* 4. The first non-empty profile from the list of active profiles is the default profile.
|
||||||
*
|
*
|
||||||
* In case a profile name is not in the list of currently active profiles, the logic will
|
* In case a profile name is not in the list of currently active profiles, the logic will
|
||||||
* fall trough to the next lower level.
|
* fall trough to the next lower level.
|
||||||
|
* </pre>
|
||||||
*/
|
*/
|
||||||
protected void updateDefaultSelectedProfile() {
|
protected void updateDefaultSelectedProfile() {
|
||||||
if (mainPage == null) return;
|
if (mainPage == null) return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue