Hi,
We contact you because we need some information on the ease’s code. We have a customer interested in using this tool (particularly the modeling features) and we would like to contribute at ease’s development.
At Atos we have strong skills in modelling technologies and we would be glad to help you on these bundles.
We tried to run the actual ease’s code of the git on runtime, and encountered some troubles with :
- the context menu and the scripts discovery.
- Some modeling modules
Actually, some code of the menu visibility analysis (script header containing “VisibleWhen” “Menu” …) relies on a specific project nature which seems obsolete.
We would like to rely on the locations scripts selected by the user in the preference page. Our problem is that the data of the preference page are accessible by classes situated in org.eclipse.ease.ui, the method that uses the obsolete project nature
is situated in org.eclipse.storedscript, but there is a dependency between org.eclipse.ease.ui and org.eclipse.storedscript so If I try to access informations from preference page, I run into a circular dependency.
We identified 3 solutions and need advices of the dev team
- Scan all projects to find the scripts for the menu no matter their project nature
- Move the class PreferencesHelper from org.eclipse.ease.ui to org.eclipse.ease (along with the interface IScriptLocation)
- Duplicate the code from the PreferenceHelper class in order to access directly to the prefpage datas
I noticed that the dynamic context menu “scripts” needs an extension of the extension point “org.eclipse.ease.storedscript.metadata” to work out. More than that, it needs both objects (metadata and parser) to be filled somehow in order to be able
to show some element. The fact is that I couldn’t find any parser in the code from the gits. I tried to create a dummy one, and then, the context menu started to work fine. Is there some projects that I’m missing (I took all projects from org.eclipse.ease.core.git
and org.eclipse.ease.modules.git) where parsers are defined? Should I develop a parser for js headers ? If yes, in which project should I put it?
We had some issues with getSelection() in the modeling module too, but me managed to fix it. It is now functional in our workspaces.
Regards ,
Ce message et toutes les pièces jointes (ci-après le "message") sont établis à l’intention exclusive des destinataires désignés. Il contient des informations confidentielles et pouvant
être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire le message. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale
ou partielle, est interdite, sauf autorisation expresse de l’émetteur. L'internet ne garantissant pas l'intégrité de ce message lors de son acheminement, Atos (et ses filiales) décline(nt) toute responsabilité au titre de son contenu. Bien que ce message ait
fait l’objet d’un traitement anti-virus lors de son envoi, l’émetteur ne peut garantir l’absence totale de logiciels malveillants dans son contenu et ne pourrait être tenu pour responsable des dommages engendrés par la transmission de l’un d’eux.
This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use
of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries
decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus
transmitted.