From 415a4c917e55a1049ff811bde99b615ed864addc Mon Sep 17 00:00:00 2001 From: Dejan Gloszic Date: Wed, 22 Feb 2006 22:35:52 +0000 Subject: Releasing baseline content for Universal Welcome --- org.eclipse.ui.intro.universal/.classpath | 7 + org.eclipse.ui.intro.universal/.cvsignore | 1 + org.eclipse.ui.intro.universal/.options | 24 + org.eclipse.ui.intro.universal/.project | 28 + .../META-INF/MANIFEST.MF | 14 + org.eclipse.ui.intro.universal/about.html | 22 + org.eclipse.ui.intro.universal/build.properties | 14 + .../icons/full/elcl16/configure.gif | Bin 0 -> 547 bytes .../icons/full/obj16/extension_obj.gif | Bin 0 -> 186 bytes .../icons/full/obj16/firststeps16.png | Bin 0 -> 814 bytes .../icons/full/obj16/icallout_obj.gif | Bin 0 -> 358 bytes .../icons/full/obj16/ihigh_obj.gif | Bin 0 -> 202 bytes .../icons/full/obj16/ilow_obj.gif | Bin 0 -> 307 bytes .../icons/full/obj16/image_obj.gif | Bin 0 -> 1051 bytes .../icons/full/obj16/inew_obj.gif | Bin 0 -> 209 bytes .../icons/full/obj16/migrate16.png | Bin 0 -> 687 bytes .../icons/full/obj16/overview16.png | Bin 0 -> 757 bytes .../icons/full/obj16/samples16.png | Bin 0 -> 736 bytes .../icons/full/obj16/tutorials16.png | Bin 0 -> 607 bytes .../icons/full/obj16/webresources16.png | Bin 0 -> 635 bytes .../icons/full/obj16/whatsnew16.png | Bin 0 -> 607 bytes .../icons/welcome_item.gif | Bin 0 -> 124 bytes org.eclipse.ui.intro.universal/introContent.xml | 253 +++++ org.eclipse.ui.intro.universal/plugin.properties | 20 + org.eclipse.ui.intro.universal/plugin.xml | 65 ++ .../internal/intro/universal/CustomizeAction.java | 74 ++ .../ui/internal/intro/universal/ExtensionData.java | 125 +++ .../intro/universal/ExtensionDataTransfer.java | 113 ++ .../ui/internal/intro/universal/GroupData.java | 166 +++ .../intro/universal/IUniversalIntroConstants.java | 101 ++ .../ui/internal/intro/universal/IntroData.java | 189 ++++ .../ui/internal/intro/universal/Messages.java | 86 ++ .../internal/intro/universal/Messages.properties | 82 ++ .../ui/internal/intro/universal/PageData.java | 180 ++++ .../intro/universal/UniversalIntroConfigurer.java | 436 ++++++++ .../intro/universal/UniversalIntroPlugin.java | 148 +++ .../WelcomeCustomizationPreferencePage.java | 1083 ++++++++++++++++++++ .../internal/intro/universal/util/BundleUtil.java | 232 +++++ .../internal/intro/universal/util/ImageUtil.java | 187 ++++ .../ui/internal/intro/universal/util/Log.java | 142 +++ .../internal/intro/universal/util/StringUtil.java | 49 + .../ui/intro/universal/ExtensionFactory.java | 81 ++ .../themes/circles/graphics/banner_left_lines.png | Bin 0 -> 7700 bytes .../themes/circles/graphics/fs_banner.jpg | Bin 0 -> 12542 bytes .../themes/circles/graphics/fs_nav.png | Bin 0 -> 2166 bytes .../themes/circles/graphics/fs_nav_hover.png | Bin 0 -> 6350 bytes .../themes/circles/graphics/fs_nav_lg.png | Bin 0 -> 9387 bytes .../themes/circles/graphics/mi_banner.jpg | Bin 0 -> 10006 bytes .../themes/circles/graphics/mi_nav.png | Bin 0 -> 1579 bytes .../themes/circles/graphics/mi_nav_hover.png | Bin 0 -> 5755 bytes .../themes/circles/graphics/mi_nav_lg.png | Bin 0 -> 5978 bytes .../themes/circles/graphics/nav_midhov.png | Bin 0 -> 189 bytes .../themes/circles/graphics/nav_rightedgehov.png | Bin 0 -> 2940 bytes .../themes/circles/graphics/new_obj.gif | Bin 0 -> 1814 bytes .../themes/circles/graphics/newhov_obj.gif | Bin 0 -> 2045 bytes .../themes/circles/graphics/ov_banner.jpg | Bin 0 -> 12283 bytes .../themes/circles/graphics/ov_nav.png | Bin 0 -> 2046 bytes .../themes/circles/graphics/ov_nav_hover.png | Bin 0 -> 5911 bytes .../themes/circles/graphics/ov_nav_lg.png | Bin 0 -> 6156 bytes .../themes/circles/graphics/ov_nav_midhov.png | Bin 0 -> 221 bytes .../circles/graphics/ov_nav_rightedgehov.png | Bin 0 -> 273 bytes .../themes/circles/graphics/overview48sel.gif | Bin 0 -> 2573 bytes .../themes/circles/graphics/root/circles.png | Bin 0 -> 123672 bytes .../themes/circles/graphics/root/firststeps.png | Bin 0 -> 10857 bytes .../themes/circles/graphics/root/firststeps48.png | Bin 0 -> 6388 bytes .../circles/graphics/root/firststeps_tophov.png | Bin 0 -> 16468 bytes .../themes/circles/graphics/root/migrate.png | Bin 0 -> 6439 bytes .../themes/circles/graphics/root/migrate48.png | Bin 0 -> 5646 bytes .../circles/graphics/root/migrate_tophov.png | Bin 0 -> 13606 bytes .../themes/circles/graphics/root/overview.png | Bin 0 -> 11440 bytes .../themes/circles/graphics/root/overview48.png | Bin 0 -> 5371 bytes .../circles/graphics/root/overview_tophov.png | Bin 0 -> 15145 bytes .../circles/graphics/root/root_bottomhov.png | Bin 0 -> 3530 bytes .../themes/circles/graphics/root/root_midhov.png | Bin 0 -> 177 bytes .../themes/circles/graphics/root/samples.png | Bin 0 -> 8010 bytes .../themes/circles/graphics/root/samples48.png | Bin 0 -> 6014 bytes .../circles/graphics/root/samples_tophover.png | Bin 0 -> 13589 bytes .../themes/circles/graphics/root/tutorials.png | Bin 0 -> 6908 bytes .../themes/circles/graphics/root/tutorials48.png | Bin 0 -> 5816 bytes .../circles/graphics/root/tutorials_tophov.png | Bin 0 -> 12735 bytes .../themes/circles/graphics/root/webresources.png | Bin 0 -> 8350 bytes .../circles/graphics/root/webresources48.png | Bin 0 -> 6097 bytes .../circles/graphics/root/webresources_tophov.png | Bin 0 -> 14410 bytes .../themes/circles/graphics/root/welcomebckgrd.jpg | Bin 0 -> 65219 bytes .../themes/circles/graphics/root/whatsnew.png | Bin 0 -> 6936 bytes .../themes/circles/graphics/root/whatsnew48.png | Bin 0 -> 5627 bytes .../circles/graphics/root/whatsnew_tophov.png | Bin 0 -> 13550 bytes .../themes/circles/graphics/root/workbench.png | Bin 0 -> 5580 bytes .../themes/circles/graphics/root/workbench48.png | Bin 0 -> 5421 bytes .../circles/graphics/root/workbench_tophov.png | Bin 0 -> 11699 bytes .../themes/circles/graphics/sa_banner.jpg | Bin 0 -> 11606 bytes .../themes/circles/graphics/sa_nav.png | Bin 0 -> 2046 bytes .../themes/circles/graphics/sa_nav_hover.png | Bin 0 -> 6090 bytes .../themes/circles/graphics/sa_nav_lg.png | Bin 0 -> 6634 bytes .../themes/circles/graphics/samples48.gif | Bin 0 -> 2749 bytes .../themes/circles/graphics/samples48sel.gif | Bin 0 -> 2954 bytes .../themes/circles/graphics/tu_banner.jpg | Bin 0 -> 11188 bytes .../themes/circles/graphics/tu_nav.png | Bin 0 -> 1733 bytes .../themes/circles/graphics/tu_nav_hover.png | Bin 0 -> 5994 bytes .../themes/circles/graphics/tu_nav_lg.png | Bin 0 -> 5519 bytes .../themes/circles/graphics/tutorials48sel.gif | Bin 0 -> 2525 bytes .../themes/circles/graphics/wb_nav.png | Bin 0 -> 1205 bytes .../themes/circles/graphics/wb_nav_hover.png | Bin 0 -> 5376 bytes .../themes/circles/graphics/whatsnew48sel.gif | Bin 0 -> 2359 bytes .../themes/circles/graphics/wn_banner.jpg | Bin 0 -> 12124 bytes .../themes/circles/graphics/wn_nav.png | Bin 0 -> 1534 bytes .../themes/circles/graphics/wn_nav_hover.png | Bin 0 -> 5840 bytes .../themes/circles/graphics/wn_nav_lg.png | Bin 0 -> 6588 bytes .../themes/circles/graphics/wr_banner.jpg | Bin 0 -> 9798 bytes .../themes/circles/graphics/wr_nav.png | Bin 0 -> 1805 bytes .../themes/circles/graphics/wr_nav_hover.png | Bin 0 -> 5926 bytes .../themes/circles/graphics/wr_nav_lg.png | Bin 0 -> 7413 bytes .../themes/circles/html/firststeps.css | 91 ++ .../themes/circles/html/migrate.css | 132 +++ .../themes/circles/html/overview.css | 78 ++ .../themes/circles/html/root.css | 207 ++++ .../themes/circles/html/samples.css | 74 ++ .../themes/circles/html/shared.css | 268 +++++ .../themes/circles/html/standby.css | 119 +++ .../themes/circles/html/tutorials.css | 77 ++ .../themes/circles/html/webresources.css | 132 +++ .../themes/circles/html/whatsnew.css | 146 +++ .../themes/circles/swt/firststeps.properties | 3 + .../themes/circles/swt/migrate.properties | 3 + .../themes/circles/swt/overview.properties | 6 + .../themes/circles/swt/root.properties | 30 + .../themes/circles/swt/samples.properties | 8 + .../themes/circles/swt/standby.properties | 15 + .../themes/circles/swt/tutorials.properties | 7 + .../themes/circles/swt/webresources.properties | 6 + .../themes/circles/swt/whatsnew.properties | 9 + .../purpleMesh/graphics/contentpage/background.jpg | Bin 0 -> 132168 bytes .../graphics/contentpage/backgroundcurve.gif | Bin 0 -> 8450 bytes .../graphics/contentpage/overview_wtr.jpg | Bin 0 -> 34130 bytes .../graphics/contentpage/samples_wtr.jpg | Bin 0 -> 37704 bytes .../purpleMesh/graphics/contentpage/section1.gif | Bin 0 -> 80 bytes .../purpleMesh/graphics/contentpage/section2.gif | Bin 0 -> 79 bytes .../purpleMesh/graphics/contentpage/section3.gif | Bin 0 -> 79 bytes .../purpleMesh/graphics/contentpage/section4.gif | Bin 0 -> 79 bytes .../graphics/contentpage/tutorials_wtr.jpg | Bin 0 -> 32752 bytes .../graphics/contentpage/whatsnew_wtr.jpg | Bin 0 -> 32446 bytes .../purpleMesh/graphics/icons/ctool/overview48.gif | Bin 0 -> 2397 bytes .../graphics/icons/ctool/overview48sel.gif | Bin 0 -> 2573 bytes .../purpleMesh/graphics/icons/ctool/overview72.gif | Bin 0 -> 3675 bytes .../purpleMesh/graphics/icons/ctool/samples48.gif | Bin 0 -> 2749 bytes .../graphics/icons/ctool/samples48sel.gif | Bin 0 -> 2954 bytes .../purpleMesh/graphics/icons/ctool/samples72.gif | Bin 0 -> 4569 bytes .../graphics/icons/ctool/tutorials48.gif | Bin 0 -> 2413 bytes .../graphics/icons/ctool/tutorials48sel.gif | Bin 0 -> 2525 bytes .../graphics/icons/ctool/tutorials72.gif | Bin 0 -> 3684 bytes .../purpleMesh/graphics/icons/ctool/wb48.gif | Bin 0 -> 1754 bytes .../purpleMesh/graphics/icons/ctool/whatsnew48.gif | Bin 0 -> 2145 bytes .../graphics/icons/ctool/whatsnew48sel.gif | Bin 0 -> 2359 bytes .../purpleMesh/graphics/icons/ctool/whatsnew72.gif | Bin 0 -> 3322 bytes .../purpleMesh/graphics/icons/dtool/back.gif | Bin 0 -> 827 bytes .../purpleMesh/graphics/icons/dtool/forward.gif | Bin 0 -> 822 bytes .../purpleMesh/graphics/icons/dtool/overview.gif | Bin 0 -> 577 bytes .../graphics/icons/dtool/restore_welcome.gif | Bin 0 -> 329 bytes .../purpleMesh/graphics/icons/dtool/samples.gif | Bin 0 -> 588 bytes .../purpleMesh/graphics/icons/dtool/tutorials.gif | Bin 0 -> 349 bytes .../purpleMesh/graphics/icons/dtool/whatsnew.gif | Bin 0 -> 350 bytes .../purpleMesh/graphics/icons/etool/back.gif | Bin 0 -> 1264 bytes .../purpleMesh/graphics/icons/etool/forward.gif | Bin 0 -> 1261 bytes .../purpleMesh/graphics/icons/etool/overview.gif | Bin 0 -> 599 bytes .../purpleMesh/graphics/icons/etool/overview48.gif | Bin 0 -> 2212 bytes .../graphics/icons/etool/overview48sel.gif | Bin 0 -> 2764 bytes .../purpleMesh/graphics/icons/etool/overview72.gif | Bin 0 -> 3490 bytes .../graphics/icons/etool/restore_welcome.gif | Bin 0 -> 339 bytes .../purpleMesh/graphics/icons/etool/samples.gif | Bin 0 -> 617 bytes .../purpleMesh/graphics/icons/etool/samples48.gif | Bin 0 -> 2636 bytes .../graphics/icons/etool/samples48sel.gif | Bin 0 -> 3099 bytes .../purpleMesh/graphics/icons/etool/samples72.gif | Bin 0 -> 4455 bytes .../purpleMesh/graphics/icons/etool/tutorials.gif | Bin 0 -> 349 bytes .../graphics/icons/etool/tutorials48.gif | Bin 0 -> 2219 bytes .../graphics/icons/etool/tutorials48sel.gif | Bin 0 -> 2654 bytes .../graphics/icons/etool/tutorials72.gif | Bin 0 -> 3449 bytes .../purpleMesh/graphics/icons/etool/wb48.gif | Bin 0 -> 1511 bytes .../purpleMesh/graphics/icons/etool/whatsnew.gif | Bin 0 -> 552 bytes .../purpleMesh/graphics/icons/etool/whatsnew48.gif | Bin 0 -> 1925 bytes .../graphics/icons/etool/whatsnew48sel.gif | Bin 0 -> 2580 bytes .../purpleMesh/graphics/icons/etool/whatsnew72.gif | Bin 0 -> 2940 bytes .../purpleMesh/graphics/icons/obj48/new_obj.gif | Bin 0 -> 1814 bytes .../purpleMesh/graphics/icons/obj48/newhov_obj.gif | Bin 0 -> 2045 bytes .../themes/purpleMesh/graphics/root/background.jpg | Bin 0 -> 235002 bytes .../themes/purpleMesh/graphics/root/brandmark.gif | Bin 0 -> 4256 bytes .../themes/purpleMesh/graphics/root/dots.gif | Bin 0 -> 435 bytes .../themes/purpleMesh/graphics/swt/form_banner.gif | Bin 0 -> 5600 bytes .../themes/purpleMesh/html/overview.css | 90 ++ .../themes/purpleMesh/html/root.css | 211 ++++ .../themes/purpleMesh/html/samples.css | 8 + .../themes/purpleMesh/html/shared.css | 385 +++++++ .../themes/purpleMesh/html/standby.css | 132 +++ .../themes/purpleMesh/html/tutorials.css | 92 ++ .../themes/purpleMesh/html/whatsnew.css | 123 +++ .../themes/purpleMesh/preview.png | Bin 0 -> 13700 bytes .../themes/purpleMesh/swt/firststeps.properties | 3 + .../themes/purpleMesh/swt/migrate.properties | 3 + .../themes/purpleMesh/swt/overview.properties | 6 + .../themes/purpleMesh/swt/root.properties | 29 + .../themes/purpleMesh/swt/samples.properties | 8 + .../themes/purpleMesh/swt/standby.properties | 17 + .../themes/purpleMesh/swt/tutorials.properties | 7 + .../themes/purpleMesh/swt/webresources.properties | 6 + .../themes/purpleMesh/swt/whatsnew.properties | 9 + 204 files changed, 6462 insertions(+) create mode 100644 org.eclipse.ui.intro.universal/.classpath create mode 100644 org.eclipse.ui.intro.universal/.cvsignore create mode 100644 org.eclipse.ui.intro.universal/.options create mode 100644 org.eclipse.ui.intro.universal/.project create mode 100644 org.eclipse.ui.intro.universal/META-INF/MANIFEST.MF create mode 100644 org.eclipse.ui.intro.universal/about.html create mode 100644 org.eclipse.ui.intro.universal/build.properties create mode 100644 org.eclipse.ui.intro.universal/icons/full/elcl16/configure.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/extension_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/firststeps16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/icallout_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/ihigh_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/ilow_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/image_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/inew_obj.gif create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/migrate16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/overview16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/samples16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/tutorials16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/webresources16.png create mode 100644 org.eclipse.ui.intro.universal/icons/full/obj16/whatsnew16.png create mode 100644 org.eclipse.ui.intro.universal/icons/welcome_item.gif create mode 100644 org.eclipse.ui.intro.universal/introContent.xml create mode 100644 org.eclipse.ui.intro.universal/plugin.properties create mode 100644 org.eclipse.ui.intro.universal/plugin.xml create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/CustomizeAction.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionData.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionDataTransfer.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/GroupData.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IUniversalIntroConstants.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IntroData.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.properties create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/PageData.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/UniversalIntroConfigurer.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/UniversalIntroPlugin.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/WelcomeCustomizationPreferencePage.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/util/BundleUtil.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/util/ImageUtil.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/util/Log.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/util/StringUtil.java create mode 100644 org.eclipse.ui.intro.universal/src/org/eclipse/ui/intro/universal/ExtensionFactory.java create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/banner_left_lines.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/fs_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/fs_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/fs_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/fs_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/mi_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/mi_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/mi_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/mi_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/nav_midhov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/nav_rightedgehov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/new_obj.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/newhov_obj.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_nav_midhov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/ov_nav_rightedgehov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/overview48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/circles.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/firststeps.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/firststeps48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/firststeps_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/migrate.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/migrate48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/migrate_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/overview.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/overview48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/overview_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/root_bottomhov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/root_midhov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/samples.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/samples48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/samples_tophover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/tutorials.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/tutorials48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/tutorials_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/webresources.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/webresources48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/webresources_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/welcomebckgrd.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/whatsnew.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/whatsnew48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/whatsnew_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/workbench.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/workbench48.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/root/workbench_tophov.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/sa_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/sa_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/sa_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/sa_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/samples48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/samples48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/tu_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/tu_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/tu_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/tu_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/tutorials48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wb_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wb_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/whatsnew48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wn_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wn_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wn_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wn_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wr_banner.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wr_nav.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wr_nav_hover.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/graphics/wr_nav_lg.png create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/firststeps.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/migrate.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/overview.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/root.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/samples.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/shared.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/standby.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/tutorials.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/webresources.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/html/whatsnew.css create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/firststeps.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/migrate.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/overview.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/root.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/samples.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/standby.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/tutorials.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/webresources.properties create mode 100644 org.eclipse.ui.intro.universal/themes/circles/swt/whatsnew.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/background.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/backgroundcurve.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/overview_wtr.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/samples_wtr.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/section1.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/section2.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/section3.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/section4.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/tutorials_wtr.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/contentpage/whatsnew_wtr.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/overview48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/overview48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/overview72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/samples48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/samples48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/samples72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/tutorials48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/tutorials48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/tutorials72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/wb48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/whatsnew48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/whatsnew48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/ctool/whatsnew72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/back.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/forward.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/overview.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/restore_welcome.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/samples.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/tutorials.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/dtool/whatsnew.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/back.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/forward.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/overview.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/overview48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/overview48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/overview72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/restore_welcome.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/samples.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/samples48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/samples48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/samples72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/tutorials.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/tutorials48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/tutorials48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/tutorials72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/wb48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/whatsnew.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/whatsnew48.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/whatsnew48sel.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/etool/whatsnew72.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/obj48/new_obj.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/icons/obj48/newhov_obj.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/root/background.jpg create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/root/brandmark.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/root/dots.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/graphics/swt/form_banner.gif create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/overview.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/root.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/samples.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/shared.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/standby.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/tutorials.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/html/whatsnew.css create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/preview.png create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/firststeps.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/migrate.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/overview.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/root.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/samples.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/standby.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/tutorials.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/webresources.properties create mode 100644 org.eclipse.ui.intro.universal/themes/purpleMesh/swt/whatsnew.properties diff --git a/org.eclipse.ui.intro.universal/.classpath b/org.eclipse.ui.intro.universal/.classpath new file mode 100644 index 000000000..065ac06e1 --- /dev/null +++ b/org.eclipse.ui.intro.universal/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/org.eclipse.ui.intro.universal/.cvsignore b/org.eclipse.ui.intro.universal/.cvsignore new file mode 100644 index 000000000..ba077a403 --- /dev/null +++ b/org.eclipse.ui.intro.universal/.cvsignore @@ -0,0 +1 @@ +bin diff --git a/org.eclipse.ui.intro.universal/.options b/org.eclipse.ui.intro.universal/.options new file mode 100644 index 000000000..8de8a489c --- /dev/null +++ b/org.eclipse.ui.intro.universal/.options @@ -0,0 +1,24 @@ +# Debugging options for the org.eclipse.ui.intro.universal. + +# Master flag for all org.eclipse.ui.intro.universal plugin debug options. +org.eclipse.ui.intro.universal/debug = true + +# Enable logging of information messages in the plugin. By default, info +# messages are not logged. Setting this option to true will enable logging +# trace information messages. +org.eclipse.ui.intro.universal/trace/logInfo = true + +# Enable logging of performance messages in the plugin. By default, performance +# messages are not logged. Setting this option to true will enable logging +# trace information messages. (note: enabling info logging does not enable +# this flag.) +org.eclipse.ui.intro.universal/trace/logPerformance = false + +# Performance flags used by the Performance framework to report failures +# of specific thresholds. + +# Time to create and display the full Intro view. +# org.eclipse.ui.intro/perf/createView = 1000 + +# Time needed to switch between Intro standby states. +# org.eclipse.ui.intro/perf/setStandbyState = 300 \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/.project b/org.eclipse.ui.intro.universal/.project new file mode 100644 index 000000000..28c971b43 --- /dev/null +++ b/org.eclipse.ui.intro.universal/.project @@ -0,0 +1,28 @@ + + + org.eclipse.ui.intro.universal + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/org.eclipse.ui.intro.universal/META-INF/MANIFEST.MF b/org.eclipse.ui.intro.universal/META-INF/MANIFEST.MF new file mode 100644 index 000000000..a5b84f498 --- /dev/null +++ b/org.eclipse.ui.intro.universal/META-INF/MANIFEST.MF @@ -0,0 +1,14 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: %plugin_name +Bundle-SymbolicName: org.eclipse.ui.intro.universal;singleton:=true +Bundle-Version: 3.2.0.qualifier +Bundle-Vendor: %provider_name +Bundle-Localization: plugin +Export-Package: org.eclipse.ui.internal.intro.universal;x-internal:=true, + org.eclipse.ui.intro.universal +Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.1.0,4.0.0)", + org.eclipse.ui;bundle-version="[3.2.0,4.0.0)", + org.eclipse.ui.intro;bundle-version="[3.2.0,4.0.0)" +Eclipse-LazyStart: true +Bundle-Activator: org.eclipse.ui.internal.intro.universal.UniversalIntroPlugin diff --git a/org.eclipse.ui.intro.universal/about.html b/org.eclipse.ui.intro.universal/about.html new file mode 100644 index 000000000..83e993035 --- /dev/null +++ b/org.eclipse.ui.intro.universal/about.html @@ -0,0 +1,22 @@ + + + +About + + + +

