Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2009-05-07 22:24:30 +0000
committerrsuen2009-05-07 22:24:30 +0000
commit18b4e3176b369fd64ff51a41de03c45be5d1e9dc (patch)
treeba0b6eb9d4259ac12bcd37ad2f799e81f7d915ea
parent9c92426b9c3f6c1ce782ee25445e723b0a185cb7 (diff)
downloadorg.eclipse.ecf-18b4e3176b369fd64ff51a41de03c45be5d1e9dc.tar.gz
org.eclipse.ecf-18b4e3176b369fd64ff51a41de03c45be5d1e9dc.tar.xz
org.eclipse.ecf-18b4e3176b369fd64ff51a41de03c45be5d1e9dc.zip
Bug 275359 [ui] remove use of deprecated methodsv20090508-1057
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/internal/ui/perspectives/CommunicationPerspective.java6
-rw-r--r--framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/ConfigurationWizardSelectionPage.java2
2 files changed, 5 insertions, 3 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/internal/ui/perspectives/CommunicationPerspective.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/internal/ui/perspectives/CommunicationPerspective.java
index f9e67f69a..f6f3947c3 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/internal/ui/perspectives/CommunicationPerspective.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/internal/ui/perspectives/CommunicationPerspective.java
@@ -25,7 +25,8 @@ public class CommunicationPerspective implements IPerspectiveFactory {
layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.file");//$NON-NLS-1$
// Add "show views".
- layout.addShowViewShortcut(IPageLayout.ID_PROJECT_EXPLORER);
+ // to be replaced by IPageLayout.ID_PROJECT_EXPLORER
+ layout.addShowViewShortcut("org.eclipse.ui.navigator.ProjectExplorer");
layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);
layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);
@@ -40,7 +41,8 @@ public class CommunicationPerspective implements IPerspectiveFactory {
// Top left.
IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.26f, editorArea); //$NON-NLS-1$
- topLeft.addView(IPageLayout.ID_PROJECT_EXPLORER);
+ // to be replaced by IPageLayout.ID_PROJECT_EXPLORER
+ topLeft.addView("org.eclipse.ui.navigator.ProjectExplorer");
// Bottom left.
IFolderLayout bottomLeft = layout.createFolder("bottomLeft", //$NON-NLS-1$
diff --git a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/ConfigurationWizardSelectionPage.java b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/ConfigurationWizardSelectionPage.java
index 02d5e1400..947e352fc 100644
--- a/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/ConfigurationWizardSelectionPage.java
+++ b/framework/bundles/org.eclipse.ecf.ui/src/org/eclipse/ecf/ui/wizards/ConfigurationWizardSelectionPage.java
@@ -126,7 +126,7 @@ public class ConfigurationWizardSelectionPage extends WizardSelectionPage {
*/
private void createFilteredTree(Composite parent) {
// Create a FilteredTree for the categories and wizards
- FilteredTree filteredTree = new FilteredTree(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER, new WizardPatternFilter(), false);
+ FilteredTree filteredTree = new FilteredTree(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER, new WizardPatternFilter());
viewer = filteredTree.getViewer();
filteredTree.setFont(parent.getFont());

Back to the top