| Forum: UML2 |
|---|
| Topic: Loading UML-Model with papyrus-profile applied |
|---|
| Re: Loading UML-Model with papyrus-profile applied [message #1060700 is a reply to message #1060187] |
Tue, 28 May 2013 02:23 |
Ba sti Messages: 8 Registered: February 2013 |
Junior Member |
|
|
hi christian,
the stereotypes that are missing are all defined in "pathmap://SysML_PROFILES/SysML.profile.uml". So i thought it is a mapping problem like the one with the papyrus-documentation, so i´ve added this line to my code:
uriMap.put(URI.createURI("pathmap://SysML_PROFILES/SysML.profile.uml"), URI.createURI("file:/D:/.../plugins/sysml/org.eclipse.papyrus.sysml/model/SysML.profile.uml/"));
This only solved the problem with my own stereotypes that are based on stereotypes defined in this profile, they are accessable now. But it is still not possible to access the SysML-stereotypes..
Regards,
Basti
|
|
|
| Forum: EGL Development Tools |
|---|
| Topic: Screen Navigation Using EDT Eclipse |
|---|
| Re: Screen Navigation Using EDT Eclipse [message #1060701 is a reply to message #1060690] |
Tue, 28 May 2013 02:30 |
gio coot Messages: 20 Registered: December 2012 |
Junior Member |
|
|
Hi Richard
thanks for you reply; as i'm new to EGL, i'm looking for small and simple aplication (like could be this "EDT_Issue_NavigatingScreens.doc") for learn the logic to login to the server/database (i'm a RPG programmer on iSeries), and how to build application to manage master files (inventory, customers) and manage invoicing .. etc etc.
Thanks in advance for you help
Gio
|
|
|
| Forum: Eclipse 4 |
|---|
| Topic: singleton part |
|---|
| Re: singleton part [message #1060702 is a reply to message #1060685] |
Tue, 28 May 2013 02:48 |
Dirk Fauth Messages: 526 Registered: July 2012 |
Senior Member |
|
|
|
If you create your instance with the new operator there is no injection. I think what you want to do is inject the current available MyViewPart into your LoadDataHandler.execute()
|
|
|
| Forum: TMF (Xtext) |
|---|
| Topic: Xtext Save Action |
|---|
|
|
| Topic: Add my var in Quick Reference |
|---|
|
| Forum: BIRT |
|---|
| Topic: Get percentage value by group |
|---|
|
| Forum: Epsilon |
|---|
| Topic: Visualising an expression grammar |
|---|
| Re: Visualising an expression grammar [message #1060709 is a reply to message #1059971] |
Tue, 28 May 2013 03:26 |
Claudio Heeg Messages: 54 Registered: April 2013 |
Member |
|
|
Hello,
after a little work I managed to put up the important formulae in tree-form, see the attachment.
I did this by heavily annotating every function, i.e. every parameter of every function got a gmf.link() to show in the tree.
And that, as you might imagine, caused me to run into out-of-heapspace errors and the like and made it impossible to generate diagram code.
As, first of all, the tree view doesn't look all too nice and secondly is costly, I wonder if I could instead put at lease the Parameters of a proper, non-primitive function (i.e. everything except +-*/) into that function's compartment?
I did try gmf.compartment(foo="bar") on the parameters, but that didn't seem to work ("Called feature domainMetaElement on undefined object").
A snippet of the grammar look as following:
Function_Simple:
Abs | Cos;
Abs:
name='Abs''('add=Addition')';
Cos:
name='Cos''('add=Addition')';
As you can see those functions can include additions by themselves, so the corresponding Emfatic file snippet looks as follows:
class Expression {
}
@gmf.node(label="name", phantom="true")
class Function_Simple extends Expression {
attr String name;
@gmf.compartment(foo="bar") // that doesn't work, @gmf.link() does
val Expression add;
}
class Abs extends Function_Simple {
}
class Cos extends Function_Simple {
}
Any help would, as always, be greatly appreciated.
[Updated on: Tue, 28 May 2013 03:26] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02147 seconds