mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +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
|
||||
* connection wizard main page.
|
||||
*
|
||||
* <pre>
|
||||
* Expected order of default profile selection:
|
||||
* 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
|
||||
* default profile.
|
||||
* 3. If the wizard is invoked the 2nd time and a last profile is remembered, the last
|
||||
* profile is the default profile.
|
||||
* 2. If the wizard remembered the last profile and this last remembered profile is still
|
||||
* available and active, the remembered last profile is the default profile.
|
||||
* 3. If the default private system profile is availabe and active, the default private system profile
|
||||
* 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
|
||||
* fall trough to the next lower level.
|
||||
* </pre>
|
||||
*/
|
||||
protected void updateDefaultSelectedProfile() {
|
||||
if (mainPage == null) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue