Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[amp-dev] SD integration


Hi Jonas,

I think that's a great strategy. I especially think it makes sense to add the model support as an extension, as we will be replacing the .metaabm model.

I think we definetly want to provide for extension points in AMP. The builder stuff is almost all boilerplate, and that would be nice to figure out an extension point for. It isnly 't so much the project wizard that would be important as the builders themselves. Unfortunately, there is one big challenge here that might prevent making this as straightforward as it should be. As far as I can tell, there is no way to have extension points which can themselves create subordinate extensions. So while it would be nice to have to just add some kind of org.eclipse.amp.amf.MetaABMBuilder extension point and have all of the wizards and related xml glue derive form that, all of that would have to be repeated.

Or perhaps you simply want to be able to have your own builders and project wizards? In that case, it wouldn't be necessary to create all of the above infrastructure but it would be nice to have. The builders are pretty generic already.

Note that Oliver Mannion has contributd changes to ProjectLoader that I think we're waiting for a reply on before we can put the change in. So I'd hold off on that part.

cheers,

Miles

Hi Miles, 

Implementing System Dynamics has reached a point where we’re able to simulate a simple SD model with AMP. It’s just calculating, no visualization yet. 

We’ve extended AMP at three different spots: 
-  metaabm.ecore (reference to SD model integrated) 
-  org.eclipse.amp.escape.amf.ide.EscapeAMFProjectWizard (SD builder added) 
-  org.eclipse.amp.escape.ide.ProjectLoader (classpath extended for SD) 

Code has not yet reached a point where it is ready to be committed, though. The question arises how to integrate our SD into the existing AMP without any dependencies from AMP to SD. Why wouldn’t we want any dependencies from AMP to SD? – At least while SD is still in an experimental state, it should not affect AMP’s release cycle. 

Our approach: Make SD an extension on top of AMP! Therefore we need AMP to have extension points to register our SD components. 
Would you support our efforts on that matter? Should we implement the needed extension points in AMP? 

Cheers, Jonas 

Back to the top