Bug 110635

Summary: Delay configuration of services
Product: [Modeling] GMF-Runtime Reporter: Keith W. Campbell <keithc>
Component: GeneralAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: contributed, performance
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 110485    
Bug Blocks:    
Attachments:
Description Flags
org.eclipse.gmf.runtime.common.ui.services-patch.txt
none
org.eclipse.gmf.runtime.common.ui.services.action-patch.txt
none
org.eclipse.gmf.runtime.common.ui.services.dnd-patch.txt
none
org.eclipse.gmf.runtime.common.ui.services.properties-patch.txt
none
org.eclipse.gmf.runtime.diagram.core-patch.txt
none
org.eclipse.gmf.runtime.diagram.ui-patch.txt
none
org.eclipse.gmf.runtime.emf.core-patch.txt
none
org.eclipse.gmf.runtime.emf.ui-patch.txt
none
additional patch for org.eclipse.gmf.runtime.diagram.core
none
incremental patch for org.eclipse.gmf.runtime.diagram.ui none

Description Keith W. Campbell CLA 2005-09-26 12:49:49 EDT
Plugins should not load and configure services on startup: they may never
be used in some runs.

Patches will follow for
  org.eclipse.gmf.runtime.common.ui.services
  org.eclipse.gmf.runtime.common.ui.services.action
  org.eclipse.gmf.runtime.common.ui.services.dnd
  org.eclipse.gmf.runtime.common.ui.services.properties
  org.eclipse.gmf.runtime.diagram.core
  org.eclipse.gmf.runtime.diagram.ui
  org.eclipse.gmf.runtime.emf.core
  org.eclipse.gmf.runtime.emf.ui
Comment 1 Keith W. Campbell CLA 2005-09-26 12:50:52 EDT
Created attachment 27522 [details]
org.eclipse.gmf.runtime.common.ui.services-patch.txt
Comment 2 Keith W. Campbell CLA 2005-09-26 12:51:21 EDT
Created attachment 27523 [details]
org.eclipse.gmf.runtime.common.ui.services.action-patch.txt
Comment 3 Keith W. Campbell CLA 2005-09-26 12:51:43 EDT
Created attachment 27524 [details]
org.eclipse.gmf.runtime.common.ui.services.dnd-patch.txt
Comment 4 Keith W. Campbell CLA 2005-09-26 12:52:05 EDT
Created attachment 27525 [details]
org.eclipse.gmf.runtime.common.ui.services.properties-patch.txt
Comment 5 Keith W. Campbell CLA 2005-09-26 12:52:32 EDT
Created attachment 27526 [details]
org.eclipse.gmf.runtime.diagram.core-patch.txt
Comment 6 Keith W. Campbell CLA 2005-09-26 12:52:53 EDT
Created attachment 27527 [details]
org.eclipse.gmf.runtime.diagram.ui-patch.txt
Comment 7 Keith W. Campbell CLA 2005-09-26 12:53:12 EDT
Created attachment 27528 [details]
org.eclipse.gmf.runtime.emf.core-patch.txt
Comment 8 Keith W. Campbell CLA 2005-09-26 12:53:32 EDT
Created attachment 27529 [details]
org.eclipse.gmf.runtime.emf.ui-patch.txt
Comment 9 Keith W. Campbell CLA 2005-09-26 12:54:11 EDT
Noted dependency on bug 110485.
Comment 10 Anthony Hunter CLA 2005-10-05 10:23:01 EDT
Delivered the patches
Comment 11 Keith W. Campbell CLA 2005-10-24 09:52:02 EDT
Created attachment 28681 [details]
additional patch for org.eclipse.gmf.runtime.diagram.core

DiagramPlugin
  + PresentationListener is defined by this plugin - stop listening here
    rather than in org.eclipse.gmf.runtime.diagram.ui

PresentationListener
  + avoid race conditions by initializing instance statically
  + start listening in constructor rather than as plugin is loaded
  + streamline addListenersOfNotifier
Comment 12 Keith W. Campbell CLA 2005-10-24 09:53:24 EDT
Created attachment 28682 [details]
incremental patch for org.eclipse.gmf.runtime.diagram.ui

DiagramUIPlugin
  + change type of singleton to eliminate need for casts
  + simplify getPluginId
  + PresentationListener is defined by org.eclipse.gmf.runtime.diagram.core:
    listening should be managed there
Comment 13 Eclipse Webmaster CLA 2010-07-19 21:55:23 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Common was the original product and component for this bug