Home » Eclipse Projects » Eclipse Platform » What does platform plug-in do?
What does platform plug-in do? [message #310093] |
Mon, 20 November 2006 17:33  |
Eclipse User |
|
|
|
I understand the startup.jar, but all of the (internal) classes in
platform.jar seem to be specific to UI or intro functionality. Why are
these in org.eclipse.platform?
Why does the platform plugin.xml declare the same product and intro
extension points as the sdk plug-in, and why does the platform plug-in
contribute universal intro extension content? Shouldn't that all be
contributed by the sdk "product" plug-in?
Maybe these are leftovers from the Eclipse 3.1 refactoring, when sdk
became the real product plug-in, but this apparent lack of coordination
makes a poor exemplary implementation, and worse, it makes creating
products/apps on the Eclipse platform unnecessarily messy.
Any thought of cleaning this up in 3.3?
Thanks.
Dave R
|
|
| |
Re: What does platform plug-in do? [message #310107 is a reply to message #310102] |
Tue, 21 November 2006 11:50   |
Eclipse User |
|
|
|
If you look at extension points in the org.eclipse.platform plug-in
manifest, it contributes only product, intro, cheat sheet content, intro
config extension, and a preference page. If you look in the platform jar
files, you see they implement a few UI odds-n-ends, and (the only real
platform-specific functionality) the startup handling.
I don't see anywhere that org.eclipse.platform contributes a perspective,
view, workbench, etc.
OTOH, the org.eclipse.sdk plug-in contributes product, intro, activities,
wizards, a preference page, help activity support, workbench activity
support, help search engines, and action sets. This certainly looks more
like a real "product" to me.
I would suggest that the only unique things org.eclipse.platform
contributes in its plug-in manifest (intro config extension and a
preference page) should be contributed instead by the sdk plug-in, and
that the product contribution should be removed from the platform plug-in,
so it is properly relegated to being a platform startup handler.
To me it looks like sdk and platform are two different products, with two
different product IDs (org.eclipse.sdk.ide and org.eclipse.platform.ide),
but since they share a common application entry-point
(org.eclipse.ui.ide.workbench), they are arguably not really two different
RCP apps.
A "platform" isn't a "product" anyway. Otherwise, any product built on the
platform would actually be just a (platform) product extension, unless it
re-implemented the platform, which doesn't make sense.
I could be wrong, but to me it looks like these product-related
contributions in the platform plug-in are vestiges of the original
(somewhat clumsy) "product" implementation in Eclipse 3.0, when the
platform contributed the product and the sdk contributed only activities
and wizards.
|
|
|
Re: What does platform plug-in do? [message #310109 is a reply to message #310107] |
Tue, 21 November 2006 13:16  |
Eclipse User |
|
|
|
Dave Resch wrote:
>
> To me it looks like sdk and platform are two different products, with
> two different product IDs (org.eclipse.sdk.ide and
> org.eclipse.platform.ide), but since they share a common application
> entry-point (org.eclipse.ui.ide.workbench), they are arguably not really
> two different RCP apps.
They are 2 different RCP applications.
You can download the platform runtime ... there is no sdk plugin, so the
platform product must be a runnable "bit".
Later,
PW
|
|
|
Goto Forum:
Current Time: Tue Jul 22 07:43:32 EDT 2025
Powered by FUDForum. Page generated in 0.05316 seconds
|