Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Using EWL or EOL(which language is more suitable to change UML model)
Using EWL or EOL [message #1747628] Wed, 16 November 2016 15:40 Go to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
Hi,
I want to change UML deployment diagram by adding more devices or new artifacts and also i want to change activity diagram by adding new activity or adding activityPartition or adding CallOperationAction..etc
My question is which is more suitable or powerful to do that changes EOL or EWL??


Thanks,
Taghreed
Re: Using EWL or EOL [message #1747630 is a reply to message #1747628] Wed, 16 November 2016 15:47 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

When it comes to performing the change, EWL is literally EOL.

The main difference is that with EWL, you can provide it as a right-click operation on the relevant model element, whereas with EOL you need to provide your own UI to launch the change.
Re: Using EWL or EOL [message #1747631 is a reply to message #1747630] Wed, 16 November 2016 15:52 Go to previous messageGo to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
Thanks
Re: Using EWL or EOL [message #1747782 is a reply to message #1747631] Wed, 16 November 2016 16:38 Go to previous messageGo to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
I am trying to run this wizard but i cannot see the wizard when i right click on the model .Can you please help me how can i run this wizard:
wizard AddDeviceToModel{

// The wizard applies when a model is selected
guard : self.isTypeOf(UML!Model)
title : "add device " + self.name + " model"
do {for (m in UML!Model){
var d : new Device;
m.packagedElement.add(d);// the name of the relation between the model and device
d.name="newDevice5";
}//end of the loop
}
}
Re: Using EWL or EOL [message #1747910 is a reply to message #1747782] Wed, 16 November 2016 17:16 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Did you add the "org.eclipse.epsilon.ewl.emf.wizards" extension to the plugin providing the .ewl script? See here:

https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/plain/examples/org.eclipse.epsilon.eugenia.examples.flowchart.extensions/plugin.xml


Re: Using EWL or EOL [message #1747912 is a reply to message #1747910] Wed, 16 November 2016 17:34 Go to previous messageGo to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
no i did not.
How can i add it ???
Re: Using EWL or EOL [message #1748009 is a reply to message #1747912] Thu, 17 November 2016 16:35 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

You need to open your META-INF/MANIFEST.MF file, go to the "Extensions" tab and add it with the Eclipse UI. To see that tab, the project with your EWL file must be a Plug-in Project, by the way.
Re: Using EWL or EOL [message #1748044 is a reply to message #1748009] Fri, 18 November 2016 03:37 Go to previous messageGo to next message
taghreed altamimi is currently offline taghreed altamimiFriend
Messages: 184
Registered: October 2014
Senior Member
Hi
Can you please tell me which template i have to use to create plug-in project.
Sorry for keep asking for all details but this is my first time working with plug-in projects.

Thanks,
Taghreed
Re: Using EWL or EOL [message #1748066 is a reply to message #1748044] Fri, 18 November 2016 10:15 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

I would suggest looking into existing tutorials for developing Eclipse plugins. Perhaps these two would help?

http://agile.csc.ncsu.edu/SEMaterials/tutorials/plugin_dev/
http://www.vogella.com/tutorials/EclipseExtensionPoint/article.html
Previous Topic:Properties of applied stereotypes in UML model by EOL
Next Topic:Error in import models in same project
Goto Forum:
  


Current Time: Fri Apr 19 06:15:44 GMT 2024

Powered by FUDForum. Page generated in 0.02589 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top