Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » New Pallet
New Pallet [message #1122531] Tue, 01 October 2013 13:19 Go to next message
Tarcísio Couto is currently offline Tarcísio Couto
Messages: 29
Registered: May 2013
Junior Member
Hello guys,

I'm trying to create a new compartment in my pallet, I can do it, but I have a problem.

When I create a new tab for the class called Requires its OK. See the code below.


@gmf.link(source.decoration="none", target.decoration="square", color="0,0,0", source="relationshipSource", target="relationshipTarget")
class Requires extends VariantsRelationship {
attr String[1] name="requires";
}

var toolEntry;

var toolGroupVariabilityLink = new GmfTool!ToolGroup;
toolGroupVariabilityLink.title := "Variability Links";
toolGroupVariabilityLink.collapsible := true;
pallet.tools.add(toolGroupVariabilityLink);

toolEntry = toolGroupConnections.tools.selectOne(r|r.title = 'Requires');
toolGroupVariabilityLink.tools.add(toolEntry);

But when I try to do the same for the link in red below, it doens't work, I don't how the right way to do that like the class above.

@gmf.node(figure="rectangle", label.placement="internal", label.icon="false", label="wfPattern", border.color="0,0,0", style="dot")
class WorkflowPattern {
attr WorkflowPatternType wfPattern = "WorkflowPattern.SEQUENCE";
id attr String[1] ~id;
@gmf.link(source.decoration="none", target.decoration="closedarrow", color="0,0,0")
ref Variant[1]#pattern variantSource;
}


Re: New Pallet [message #1124503 is a reply to message #1122531] Thu, 03 October 2013 11:51 Go to previous message
Dimitris Kolovos is currently offline Dimitris Kolovos
Messages: 698
Registered: July 2009
Senior Member
Hi,

Could you please put together a minimal example [1] we can use to reproduce this?

Cheers,
Dimitris

[1] http://eclipse.org/epsilon/doc/articles/minimal-examples/
Previous Topic:Problem Opening Wizard
Next Topic:Eugenia Epsilon
Goto Forum:
  


Current Time: Thu Apr 17 11:33:17 EDT 2014

Powered by FUDForum. Page generated in 0.01993 seconds