Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

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 is currently offline 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 is currently offline 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 is currently offline 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
Re: Xtext Save Action [message #1060703 is a reply to message #1060333] Tue, 28 May 2013 02:52
junior developer is currently offline junior developer
Messages: 150
Registered: January 2013
Senior Member
Hi Christian,

I want to create field automatically,
When I create an element,ist default fields are created automatically.Which class is used for this.How can I do ?

Best Regrads,
Re: Xtext Save Action [message #1060705 is a reply to message #1060703] Tue, 28 May 2013 02:57
Christian Dietrich is currently offline Christian Dietrich
Messages: 4428
Registered: July 2009
Senior Member
Sorry i cant follow you.
 Topic: Add my var in Quick Reference
Re: Add my var in Quick Reference [message #1060707 is a reply to message #1060693] Tue, 28 May 2013 03:02
Christian Dietrich is currently offline Christian Dietrich
Messages: 4428
Registered: July 2009
Senior Member
Hmmm this term for cross references is new for me Wink
Forum: BIRT
 Topic: Get percentage value by group
Re: Get percentage value by group [message #1060708 is a reply to message #1060331] Tue, 28 May 2013 03:15
imtinene rjeb is currently offline imtinene rjeb
Messages: 3
Registered: May 2013
Junior Member
I was able to understand and resolve my issue.
Thanks for your help.
Regards
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 is currently online 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




Current Time: Tue May 28 03:34:16 EDT 2013

Powered by FUDForum. Page generated in 0.02147 seconds