Skip to content

Commit

Permalink
left alignged name + new shape
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertBellekens committed Sep 26, 2016
1 parent b744f8a commit 457453c
Show file tree
Hide file tree
Showing 22 changed files with 68 additions and 21 deletions.
47 changes: 47 additions & 0 deletions RM Requirements/customer segment.shapescript
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
shape main
{

DefSize(130,75);
AddSubShape("process",100,100);
if (HasProperty("stereotypehidden","true"))
{
addSubShape("name",100,10,0,-90);
}else
{
addSubShape("stereotype",100,10,0,-95);
addSubShape("name",100,10,0,-90);
}

shape process
{


StartPath();
lineto(85,0);
lineto(100,50);
lineto(85,100);
lineto(0,100);
lineto(15,50);
lineto(0,0);
endpath();
FillAndStrokePath();

}
shape name
{
h_align = "center";
v_align = "TOP";
editablefield = "name";
PrintWrapped("#name#");
}

shape stereotype
{
h_align = "center";
v_align = "TOP";
editablefield = "stereotype";
println("«#stereotype#»");
}


}
2 changes: 1 addition & 1 deletion RM Requirements/requirement_AR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_App.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_BR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_DR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_FR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_GR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_IT.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_NFR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_PM.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_PR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_QoS.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_SI.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_SR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_TR.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_UI.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_concern.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_gap.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_legal.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_need.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_policy.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down
2 changes: 1 addition & 1 deletion RM Requirements/requirement_risk.shapescript
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ shape borderBlock
}
shape nameCompartment
{
h_align = "center";
h_align = "left";
v_align = "center";
editablefield = "name";
SetPenColor(GetUserBorderColor());
Expand Down

0 comments on commit 457453c

Please sign in to comment.