Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » New Pallet
New Pallet [message #1122531] Tue, 01 October 2013 17:19 Go to next message
Tarcísio Couto is currently offline Tarcísio CoutoFriend
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 15:51 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2154
Registered: July 2009
Location: York, UK
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: Fri Mar 29 07:02:56 GMT 2024

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

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

Back to the top