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.

Messages - AndyJ

Pages: 1 ... 19 20 [21] 22 23
Ooops, missing the "in the project browser" bit.

You could store your new value as an "alias" of the element name, and then configure your diagrams to show "alias".

I use this functionality to record logical and database names of elements, and flip the view according to the audience.


Primarily, this is a user forum.

Sparxians do participate, but only a handful, and only on particular topics.

Automation Interface, Add-Ins and Tools / Re: Stereotype shape
« on: September 17, 2014, 08:52:33 am »
Perhaps its a reference to << and >>

as in <<stereotype>>

In user-land, it's just Ctrl-A, Ctrl-C, (change focus to the word document) Ctrl-V...

I'm surprised that you need to generate a .pdf file in scripting-land.

Of course, word has an annoying tendency to paste the diagram with the borders extending beyond the page boundaries, so if the .pdf method overcomes that, then that's a good thing!


Well... traditionally...

Litres of Iced Coffee, and sacks of Mars Bars...

Or is that just my developers?


Automation Interface, Add-Ins and Tools / Re: Book about Shape Script
« on: January 24, 2014, 01:54:39 pm »
"Andy, you should add fixedAspectRatio = "true" right in the beginning to avoid fat people or stickmen ;-)"

Nice one, will do.

I've had a peek at your book online, very nice work..

Sparx should have you on the payroll!

Automation Interface, Add-Ins and Tools / Re: Book about Shape Script
« on: January 15, 2014, 09:40:57 am »
Here's a little shape script for your perusal.

We wanted to distinguish between stakeholders (who aren't actors) and other actors.

Hence the following little blue guy:

shape main
      // Blue Person by Andy J;
      setfillcolor(0,192,255); // (R,G,B)
      ellipse(70,-15,90,20);  // (x1,y1,x2,y2)
      rectangle(60,25,100,75);// (x1,y1,x2,y2)
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println("#TAG:Stakeholder Type#");

Whoo Hoo! Spax to the rescue.

The browser was not updating correctly after the import.

Selecting (in the project browser) Contents, Reload Current Package, causes the requirements to jump out of their old packages, and reappear, updated, in the new import package.



Worse than I was expecting!

Deleting the requirement from either location in the project browser deletes the requirement from the model.

Hi people,

I'm not sure if I'm seeing a problem or not.

I've just imported a set of updated requirements into EA.
These requirements have GUID defined from EA.

What I'm seeing is that the requirements now appear in two locations in EA, the original package, and the "Import" package.

If I try to search for a requirement, only one of the locations is returned in the search.

The requirements contain the same information in both locations, but I'm worried that there may be consequences of having the same GUID in two different locations in the Project Browser.

Clearly search is not expecting this, and other parts of the tool may not.

Can anyone advise?


Still answering my own posts...

I've tried exporting the RTF template, editing it in Notepad, and importing it back into EA...

So far I have not found any place that I can insert bookmarks into the template and have them either side of the generated project glossary.


I've tried manually adding the bookmarks to the RTF template, but the curly brackets and backslashes are being escaped in the output.

i.e. I'm looking for this:

{\*\bkmkstart Project_Glossary}\par

but I'm getting this:
\{\\*\\bkmkstart Project_Glossary\}\par

Further to the above.

What is happening is the RTF editor is creating a pair of bookmarks that look like this:

{\*\bkmkstart Project_Glossary}{\*\bkmkend Project_Glossary}

I haven't been able to find any way to prevent the editor from creating these as a pair, wherever I create them. As there is no content between this pair, the result is always that Word returns nothing when this bookmark is used as a reference to the resulting RTF file.

Highlighting a block of text (which contains the glossary tags) does not result in the bookmarks being created at either end for example.

Does anyone know of any other method where I can place these bookmarks where I need them to be in the template?

Can the template be exported and edited in a code editor for example?

Hi People,

I'm trying to include the project glossary into my produced documentation.

It's happily reproducing in the .RTF template, but doesn't have a bookmark that I can find.

I've tried adding bookmarks within the template editor, but haven't successfully invoked them from the parent Word document.

Has anyone managed to get this to work?


Pages: 1 ... 19 20 [21] 22 23