Add Symbian SDKs link for import/project creation.
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/messages.properties Mon Jun 28 08:59:49 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/messages.properties Mon Jun 28 10:14:24 2010 -0500
@@ -72,6 +72,7 @@
BuildTargetsPage.DifferentDrivesError=There are known build problems when the bld.inf file and SDK are on different drives ({0})
BuildTargetsPage.NoDriveSpecWarning=You have chosen an SDK EPOCROOT without a drive specification. Building will work but other features such as the indexer and MMP editor may not fully function.
BuildTargetsPage.Select_Filtering_Prefs_Link=See <a>Build Configuration Filtering Preferences</a> to configure displayed build configurations.
+BuildTargetsPage.Select_SymbianSDKs_Prefs_Link=See <a>Symbian SDKs</a> to manage your Symbian SDK installations.
BuildPlatformFilterPage.SBSv1TabText=SBSv1
BuildPlatformFilterPage.SBSv1TabToolTip=Symbian OS Build System version 1 builder platform filtering
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetsPage.java Mon Jun 28 08:59:49 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetsPage.java Mon Jun 28 10:14:24 2010 -0500
@@ -231,15 +231,34 @@
addOtherControls(parent);
- Link fLink = new Link(parent, SWT.WRAP);
- fLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
- fLink.setText(Messages.getString("BuildTargetsPage.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 fConfigPrefsLink = new Link(parent, SWT.WRAP);
+ fConfigPrefsLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ fConfigPrefsLink.setText(Messages.getString("BuildTargetsPage.Select_Filtering_Prefs_Link")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ fConfigPrefsLink.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
+ fConfigPrefsLink.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$
-
+ inited = false;
+ setVisible(true);
+ TemplateSDKFilter filter = filterCheckbox.getSelection() ? templateFilter : null;
+ filteringContentProviderWrapper.setFilter(filter);
+ viewer.getTree().clearAll(true);
+ viewer.refresh();
+ setPageComplete(validatePage());
+ }
+ }
+
+ });
+
+ Link fSDKLink = new Link(parent, SWT.WRAP);
+ fSDKLink.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ fSDKLink.setText(Messages.getString("BuildTargetsPage.Select_SymbianSDKs_Prefs_Link")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ fSDKLink.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false, 3, 1));
+ fSDKLink.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.SDKPreferences", null, null, 0).open()){ //$NON-NLS-1$
inited = false;
setVisible(true);
TemplateSDKFilter filter = filterCheckbox.getSelection() ? templateFilter : null;