Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » MPart vs. MPartDescriptor
MPart vs. MPartDescriptor [message #580465] Wed, 11 August 2010 02:37 Go to next message
Eclipse UserFriend
Can somebody explain me why there is an MPart and a MPartDescriptor interface? What is the idea behind these two interfaces? What is the technical distinction?
Re: MPart vs. MPartDescriptor [message #580484 is a reply to message #580465] Wed, 11 August 2010 02:52 Go to previous message
Eclipse UserFriend
Hi,

The difference between those is similar to the one between Class and
Object in Java. MPartDescription is the blueprint for MPart instances
who are the instances you add to your UI-Structure (e.g. as children of
an MPartStack).

If you look at the ShowView-Menu you see all registered MPartDescriptors
and clicking on one of those the system creates an MPart-instance from
them and places them into the UI-Structure.

You can also compare them to ViewDescriptor/EditorDescriptor in 3.x and
their real UI counterparts ViewPart and EditorPart.

Tom

Am 11.08.10 08:37, schrieb Heiko:
> Can somebody explain me why there is an MPart and a MPartDescriptor
> interface? What is the idea behind these two interfaces? What is the
> technical distinction?
Previous Topic:Databinding: tableviewer does not refresh automatically
Next Topic:MPart vs. MPartDescriptor
Goto Forum:
  


Current Time: Sat Jul 05 05:55:25 EDT 2025

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

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

Back to the top