eMoflon / emoflon-core

Core components of eMoflon
Other
5 stars 1 forks source link

Improve our PSF import function #69

Closed anthonyanjorin closed 6 years ago

anthonyanjorin commented 6 years ago

Our little “cloud” menu to import PSFs is pretty but also quite useless at the moment. There are no pre-entered values and the standard PSF import in Eclipse is actually better because it can handle URLs, i.e., one doesn’t require the actual PSF file locally.

I propose we do two things:

What do you think @rolandkluge?

RolandKluge commented 6 years ago

Useless is a pretty hard word, given that eMoflon Tool already adds the eMoflon-Tool-specific entries. :-)

See here: https://github.com/eMoflon/emoflon-tool/blob/master/org.moflon.testing.autotester/plugin.xml#L21

anthonyanjorin commented 6 years ago

@rolandkluge Right - I‘d forgotten about the eMoflon-tool entries. I’ll have to experiment a bit and see how much of the required functionality for the commands is already in core. Providing a new extension point could reduce the required „code“ to just an extension that provides a URL.

anthonyanjorin commented 6 years ago

just added a simple extension point that can be used to register PSF URLs. This is now being used in Ibex to add the handbook PSF URLs. Seems to be working (as long as GitHub does not timeout).