About This Content

+ +

March 23, 2005

+

License

+ +

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under the terms and conditions of the +Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available at http://www.eclipse.org/legal/epl-v10.html. +For purposes of the EPL, "Program" will mean the Content.

+ +

If you did not receive this Content directly from the Eclipse Foundation, the Content is being redistributed by another party ("Redistributor") and different terms and conditions may +apply to your use of any object code in the Content. Check the Redistributor's license that was provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise +indicated below, the terms and conditions of the EPL still apply to any source code in the Content.

+ + + \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/build.properties b/org.eclipse.ui.intro.universal/build.properties new file mode 100644 index 000000000..b04d830a9 --- /dev/null +++ b/org.eclipse.ui.intro.universal/build.properties @@ -0,0 +1,14 @@ +bin.includes = plugin.xml,\ + .,\ + themes/,\ + plugin.properties,\ + introContent.xml,\ + icons/,\ + META-INF/,\ + .options,\ + about.html +src.includes = about.html,\ + .options +jars.compile.order = . +source.. = src/ +output.. = bin/ diff --git a/org.eclipse.ui.intro.universal/icons/full/elcl16/configure.gif b/org.eclipse.ui.intro.universal/icons/full/elcl16/configure.gif new file mode 100644 index 000000000..8304a2b71 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/elcl16/configure.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/extension_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/extension_obj.gif new file mode 100644 index 000000000..7f3f595bc Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/extension_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/firststeps16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/firststeps16.png new file mode 100644 index 000000000..4c15c823b Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/firststeps16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/icallout_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/icallout_obj.gif new file mode 100644 index 000000000..f52d86a67 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/icallout_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/ihigh_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/ihigh_obj.gif new file mode 100644 index 000000000..f99bdc358 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/ihigh_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/ilow_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/ilow_obj.gif new file mode 100644 index 000000000..a6815bcc0 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/ilow_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/image_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/image_obj.gif new file mode 100644 index 000000000..830be0ea0 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/image_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/inew_obj.gif b/org.eclipse.ui.intro.universal/icons/full/obj16/inew_obj.gif new file mode 100644 index 000000000..b1526e931 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/inew_obj.gif differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/migrate16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/migrate16.png new file mode 100644 index 000000000..3fc84145d Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/migrate16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/overview16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/overview16.png new file mode 100644 index 000000000..b2e977f8d Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/overview16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/samples16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/samples16.png new file mode 100644 index 000000000..fdff5dd5b Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/samples16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/tutorials16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/tutorials16.png new file mode 100644 index 000000000..f2d688f21 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/tutorials16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/webresources16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/webresources16.png new file mode 100644 index 000000000..b847caad5 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/webresources16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/full/obj16/whatsnew16.png b/org.eclipse.ui.intro.universal/icons/full/obj16/whatsnew16.png new file mode 100644 index 000000000..5294b1741 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/full/obj16/whatsnew16.png differ diff --git a/org.eclipse.ui.intro.universal/icons/welcome_item.gif b/org.eclipse.ui.intro.universal/icons/welcome_item.gif new file mode 100644 index 000000000..311f57fe9 Binary files /dev/null and b/org.eclipse.ui.intro.universal/icons/welcome_item.gif differ diff --git a/org.eclipse.ui.intro.universal/introContent.xml b/org.eclipse.ui.intro.universal/introContent.xml new file mode 100644 index 000000000..81360325a --- /dev/null +++ b/org.eclipse.ui.intro.universal/introContent.xml @@ -0,0 +1,253 @@ + + + + + + $introTitle$ + + + + + + Go to the workbench + + Go to the workbench + + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + Go to the workbench + + + + + + + + + + + + + $introTitle$ + + + + + + + + Go to the workbench + + + + + + + + OVERVIEW + Eclipse is a kind of universal tool platform - an open extensible IDE for anything and nothing in particular. It provides a feature-rich development environment that allows the developer to efficiently create tools that integrate seamlessly into the Eclipse Platform. + + + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + + + + + + TUTORIALS + Learn how to be productive using Eclipse by completing end-to-end tutorials that will guide you along the way. + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + + + + + + SAMPLES + Explore Eclipse by installing prefabricated samples (may require Internet connection). + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + + + + + + WHAT'S NEW + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + + + + + + FIRST STEPS + + + + + + + + + + + + + + $introTitle$ + + + + + + Go to the workbench + + + + + + + WEB RESOURCE + + + + + + + + + + + + + + + $introTitle$ + + + + + + + Go to the workbench + + + + + + + MIGRATE + + + + + + + + + + + diff --git a/org.eclipse.ui.intro.universal/plugin.properties b/org.eclipse.ui.intro.universal/plugin.properties new file mode 100644 index 000000000..80a220bbd --- /dev/null +++ b/org.eclipse.ui.intro.universal/plugin.properties @@ -0,0 +1,20 @@ +############################################################################### +# Copyright (c) 2000, 2006 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### + +# ============================================== +# Universal Welcome plugin.xml properties file +# ============================================== + +plugin_name = Universal Welcome +provider_name = Eclipse.org + +theme.name.circles = Circles +theme.name.purpleMesh = Purple Mesh \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/plugin.xml b/org.eclipse.ui.intro.universal/plugin.xml new file mode 100644 index 000000000..ecbb1a29d --- /dev/null +++ b/org.eclipse.ui.intro.universal/plugin.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/CustomizeAction.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/CustomizeAction.java new file mode 100644 index 000000000..811b7fe6f --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/CustomizeAction.java @@ -0,0 +1,74 @@ +package org.eclipse.ui.internal.intro.universal; + +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.Platform; +import org.eclipse.jface.action.Action; +import org.eclipse.jface.preference.IPreferenceNode; +import org.eclipse.jface.preference.PreferenceDialog; +import org.eclipse.jface.preference.PreferenceManager; +import org.eclipse.jface.preference.PreferenceNode; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.internal.intro.impl.IntroPlugin; +import org.eclipse.ui.intro.IIntroSite; + + +public class CustomizeAction extends Action { + + public static final String P_PAGE_ID = "pageId"; //$NON-NLS-1$ + private IIntroSite site; + private IConfigurationElement element; + + public CustomizeAction(IIntroSite site, IConfigurationElement element) { + this.site = site; + this.element = element; + } + + public void run() { + String pageId = IntroPlugin.getDefault().getIntroModelRoot().getCurrentPageId(); + run(pageId); + } + + public static IConfigurationElement getPageElement() { + IConfigurationElement[] elements = Platform.getExtensionRegistry().getConfigurationElementsFor( + "org.eclipse.ui.preferencePages"); //$NON-NLS-1$ + for (int i = 0; i < elements.length; i++) { + IConfigurationElement element = elements[i]; + if (element.getName().equals("page")) { //$NON-NLS-1$ + String att = element.getAttribute("class"); //$NON-NLS-1$ + if (att != null + && att.equals("org.eclipse.ui.intro.universal.ExtensionFactory:welcomeCustomization")) { //$NON-NLS-1$ + return element; + } + } + } + return null; + } + + private void run(String pageId) { + PreferenceManager pm = new PreferenceManager(); + IPreferenceNode node = createPreferenceNode(pageId); + pm.addToRoot(node); + IWorkbenchWindow window = site.getWorkbenchWindow(); + PreferenceDialog dialog = new PreferenceDialog(window.getShell(), pm); + dialog.open(); + } + + private IPreferenceNode createPreferenceNode(final String pageId) { + if (element == null) + return null; + String id = element.getAttribute("id"); //$NON-NLS-1$ + String label = element.getAttribute("name"); //$NON-NLS-1$ + String className = "org.eclipse.ui.internal.intro.shared.WelcomeCustomizationPreferencePage"; //$NON-NLS-1$ + if (id == null || label == null || className == null) + return null; + return new PreferenceNode(id, label, null, className) { + + public void createPage() { + WelcomeCustomizationPreferencePage page = new WelcomeCustomizationPreferencePage(); + page.setTitle(getLabelText()); + page.setCurrentPage(pageId); + setPage(page); + } + }; + } +} \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionData.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionData.java new file mode 100644 index 000000000..0487692de --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionData.java @@ -0,0 +1,125 @@ +package org.eclipse.ui.internal.intro.universal; + +import java.io.PrintWriter; + +public class ExtensionData { + + public static final int HIDDEN = -1; + public static final int CALLOUT = 0; + public static final int LOW = 1; + public static final int MEDIUM = 2; + public static final int HIGH = 3; + public static final int NEW = 4; + + private String id; + private String name; + private int fImportance = LOW; + private boolean implicit = false; + private GroupData parent; + + public static final String[] IMPORTANCE_TABLE = { IUniversalIntroConstants.CALLOUT, + IUniversalIntroConstants.LOW, IUniversalIntroConstants.MEDIUM, IUniversalIntroConstants.HIGH, + IUniversalIntroConstants.NEW }; + + public static final String[] IMPORTANCE_STYLE_TABLE = { IUniversalIntroConstants.STYLE_CALLOUT, + IUniversalIntroConstants.STYLE_LOW, IUniversalIntroConstants.STYLE_MEDIUM, IUniversalIntroConstants.STYLE_HIGH, + IUniversalIntroConstants.STYLE_NEW }; + + public static final String [] IMPORTANCE_NAME_TABLE = { org.eclipse.ui.internal.intro.universal.Messages.ExtensionData_callout, + Messages.ExtensionData_low, Messages.ExtensionData_medium, Messages.ExtensionData_high, Messages.ExtensionData_new }; + + public ExtensionData(String id, String name) { + this(id, name, IUniversalIntroConstants.LOW, false); + } + + public ExtensionData(String id, String name, int importance) { + this.id = id; + this.name = name; + this.fImportance = importance; + this.implicit = false; + } + + void setParent(GroupData gd) { + this.parent = gd; + } + + public GroupData getParent() { + return parent; + } + + public boolean isImplicit() { + return implicit; + } + + public ExtensionData(String id, String name, String importance, boolean implicit) { + this.id = id; + this.name = name; + this.implicit = implicit; + if (importance != null) { + if (importance.equals(IUniversalIntroConstants.HIGH)) + fImportance = HIGH; + else if (importance.equals(IUniversalIntroConstants.MEDIUM)) + fImportance = MEDIUM; + else if (importance.equals(IUniversalIntroConstants.LOW)) + fImportance = LOW; + else if (importance.equals(IUniversalIntroConstants.CALLOUT)) + fImportance = CALLOUT; + else if (importance.equals(IUniversalIntroConstants.NEW)) + fImportance = NEW; + else if (importance.equals(IUniversalIntroConstants.HIDDEN)) + fImportance = HIDDEN; + } + } + + public String getId() { + return id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public int getImportance() { + return fImportance; + } + + public void setImportance(int newValue) { + fImportance = newValue; + } + + public boolean isHidden() { + return fImportance == HIDDEN; + } + + public void write(PrintWriter writer, String indent) { + writer.print(indent); + writer.print(""); //$NON-NLS-1$ //$NON-NLS-2$ + else + writer.println("/>"); //$NON-NLS-1$ + } + + private String getImportanceAttributeValue() { + return IMPORTANCE_TABLE[fImportance]; + } + + public String toString() { + return name!=null?name:id; + } +/* + public boolean equals(Object obj) { + if (obj == null) return false; + if (obj == this) return true; + if (obj instanceof ExtensionData) { + ExtensionData src = (ExtensionData)obj; + return (id.equals(src.id) && name.equals(src.name) && fImportance==src.fImportance); + } + return false; + } + */ +} \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionDataTransfer.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionDataTransfer.java new file mode 100644 index 000000000..f37d88375 --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/ExtensionDataTransfer.java @@ -0,0 +1,113 @@ +package org.eclipse.ui.internal.intro.universal; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.DataInputStream; +import java.io.DataOutputStream; +import java.io.IOException; + +import org.eclipse.swt.dnd.ByteArrayTransfer; +import org.eclipse.swt.dnd.DND; +import org.eclipse.swt.dnd.TransferData; + + +public class ExtensionDataTransfer extends ByteArrayTransfer { + + private static final String MYTYPENAME = "ExtensionData"; //$NON-NLS-1$ + private static final int MYTYPEID = registerType(MYTYPENAME); + private static ExtensionDataTransfer _instance = new ExtensionDataTransfer(); + + public static ExtensionDataTransfer getInstance() { + return _instance; + } + + protected String[] getTypeNames() { + return new String[] { MYTYPENAME }; + } + + protected int[] getTypeIds() { + return new int[] { MYTYPEID }; + } + + public void javaToNative(Object object, TransferData transferData) { + if (!checkMyType(object) || !isSupportedType(transferData)) { + DND.error(DND.ERROR_INVALID_DATA); + } + ExtensionData[] myTypes = (ExtensionData[]) object; + try { + // write data to a byte array and then ask super to convert to pMedium + ByteArrayOutputStream out = new ByteArrayOutputStream(); + DataOutputStream writeOut = new DataOutputStream(out); + for (int i = 0, length = myTypes.length; i < length; i++) { + ExtensionData ed = myTypes[i]; + byte[] buffer = ed.getId().getBytes(); + writeOut.writeInt(ed.getId().length()); + writeOut.write(buffer); + writeOut.writeInt(ed.getName().length()); + buffer = ed.getName().getBytes(); + writeOut.write(buffer); + writeOut.writeInt(myTypes[i].getImportance()); + } + byte[] buffer = out.toByteArray(); + writeOut.close(); + super.javaToNative(buffer, transferData); + } catch (IOException e) { + } + } + + public Object nativeToJava(TransferData transferData) { + if (isSupportedType(transferData)) { + byte[] buffer = (byte[]) super.nativeToJava(transferData); + if (buffer == null) + return null; + + ExtensionData[] myData = new ExtensionData[0]; + try { + ByteArrayInputStream in = new ByteArrayInputStream(buffer); + DataInputStream readIn = new DataInputStream(in); + while (readIn.available() > 12) { + int importance; + String id; + String name; + int size = readIn.readInt(); + byte[] buff = new byte[size]; + readIn.read(buff); + id = new String(buff); + size = readIn.readInt(); + buff = new byte[size]; + readIn.read(buff); + name = new String(buff); + importance = readIn.readInt(); + + ExtensionData[] newMyData = new ExtensionData[myData.length + 1]; + System.arraycopy(myData, 0, newMyData, 0, myData.length); + newMyData[myData.length] = new ExtensionData(id, name, importance); + myData = newMyData; + } + readIn.close(); + } catch (IOException ex) { + return null; + } + return myData; + } + + return null; + } + + + boolean checkMyType(Object object) { + if (object == null || !(object instanceof ExtensionData[]) || ((ExtensionData[]) object).length == 0) { + return false; + } + ExtensionData[] myTypes = (ExtensionData[]) object; + for (int i = 0; i < myTypes.length; i++) { + if (myTypes[i] == null || myTypes[i].getId() == null || myTypes[i].getName() == null) + return false; + } + return true; + } + + protected boolean validate(Object object) { + return checkMyType(object); + } +} diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/GroupData.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/GroupData.java new file mode 100644 index 000000000..7940c9d9c --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/GroupData.java @@ -0,0 +1,166 @@ +package org.eclipse.ui.internal.intro.universal; + +import java.io.PrintWriter; +import java.util.ArrayList; + +import org.eclipse.ui.intro.config.IntroElement; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + + +public class GroupData { + boolean fDefault=false; + private String path; + private ArrayList extensions = new ArrayList(); + + public GroupData(String path, boolean defaultGroup) { + fDefault = defaultGroup; + this.path = path; + } + + public GroupData(Element element) { + if (element.getNodeName().equals("hidden")) //$NON-NLS-1$ + path = IUniversalIntroConstants.HIDDEN; + else + path = element.getAttribute("path"); //$NON-NLS-1$ + NodeList children = element.getChildNodes(); + for (int i = 0; i < children.getLength(); i++) { + Node child = children.item(i); + if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equals("extension")) { //$NON-NLS-1$ + loadExtension((Element) child); + } + } + String df = element.getAttribute("default"); //$NON-NLS-1$ + if (df!=null && df.equalsIgnoreCase("true")) //$NON-NLS-1$ + fDefault = true; + } + + public boolean isHidden() { + return (path.equals(IUniversalIntroConstants.HIDDEN)); + } + + public boolean isDefault() { + return fDefault; + } + + public void addAnchors(ArrayList result) { + for (int i = 0; i < extensions.size(); i++) { + ExtensionData edata = (ExtensionData) extensions.get(i); + String id = edata.getId(); + IntroElement anchor = new IntroElement("anchor"); //$NON-NLS-1$ + anchor.setAttribute("id", id); //$NON-NLS-1$ + result.add(anchor); + } + } + + public void add(ExtensionData ed) { + extensions.add(ed); + ed.setParent(this); + } + public void add(int index, ExtensionData ed) { + extensions.add(index, ed); + ed.setParent(this); + } + public void remove(ExtensionData ed) { + extensions.remove(ed); + ed.setParent(null); + } + + public void addImplicitExtension(String id, String name) { + ExtensionData ed = new ExtensionData(id, name, IUniversalIntroConstants.LOW, true); + add(ed); + } + + private void loadExtension(Element element) { + String id = element.getAttribute("id"); //$NON-NLS-1$ + String name = element.getAttribute("name"); //$NON-NLS-1$ + String importance = element.getAttribute("importance"); //$NON-NLS-1$ + ExtensionData ed = new ExtensionData(id, name, importance, false); + add(ed); + } + + public int getExtensionCount() { + return extensions.size(); + } + + public ExtensionData[] getExtensions() { + return (ExtensionData[]) extensions.toArray(new ExtensionData[extensions.size()]); + } + + public String getPath() { + return path; + } + + public boolean contains(String extensionId) { + return find(extensionId)!=null; + } + + ExtensionData find(String extensionId) { + for (int i = 0; i < extensions.size(); i++) { + ExtensionData ed = (ExtensionData) extensions.get(i); + if (ed.getId().equals(extensionId)) + return ed; + } + return null; + } + + public int getIndexOf(ExtensionData ed) { + return extensions.indexOf(ed); + } + + public int getIndexOf(String extensionId) { + for (int i = 0; i < extensions.size(); i++) { + ExtensionData ed = (ExtensionData) extensions.get(i); + if (ed.getId().equals(extensionId)) + return i; + } + return -1; + } + + public boolean canMoveUp(ExtensionData ed) { + int index = extensions.indexOf(ed); + return (index>0); + } + + public boolean canMoveDown(ExtensionData ed) { + int index = extensions.indexOf(ed); + return (index!= -1 && index < extensions.size()-1); + } + + public void moveUp(ExtensionData ed) { + int index = extensions.indexOf(ed); + ExtensionData swapped = (ExtensionData)extensions.get(index-1); + extensions.set(index, swapped); + extensions.set(index-1, ed); + } + + public void moveDown(ExtensionData ed) { + int index = extensions.indexOf(ed); + ExtensionData swapped = (ExtensionData)extensions.get(index+1); + extensions.set(index, swapped); + extensions.set(index+1, ed); + } + + public void write(PrintWriter writer, String indent) { + writer.print(indent); + if (isHidden()) + writer.print(""); //$NON-NLS-1$ + else { + writer.print(""); //$NON-NLS-1$ + else + writer.println(">"); //$NON-NLS-1$ + } + for (int i=0; i"); //$NON-NLS-1$ + } +} \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IUniversalIntroConstants.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IUniversalIntroConstants.java new file mode 100644 index 000000000..4de49e6e1 --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IUniversalIntroConstants.java @@ -0,0 +1,101 @@ +/******************************************************************************* + * Copyright (c) 2004 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.ui.internal.intro.universal; + + +public interface IUniversalIntroConstants { + + // all attributes here are by default public static final. + + // General consts. + // --------------- + String PLUGIN_ID = "org.eclipse.ui.intro.universal"; //$NON-NLS-1$ + String PREFIX = PLUGIN_ID + "."; //$NON-NLS-1$ + + // Empty Standby Content part. This is registered in this plugin, + // through markup. + String EMPTY_STANDBY_CONTENT_PART = "org.eclipse.ui.intro.config.emptyStandby"; //$NON-NLS-1$ + + // Memento constants + // ------------------ + String MEMENTO_PRESENTATION_TAG = "presentation"; //$NON-NLS-1$ + String MEMENTO_CURRENT_PAGE_ATT = "currentPage"; //$NON-NLS-1$ + String MEMENTO_STANDBY_PART_TAG = "standbyPart"; //$NON-NLS-1$ + String MEMENTO_STANDBY_CONTENT_PART_ID_ATT = "contentPartID"; //$NON-NLS-1$ + String MEMENTO_STANDBY_CONTENT_PART_TAG = "standbyContentPart"; //$NON-NLS-1$ + String MEMENTO_RESTORE_ATT = "restore"; //$NON-NLS-1$ + + // CustomizableIntroPart consts: + // ----------------------------- + // key to retrieve if a standby part is needed. + String SHOW_STANDBY_PART = "showStandbyPart"; //$NON-NLS-1$ + + // Form implementation consts: + // --------------------------- + // key to retrieve the into link model object from imageHyperlink widget. + // convention: actual string value is class name. + String INTRO_LINK = "IntroLink"; //$NON-NLS-1$ + + // key to retrive page sub-title from PageContentForm + String PAGE_SUBTITLE = "PageSubtitle"; //$NON-NLS-1$ + + + // Performance keys + // ----------------------- + String INTRO = "intro"; //$NON-NLS-1$ + String PERF_VIEW_CREATION_TIME = PLUGIN_ID + "/perf/createView"; //$NON-NLS-1$ + String PERF_SET_STANDBY_STATE = PLUGIN_ID + "/perf/setStandbyState"; //$NON-NLS-1$ + // not exposed in .option. Used because framework is convenient. + String PERF_UI_ZOOM = PLUGIN_ID + "/perf/uiZoom"; //$NON-NLS-1$ + + // Universal Welcome + + String LOW = "low"; //$NON-NLS-1$ + String MEDIUM = "medium"; //$NON-NLS-1$ + String HIGH = "high"; //$NON-NLS-1$ + String CALLOUT = "callout"; //$NON-NLS-1$ + String HIDDEN = "hidden"; //$NON-NLS-1$ + String NEW = "new"; //$NON-NLS-1$ + + String STYLE_LOW = "importance-low"; //$NON-NLS-1$ + String STYLE_MEDIUM = "importance-medium"; //$NON-NLS-1$ + String STYLE_HIGH = "importance-high"; //$NON-NLS-1$ + String STYLE_CALLOUT = "importance-callout"; //$NON-NLS-1$ + String STYLE_NEW = "importance-new"; //$NON-NLS-1$ + String DEFAULT_ANCHOR = "defaultAnchor"; //$NON-NLS-1$ + String DEFAULT_CONTENT_PATH = "/page-content/bottom-left/"+DEFAULT_ANCHOR; //$NON-NLS-1$ + // Page ids + String ID_ROOT = "root"; //$NON-NLS-1$ + String ID_STANDBY = "standby"; //$NON-NLS-1$ + String ID_OVERVIEW = "overview";//$NON-NLS-1$ + String ID_TUTORIALS = "tutorials";//$NON-NLS-1$ + String ID_SAMPLES = "samples";//$NON-NLS-1$ + String ID_FIRSTSTEPS = "firststeps";//$NON-NLS-1$ + String ID_WHATSNEW = "whatsnew";//$NON-NLS-1$ + String ID_MIGRATE = "migrate";//$NON-NLS-1$ + String ID_WEBRESOURCES = "webresources";//$NON-NLS-1$ + + // Page DIV ids + String DIV_PAGE_LINKS = "page-links"; //$NON-NLS-1$ + String DIV_LAYOUT_TOP_LEFT = "top-left"; //$NON-NLS-1$ + String DIV_LAYOUT_TOP_RIGHT = "top-right"; //$NON-NLS-1$ + String DIV_LAYOUT_BOTTOM_LEFT = "bottom-left"; //$NON-NLS-1$ + String DIV_LAYOUT_BOTTOM_RIGHT = "bottom-right"; //$NON-NLS-1$ + + // Product intro variables + String VAR_INTRO_BACKGROUND_IMAGE = "INTRO_BACKGROUND_IMAGE"; //$NON-NLS-1$ + String VAR_INTRO_ROOT_PAGES = "INTRO_ROOT_PAGES"; //$NON-NLS-1$ + String VAR_INTRO_DATA = "INTRO_DATA"; //$NON-NLS-1$ + + //Page table properties + String P_IMPORTANCE = "importance"; //$NON-NLS-1$ + String P_NAME = "name"; //$NON-NLS-1$ +} diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IntroData.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IntroData.java new file mode 100644 index 000000000..154dd73c9 --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IntroData.java @@ -0,0 +1,189 @@ +package org.eclipse.ui.internal.intro.universal; + +import java.io.IOException; +import java.io.PrintWriter; +import java.io.StringReader; +import java.util.Enumeration; +import java.util.Hashtable; + +import javax.xml.parsers.DocumentBuilder; +import javax.xml.parsers.DocumentBuilderFactory; +import javax.xml.parsers.ParserConfigurationException; + +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.Platform; +import org.eclipse.ui.internal.intro.impl.model.loader.IntroContentParser; +import org.eclipse.ui.internal.intro.universal.util.BundleUtil; +import org.eclipse.ui.internal.intro.universal.util.Log; +import org.osgi.framework.Bundle; +import org.w3c.dom.Document; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; +import org.xml.sax.InputSource; +import org.xml.sax.SAXException; +import org.xml.sax.SAXParseException; + + +public class IntroData { + private String productId; + private Hashtable pages=new Hashtable(); + private boolean active; + + public IntroData(String productId, String fileNameOrData, boolean active) { + this.productId = productId; + this.active = active; + if (fileNameOrData!=null) + initialize(fileNameOrData); + } + + public String getProductId() { + return productId; + } + + public PageData getPage(String pageId) { + return (PageData)pages.get(pageId); + } + + public boolean isActive() { + return active; + } + + private void initialize(String fileNameOrData) { + Document doc = parse(fileNameOrData); + if (doc == null) + return; + Element root = doc.getDocumentElement(); + NodeList pages = root.getChildNodes(); + for (int i = 0; i < pages.getLength(); i++) { + Node node = pages.item(i); + if (node.getNodeType() == Node.ELEMENT_NODE && node.getNodeName().equals("page")) { //$NON-NLS-1$ + loadPage((Element) node); + } + } + } + + private void loadPage(Element page) { + PageData pd = new PageData(page); + pages.put(pd.getId(), pd); + } + + public void addImplicitContent() { + IConfigurationElement [] elements = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.ui.intro.configExtension"); //$NON-NLS-1$ + for (int i=0; i"); //$NON-NLS-1$ + writer.println(""); //$NON-NLS-1$ + for (Enumeration keys = pages.keys(); keys.hasMoreElements();) { + String id = (String)keys.nextElement(); + PageData pd = (PageData)pages.get(id); + pd.write(writer, " "); //$NON-NLS-1$ + } + writer.println(""); //$NON-NLS-1$ + } +} diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.java new file mode 100644 index 000000000..29df5b3ab --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.java @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2004, 2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.ui.internal.intro.universal; + +import org.eclipse.osgi.util.NLS; + +public class Messages extends NLS { + private static final String INTRO_RESOURCE_BUNDLE = "org.eclipse.ui.internal.intro.universal.Messages"; //$NON-NLS-1$ + + static { + initializeMessages(INTRO_RESOURCE_BUNDLE, Messages.class); + } + + // Misc + // ------- + public static String SharedIntroConfigurer_overview_name; + public static String SharedIntroConfigurer_overview_alt; + public static String SharedIntroConfigurer_overview_tooltip; + public static String SharedIntroConfigurer_firststeps_name; + public static String SharedIntroConfigurer_firststeps_alt; + public static String SharedIntroConfigurer_firststeps_tooltip; + public static String SharedIntroConfigurer_tutorials_name; + public static String SharedIntroConfigurer_tutorials_alt; + public static String SharedIntroConfigurer_tutorials_tooltip; + public static String SharedIntroConfigurer_samples_name; + public static String SharedIntroConfigurer_samples_alt; + public static String SharedIntroConfigurer_samples_tooltip; + public static String SharedIntroConfigurer_whatsnew_name; + public static String SharedIntroConfigurer_whatsnew_alt; + public static String SharedIntroConfigurer_whatsnew_tooltip; + public static String SharedIntroConfigurer_migrate_name; + public static String SharedIntroConfigurer_migrate_alt; + public static String SharedIntroConfigurer_migrate_tooltip; + public static String SharedIntroConfigurer_webresources_name; + public static String SharedIntroConfigurer_webresources_alt; + public static String SharedIntroConfigurer_webresources_tooltip; + public static String SharedIntroConfigurer_overview_nav; + public static String SharedIntroConfigurer_firststeps_nav; + public static String SharedIntroConfigurer_tutorials_nav; + public static String SharedIntroConfigurer_samples_nav; + public static String SharedIntroConfigurer_whatsnew_nav; + public static String SharedIntroConfigurer_migrate_nav; + public static String SharedIntroConfigurer_webresources_nav; + public static String WelcomeCustomizationPreferencePage_available; + public static String WelcomeCustomizationPreferencePage_left; + public static String WelcomeCustomizationPreferencePage_right; + public static String WelcomeCustomizationPreferencePage_background; + public static String WelcomeCustomizationPreferencePage_preview; + public static String WelcomeCustomizationPreferencePage_rootpages; + public static String WelcomeCustomizationPreferencePage_overview; + public static String WelcomeCustomizationPreferencePage_firststeps; + public static String WelcomeCustomizationPreferencePage_tutorials; + public static String WelcomeCustomizationPreferencePage_samples; + public static String WelcomeCustomizationPreferencePage_whatsnew; + public static String WelcomeCustomizationPreferencePage_webresources; + public static String WelcomeCustomizationPreferencePage_migrate; + public static String WelcomeCustomizationPreferencePage_applyToAll; + public static String ExtensionData_callout; + public static String ExtensionData_low; + public static String ExtensionData_medium; + public static String ExtensionData_high; + public static String ExtensionData_new; + public static String WelcomeCustomizationPreferencePage_serialize; + public static String WelcomeCustomizationPreferencePage_serializeTitle; + public static String WelcomeCustomizationPreferencePage_up; + public static String WelcomeCustomizationPreferencePage_down; + public static String WelcomeCustomizationPreferencePage_moveTo; + public static String WelcomeCustomizationPreferencePage_menu_available; + public static String WelcomeCustomizationPreferencePage_menu_top_left; + public static String WelcomeCustomizationPreferencePage_menu_top_right; + public static String WelcomeCustomizationPreferencePage_menu_bottom_left; + public static String WelcomeCustomizationPreferencePage_menu_bottom_right; + public static String WelcomeCustomizationPreferencePage_browse; + public static String WelcomeCustomizationPreferencePage_browseTitle; + public static String SharedIntroConfigurer_customize_label; + public static String SharedIntroConfigurer_customize_text; + public static String WelcomeCustomizationPreferencePage_pageDesc; +} \ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.properties b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.properties new file mode 100644 index 000000000..0a14e16a6 --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/Messages.properties @@ -0,0 +1,82 @@ +############################################################################### +# Copyright (c) 2000, 2005 IBM Corporation and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Eclipse Public License v1.0 +# which accompanies this distribution, and is available at +# http://www.eclipse.org/legal/epl-v10.html +# +# Contributors: +# IBM Corporation - initial API and implementation +############################################################################### + +# ============================================== +# Universal Welcome plugin properties file +# ============================================== + +# Configurer +SharedIntroConfigurer_overview_name=Overview +SharedIntroConfigurer_overview_alt=Overview +SharedIntroConfigurer_overview_tooltip=Find out what Eclipse is all about +SharedIntroConfigurer_firststeps_name=First Steps +SharedIntroConfigurer_firststeps_alt=First Steps +SharedIntroConfigurer_firststeps_tooltip=Make first steps +SharedIntroConfigurer_tutorials_name=Tutorials +SharedIntroConfigurer_tutorials_alt=Tutorials +SharedIntroConfigurer_tutorials_tooltip=Go through tutorials +SharedIntroConfigurer_samples_name=Samples +SharedIntroConfigurer_samples_alt=Samples +SharedIntroConfigurer_samples_tooltip=Try out the samples +SharedIntroConfigurer_whatsnew_name=What's New +SharedIntroConfigurer_whatsnew_alt=What's New +SharedIntroConfigurer_whatsnew_tooltip=Find out what is new +SharedIntroConfigurer_migrate_name=Migrate +SharedIntroConfigurer_migrate_alt=Migrate +SharedIntroConfigurer_migrate_tooltip=Migrate to the new release +SharedIntroConfigurer_customize_label=Customize +SharedIntroConfigurer_webresources_name=Web Resources +SharedIntroConfigurer_webresources_alt=Web Resources +SharedIntroConfigurer_webresources_tooltip=Read more on the Web +SharedIntroConfigurer_overview_nav=Overview +SharedIntroConfigurer_firststeps_nav=First Steps +SharedIntroConfigurer_customize_text=Customize page +SharedIntroConfigurer_tutorials_nav=Tutorials +SharedIntroConfigurer_samples_nav=Samples +SharedIntroConfigurer_whatsnew_nav=What's New +SharedIntroConfigurer_migrate_nav=Migrate +SharedIntroConfigurer_webresources_nav=Web Resources + +# Preference page +WelcomeCustomizationPreferencePage_left= Left Column: +WelcomeCustomizationPreferencePage_up= Move Up +WelcomeCustomizationPreferencePage_down=Move Down +WelcomeCustomizationPreferencePage_right= Right Column: +WelcomeCustomizationPreferencePage_browse=Browse... +WelcomeCustomizationPreferencePage_browseTitle=Select the background image file +WelcomeCustomizationPreferencePage_preview= Preview: +WelcomeCustomizationPreferencePage_samples= Samples +WelcomeCustomizationPreferencePage_migrate= Migrate +WelcomeCustomizationPreferencePage_moveTo=Move To +WelcomeCustomizationPreferencePage_available= Available Extensions: +WelcomeCustomizationPreferencePage_background= Home Page Theme: +WelcomeCustomizationPreferencePage_firststeps= First Steps +WelcomeCustomizationPreferencePage_applyToAll=Apply settings to all the products sharing this workbench +WelcomeCustomizationPreferencePage_menu_top_right= Top Right +WelcomeCustomizationPreferencePage_webresources= Web Resources +WelcomeCustomizationPreferencePage_menu_bottom_left=Bottom Left +WelcomeCustomizationPreferencePage_menu_bottom_right=Bottom Right +WelcomeCustomizationPreferencePage_rootpages= Root Pages: +WelcomeCustomizationPreferencePage_overview= Overview +WelcomeCustomizationPreferencePage_tutorials= Tutorials +WelcomeCustomizationPreferencePage_whatsnew= What's New +WelcomeCustomizationPreferencePage_pageDesc=Use drag and drop to position extensions on the page. +WelcomeCustomizationPreferencePage_serialize = Save As... +WelcomeCustomizationPreferencePage_menu_top_left=Top Left +WelcomeCustomizationPreferencePage_serializeTitle=Save the page layout data as a file +WelcomeCustomizationPreferencePage_menu_available=Available + +#Importance levels +ExtensionData_callout=Callout +ExtensionData_low=Low +ExtensionData_medium=Medium +ExtensionData_high=High +ExtensionData_new=New diff --git a/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/PageData.java b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/PageData.java new file mode 100644 index 000000000..1aca1a5bd --- /dev/null +++ b/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/PageData.java @@ -0,0 +1,180 @@ +package org.eclipse.ui.internal.intro.universal; + +import java.io.PrintWriter; +import java.util.ArrayList; + +import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.Path; +import org.w3c.dom.Element; +import org.w3c.dom.Node; +import org.w3c.dom.NodeList; + +public class PageData { + public static final String P_TOP_LEFT = "page-content/top-left"; //$NON-NLS-1$ + public static final String P_TOP_RIGHT = "page-content/top-right"; //$NON-NLS-1$ + public static final String P_BOTTOM_LEFT = "page-content/bottom-left"; //$NON-NLS-1$ + public static final String P_BOTTOM_RIGHT = "page-content/bottom-right"; //$NON-NLS-1$ + + private String id; + private ArrayList groups = new ArrayList(); + private GroupData hidden=null; + + public PageData(String id) { + this.id = id; + } + + public PageData(Element page) { + this.id = page.getAttribute("id"); //$NON-NLS-1$ + NodeList children = page.getChildNodes(); + for (int i=0; i