Bug 144993 - Layout Service and its schema causes plugins to load
Summary: Layout Service and its schema causes plugins to load
Status: REOPENED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2006-06-01 18:22 EDT by Maneesh CLA
Modified: 2006-06-07 10:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maneesh CLA 2006-06-01 18:22:15 EDT
Layout Service schema isn't sufficient to delay load the plugins. There is no expression to specify the provides condition in the schema to specify condition for provides
Comment 1 Anthony Hunter CLA 2006-06-02 11:49:59 EDT
Since we are past API freeze, we can add optional items to the schema and clients can make use of this.
Comment 2 Cherie Revells CLA 2006-06-07 09:39:37 EDT
Instead of introducing complex schema to the layout providers extension point, clients can resolve this issue by putting their provider class in a package that will not cause their plugin to load.  This is done by adding an entry like this to the MANIFEST.MF file:
Eclipse-LazyStart: true; exceptions="org.eclipse.gmf.examples.runtime.diagram.logic.internal.providers"

The advantages to this approach are:
1) we do not need to bother with the complex schema in the layout provider schema
2) it is alot easier for clients to write the above line than the complex schema required.
Comment 3 Cherie Revells CLA 2006-06-07 10:27:01 EDT
I'm going to change this to an enhancement request because it is possible that the exception list will not be sufficient for some clients.
Comment 4 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug