Skip to main content



      Home
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 Go to next message
Eclipse UserFriend
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 #310102 is a reply to message #310093] Tue, 21 November 2006 08:51 Go to previous messageGo to next message
Eclipse UserFriend
platform supplies the platform product ... workbench and workspace, some
perspectives like the resource perspective, and views, etc.

SDK supplies the SDK application ... JDT, PDE, as well as platform.

Technically, they're 2 different RCP apps ... one provides the platform,
and the other provides the platform+JDT+PDE. They're 2 different
products (and so they must define product level attributes).

Later,
PW
Re: What does platform plug-in do? [message #310107 is a reply to message #310102] Tue, 21 November 2006 11:50 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Edit file on DB BLOB
Next Topic:EFS: LocalFileSystem and Windows root dirs
Goto Forum:
  


Current Time: Tue Jul 22 14:03:18 EDT 2025

Powered by FUDForum. Page generated in 0.04518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top