ptanov / epf-process-validator

Set of plugins to be contributed to Eclipse Process Framework (EPF) for validating processes
0 stars 0 forks source link

Order of registering of custom type handlers #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Custom type handlers should have order, because one can depend on other

Original issue reported on code.google.com by 1.Pla...@gmail.com on 23 Jan 2011 at 6:00

GoogleCodeExporter commented 9 years ago
Move TypesActivator.initExtendedUmaPackage() to CustomTypeHandlerServiceImpl. 
Call register() before adding to map

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:02

GoogleCodeExporter commented 9 years ago
Issue 128 has been merged into this issue.

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:02

GoogleCodeExporter commented 9 years ago
Type handlers are registered in order they come from extension service

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:12

GoogleCodeExporter commented 9 years ago
Type handlers are registered in order they come from extension service, code 
moved from TypesActivator to CustomTypeHandlersServiceImpl

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:16

GoogleCodeExporter commented 9 years ago
CustomTypeHandlersService.getHandlers() should not be public

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:22

GoogleCodeExporter commented 9 years ago
getHandlers() removed from interface of CustomTypeHandlersService

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 6:24

GoogleCodeExporter commented 9 years ago
It seems like extension service returns contributions in random order - some 
mechanism for dependencies should be created

Original comment by 1.Pla...@gmail.com on 23 Jan 2011 at 10:09

GoogleCodeExporter commented 9 years ago
Added method isReadyToRegisterType() that is called before registering

Original comment by 1.Pla...@gmail.com on 24 Jan 2011 at 6:17

GoogleCodeExporter commented 9 years ago
Updated archetype to respect to new method 
CustomTypeHandler.isReadyToRegisterType()

Original comment by 1.Pla...@gmail.com on 24 Jan 2011 at 9:45