Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - bITs.EA

Pages: 1 [2] 3
General Board / Forum issue: No emails
« on: October 09, 2013, 07:38:06 pm »

A couple of days ago, I requested a "forgot pasword" email as a test, but I never received one on my gmail. (I checked my spam and the mails aren't there either)

This was the same on my previous account. I forgot my pasword and never received a 'forgot pasword' email... So I had to create a new account. Sparx helpdesk never answered my email too (great job guys!).

Is this an issue on the forum?

Automation Interface, Add-Ins and Tools / MDG: toolbox hidden submenu
« on: September 19, 2015, 03:18:11 am »

I have a problem with my MDG technology (made in EA with the MDG profile).

The structure of my toolbox
- Activity
- Start Event
- ...
- Message
- Sequence

I have created everything like described in the user guide. Stereotypes for each 'page' : elements and connectors and an extra stereotype for the hidden page 'start event'. But when I "save package as UML profile", the 'start event' stereotype is not in the UML...

Code: [Select]
<UMLProfile profiletype="uml2">
      <Documentation id="00272BED-C" name="toolbox" version="1.0" notes="toolbox"/>
                  <Stereotype name="elements" notes="Selection of elements used at ****" cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
                              <Apply type="ToolboxPage"/>
                              <Tag name="BPMN::Activity(UML::Activity)" type="" description="" unit="" values="" default="Activity"/>
                              <Tag name="BPMN::StartEvent" type="" description="" unit="" values="" default="Start Event"/>
                  <Stereotype name="BPMN connectors" notes="" cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
                              <Apply type="ToolboxPage"/>
                              <Tag name="BPMN::Message Flow(UML::ControlFlow)" type="" description="" unit="" values="" default="Message Flow"/>
                              <Tag name="BPMN::Sequence Flow(UML::ControlFlow)" type="" description="" unit="" values="" default="Sequence Flow"/>

Why are the "hiddenpage" stereotypes missing???

I use EA v11.1.1111

Thanks for the help!



When I print text in my shape at the bottom, the text is shown outside my shape. So I want to move the text up for a certain amount of pixels (or percentages). I experimented with the bottomAncorOffset, but it doesn't seem to work... (see code below).

Am I doing something wrong or is there another way to move text in a shape?

Code: [Select]
Arcto(25, 25, 85, 85, 25, 50, 85, 50);


shape nameBottom
      bottomAnchorOffset = (0,-30);
      h_align = "center";
      Printwrapped("Bottom: #NAME#");


Automation Interface, Add-Ins and Tools / Shape script : curved arrow
« on: April 24, 2014, 12:42:51 am »

With the following code I can make a curved arrow if I do strokepath (outline are drawn correctly). The problems start when I want to fill this shape: at that point, extra lines are drawn to complete the arc)

Does anybody knows how I can draw a nicely filled curved arrow?


Code: [Select]
shape main{
      noshadow = "true";
      Arc(0, 0, 90, 100, 100, 50, 0, 50);
      Arc(15, 15, 75, 75, 75, 50, 15, 50);

Automation Interface, Add-Ins and Tools / Shape script: text color
« on: April 23, 2014, 01:42:24 am »
Is it possible to change the text color of a shape script?

In the user guide they say "You cannot change the font size, type or color of this text." So is there another way to change this (I want to implement it in an MDG, so it has to be a configurable alternative, no manual workarounds).



I'm making my own MDG. For certain diagrams, I don't want to show the elements' package content (when I drag and drop a package onto the diagram).

How can I make this a default property of my diagram (in my MDG). In the "Edit with Profile Helper" properties, there are a lot of properties but I can't find the "ShowPackageContents" property. (In the database, there is a separate column in t_diagram for this property : "ShowPackageContents").




I have made a model view with a customized search (sql-search). I want my colleagues to be able to see this search too.

They can see the model view, but the search doesn't give a result because EA can't find my custom search.

How can I deploy 'my searches' to all my colleagues?? Is there a way to make the searches visible for everyone??


Automation Interface, Add-Ins and Tools / Linked documents content
« on: January 15, 2014, 02:47:04 am »
A simple question: in which database table is the linked document content stored?


I'm trying to get a package-object from the repository (get by id) and get the package name.

Here's a code snippet:

Code: [Select]
org.sparx.Package oPackage = null;
oPackage = repo.GetPackageByID(Integer.parseInt(packageID));
String sName = oPackage.Name;

When I run my script, I get the following compile error

Code: [Select] error: cannot find symbol
                String sName = oPackage.Name;
  symbol:   variable Name
  location: variable oPackage of type Package
1 error

What am I doing wrong???

Automation Interface, Add-Ins and Tools / Synchronize stereotype for events
« on: December 07, 2013, 03:20:13 am »

I can't find a way to synchronize stereotypes for events. For all other types of objects, it's easy via right click in toolbox, but events don't show the option "synchronize stereotype".

Is this a bug or is this option left out for a reason?? Is there a workaround to synchronize events??



When I query an object and show all columns of t_object, the object_type column seems to be filled with a normal text value (eg. StartEvent).

However when I try to query based on the object_type column, EA returns an empty recordset (but previously it showed many records with an object_type = 'StartEvent' so I'm sure they exist)

Code: [Select]
FROM t_object
WHERE object_type = 'StartEvent'

When I query with object_type LIKE '%Event%' I can see all events (IntermediateEvent, StartEvent, EndEvent), but with object_type LIKE '%Event%' I get an empty recordset again.

Could somebody explain what's "special" about this column? If I try the same with the stereotype column, it works fine...


Is it possible to select which stereotypes are shown in the package element (I dragged a package on a diagram)?




When I sync my stereotypes after adding some tagged values to my MDG, the TVs aren't added in a TV group anymore. They just appear on the bottom of the TVlist.

I guess it's not possible to change this behaviour, but I would like to know where this information is stored in the database. Because new elements have the correct TV groups, while old one's don't change... So I guess the groups are stored somewhere for each element and these groups aren't changed when syncing.

So, does anybody know where the TV group info is stored??

Automation Interface, Add-Ins and Tools / MDG technology deployment
« on: November 01, 2013, 01:51:08 am »

I have created a new MDG technology and imported it via Settings > MDG technologies... > advanced. This works perfect for me and my team members can implement is in their EA too.

But if other teams want to have a look at our designs, they only see default elements without the layout defined in the new MDG. How can I import a MDG technology so that everyone can use it immediately, without manually importing it for every EA installation???


Automation Interface, Add-Ins and Tools / Remove elements in script
« on: October 17, 2013, 01:31:49 am »

I think this will be a simple question: How can I delete an element via scripting? I don't see a delete-method in the element class in the references found in the EA user guide.

I have an sql which selects several elements (only the object_id is listed in the sql) in different packages. So I want to loop through all the object_ids from the sql (easy loop) and just use some method like element.getByID(id).delete.

Is there a (undocumented) method like this??


Pages: 1 [2] 3