eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] UML is not as optional as it should be #1909

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 526813 | | Status | NEW | | Importance | P3 normal | | Reported | Nov 03, 2017 08:01 EDT | | Modified | Mar 15, 2022 10:39 EDT | | See also | 358708, 376685, 574430, 577825 | | Reporter | Ed Willink |

Description

PivotStandaloneSetup initializes the LabelRegistry that loads all label extension point contributors, thereby starting up pivotuml.

LabelGeneratorRegistryReader should create descriptors to defer loading.

NB. This is probably not the only bad pivotuml startup mechanism.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Jun 12, 2018 08:50

Bug 358708#c4 is resigned to configuring UML support for a Complete OCL editor.

Problem is 'eager' use of UMLASResourceFactory. Perhaps we can have some Role / Technology / Strategy object that can be upgraded lazily once UML usage is apparent.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Feb 22, 2019 12:10

The new ASResourceFactory.createEnvironmentFactory or something like QVTd' CreateStrategy or may be just the Technology can perhaps be upgraded from OCL to UML once there is evidence that the cost of UML is necessary.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Sep 27, 2019 04:13

Review the ASResourceFactoryRegistry.getASResourceFactory complexity that is solely for the benefit of a not-loaded UML.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Mar 15, 2022 10:39

Bug 574430 advocates a transitive import analysis as the prelude to loading. This should be able to detect whether UML support is required and allow an accurate without/with UML choice.

Bug 577825 suggests that a distinct OCLbuiltinModel.java might be appropriate when UML functionality is appropriate.