# HG changeset patch # User timkelly # Date 1277733589 18000 # Node ID 76b07aca4d4fb7aa372eb0b7ff5163b272de1e68 # Parent e884710be6ef6dff4f9c118fbc4a0aae98396231 bug 11547. Add "See Symbian SDKs" link to Manage Config Dialog. diff -r e884710be6ef -r 76b07aca4d4f builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Fri Jun 25 16:24:51 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Mon Jun 28 08:59:49 2010 -0500 @@ -254,11 +254,11 @@ sdkStaticHelp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); sdkStaticHelp.setText(Messages.getString("ManageConfigurationsDialog.Select_config_help_text")); //$NON-NLS-1$ - Link fLink = new Link(parent, SWT.WRAP); - fLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); - fLink.setText(Messages.getString("ManageConfigurationsDialog.Select_Filtering_Prefs_Link")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - fLink.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); - fLink.addSelectionListener(new SelectionAdapter() { + Link configPrefLink = new Link(parent, SWT.WRAP); + configPrefLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + configPrefLink.setText(Messages.getString("ManageConfigurationsDialog.Select_Filtering_Prefs_Link")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + configPrefLink.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); + configPrefLink.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { // I don't see a way to open it to a specific tab, only the page if (Window.OK == PreferencesUtil.createPreferenceDialogOn(getShell(), "com.nokia.carbide.cpp.sdk.ui.preferences.BuildPlatformFilterPage", null, null, 0).open()){ //$NON-NLS-1$ @@ -267,6 +267,19 @@ } }); + Link sdkLink = new Link(parent, SWT.WRAP); + sdkLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); + sdkLink.setText(Messages.getString("ManageConfigurationsDialog.Select_SymbianSDKs_Prefs_Link")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ + sdkLink.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1)); + sdkLink.addSelectionListener(new SelectionAdapter() { + public void widgetSelected(SelectionEvent e) { + // I don't see a way to open it to a specific tab, only the page + if (Window.OK == PreferencesUtil.createPreferenceDialogOn(getShell(), "com.nokia.carbide.cpp.sdk.ui.preferences.SDKPreferencePage", null, null, 0).open()){ //$NON-NLS-1$ + drawSDKConfigTree(); + } + } + }); + PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, CarbideCPPBuilderUIHelpIds.CARBIDE_BUILDER_MANAGE_CONFIGURATIONS_DLG); return container; diff -r e884710be6ef -r 76b07aca4d4f builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/messages.properties --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/messages.properties Fri Jun 25 16:24:51 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/messages.properties Mon Jun 28 08:59:49 2010 -0500 @@ -5,6 +5,7 @@ ManageConfigurationsDialog.Unavailable_SDks_and_Configs=\n Unavailable SDKs and Configurations:\n\n ManageConfigurationsDialog.Select_config_help_text=\n Checkmark a configuration to add it to the current project, or uncheck a configuration to remove it from the build configuration. ManageConfigurationsDialog.Select_Filtering_Prefs_Link=\n See Build Configuration Filtering Preferences to configure displayed build configurations. +ManageConfigurationsDialog.Select_SymbianSDKs_Prefs_Link=\n See Symbian SDKs to manage your Symbian SDK installations. MMPSelectionUI.BuildOrderColumnLabel=Build order MMPSelectionUI.FileNameColumnLabel=File name