Book a Demo

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 - rocketman

Pages: [1]
1
General Board / Re: HTML Report - Javascript hooks for Diagram IDs
« on: January 27, 2012, 08:37:44 am »
I ended up going into the HTML template and adding a javascript variable definition to just create the variable I needed since I couldn't figure out how to access one IF it existed...

In the Body Diagram:

Code: [Select]
var GUID = "#GUID#";
That way the HTML document generator will create a variable on each page with the GUID of the diagram...

2
General Board / Re: HTML Report - Javascript hooks for Diagram IDs
« on: January 21, 2012, 05:52:03 am »
Thanks for the help, Jon.  Unfortunately, during normal navigation, the URL doesn't change...

In the "HTML Template Fragments" there is a #GUID# defined as a "Diagram GUID" and a #GUID# defined as a "Element GUID".  I assume there is no difference between the two (i.e. that all browser objects have a GUID), but I'm not positive...

Also, I've seen the "diagram GUID" in the Advanced section of the HTML report.  Oddly, inside EA, the properties tab will show me the GUID of any object other than a diagram; I'm not sure why the diagram properties don't show up when selected.

Anywho, the XML produced in the HTML report and the javascript seem to mention and use the GUID to some degree, but I can't figure out where or now to tie in and use the GUID of the currently displayed diagram.

3
General Board / HTML Report - Javascript hooks for Diagram IDs ??
« on: January 21, 2012, 01:18:41 am »
Problem: I'm trying to connect database entries (or CSV output) to corresponding diagrams in EA's HTML report.  I would like to print this data in a tabular format below the diagram in the HTML.

Proposed Solution: In the HTML/Javascript that EA generates, I can put the CSV data into arrays and write the arrays to screen as a table, but I need a way to reference which diagram is currently being displayed in order to find/write the corresponding table of data.  I assumed I could put a GUID entry into the database and then print the corresponding data when the GUID of that diagram is currently being displayed, but I found 2 problems:
1. Do diagrams have GUIDs or just the diagram objects?
2. I can't find a Javascript variable or similar that is being set to a GUID or unique ID of the diagram to use as a hook

There may be a plug-in or similar that actively connects databases to EA projects, which would probably work too.  However, I assumed I'd be able to at least reference the IDs of diagrams in the HTML after the report has been generated.

Any help, suggestions, or pointers would be appreciated...

Newbie,
rocketman

4
Bugs and Issues / Re: allocated requirement not in relationship matr
« on: January 21, 2012, 06:39:55 am »
Peter,

My understanding of the relationship matrix is that you can only matrix one type of object to one type of object with one type of relationship (at any given time).  That is to say, the relationships that exist in the model between TWO TYPES of objects.

Requirements would be one type of object, activities would be one type of object.  I assume the matrix you have created shows the relationships that exist between requirements and activities.  When you change the type from requirement to allocated, it is not longer one of the two types in the matrix.  You could create a separate matrix to show the relationships that exist between allocated and activities.

Alternatively, you could keep the type as requirement and just label the association as allocated.

5
Bugs and Issues / Re: VC-Subversion-Get all Latest
« on: January 21, 2012, 06:30:01 am »
hi yiki,

from your description, it isn't quite clear to me which of the steps you were describing were inside EA or outside of EA (in your file system).

In SVN on your file system, placing a file or folder in a subversioned folder does NOT put that file or folder into subversion.  You must perform an "svn add" and "svn check-in" to add it to the SVN repo.  Neither will placing a file or folder within the XML structure of your SVN'd project put it into your .eap project file.  You must import it (get package).

Within EA, if you're trying to make a copy of an EA folder in the browser and you want the copy to be subversioned also.  First, check out the folder you want to place it into.  Copy/Paste the folder you want a copy of.  Right click on the new copy -> package control -> add to version control.  This will create a new xml file on your file system (svn add).  When you check in the parent folder and pasted folder, you will have performed the svn checkin necessary to put it into the repository...  

Hope that helps...



6
Uml Process / Re: CallEvent in UML state machines
« on: January 21, 2012, 06:09:38 am »
You're on the right track.  A call has a sender and receiver (like a phone call or snail mail).  In the context of state machine, using the Rx of call to trigger a transition is spot on.  Just create the transition from stateA to stateB and label the transition as the doThis() call.  

Doing so would imply that when some other object/class calls the doThis() operation, it triggers the class being defined from stateA to stateB.

For completeness, the call would need to be provided on an interface to some other class/object.

7
Hi,

I'm working on an MDG Technology.  For objects that allow "instance classifier", the instance classifier doesn't show up on the unique icon I've created with shape script.  Does anyone know how to force the instance classifier to show up on a custom icon?

Also, I saw that with tagged values it is possible to reference a GUID of an element in the model, but I wasn't sure how to reference a list of possible values.  Could I reference an enumeration and pick from the attributes for the value of the tag, or reference a stereotype and pick from anything in the model with that stereotype, or something like that?  The list of possible values must be defined in the model, not the profile/technology.

Any help with one of those solutions or an alternative idea would be greatly appreciated...

tripp

8
Has anyone used the plug-ins that Sparx lists in their third party extensions page?

9
Automation Interface, Add-Ins and Tools / Best Bug Tracker Plug-In for EA
« on: February 11, 2012, 02:47:00 am »
I apologize if this has already been a topic, but the search box wasn't returning any results...

I need to pick a bug tracker to use along side EA.  We'll be tracking issues in behavioral diagrams, not requirements.  It would be nice if we could detail all the changes we make to diagrams and then use some sort of report for CM purposes.  Also, we use SVN on the back end of EA, so any hooks there could be useful.  I saw that EA has plug-ins for JIRA, Redmine, Trac, Mantis, etc.  I'm familiar with those names, but I haven't used them before.

I'm looking for something that is simple to set up, simple to use, simple to maintain.  I don't need a lot of bells and whistles.  In fact, if it is easier to just use a bug tracker off the shelf and not connect it to EA, that's ok too... I just happened to see the Plug-Ins so I thought I'd ask.

Any feedback or notes from user experience would be greatly appreciated.

Thanks as always!
rocketman

Pages: [1]