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 - Geert Bellekens

Pages: 1 ... 10 11 [12] 13 14
166
Uml Process / User Interface Nagivation diagram
« on: March 12, 2008, 03:36:21 pm »
Hi,

My client is currently implementing a new method which they call Component Based Design with UML notation. This method will be applied to functional and technical analyses.
In this method they would like a (functional) User Interface Navigation Diagram (UI Storyboard) in which they show all navigation paths between the different screen involved in a use case realisation.
I would like to know what type of diagram you would use. I've seen three different diagram types so far that are used to capture this type of information, each with its own strengths and weaknesses.
  • Class diagram: Each screen is a Class showing attributes and operations. Each nagivation path between two screens is represented using an association. The event in which case the navigation is followed is represented using the name of the association.
  • Collaboration diagram: each screen is an object. Each navigation path a message. Each event a guard on the message.
  • State Diagram: Each state is a screen, each navigation path is a transition; the events are guard conditions on the transitions.
Please let me know what your preferred solution is and why.

167
Hi,

I'm making a new UML profile with diagram and toolbox profile.
All seems to be working fine, except for the default name of the new elements.
I'm extending the GUIElement and for some reason a new elements always get the default name "UI Control", and not MyStereotype1 as I've seen with other profiles.

Does anyone know what determines the default name? I can't seem to find the related help topic.

Thanks

Geert

168
I'm struggling a bit with the RTF editor.
I have a section that shows the constraints on an element:
Code: [Select]
element >
[b]Attribute Restrictions[/b]
constraint >
- {ElemConstraint.Name}
{ElemConstraint.Notes}
< constraint
< element
I would like to omit the titile Attribute Restrictions if there are no constraints defined, but I seem to have a hard time finding a solution.

I know about the bookmarks like ElemConstraint.Name.Start and ElemConstraint.Name.End, but those work only on the individual constraint level. I'm looking for the equivalent for all contraints.

Is there a bookmark or something else I can use for this?

Geert

PS. Possible workarounds are:
- Create a custom fragment, add a table with a table header and you can add a title just above the table. Works fine if you need tables, but not if you don't.
- Create a model document only for this part, and omit it if you don't have constraint. That could work, but it would kind of blow up the number of model documents in this case.

169
Hi,

I have defined a stereotype for Classes and attributes, and I added a boolean tagged value to both.

Now I would like to somehow visually indicate when this boolean is true on an attribute.
If needed I'm willing to re-write the whole attribute compartment, but I'm not sure if that is even possible.

Anyone know of a way to achieve that? I'm coming up blank :-/

Geert

170
I'm making a UML profile and I would like to define a new connectortype that can be used from an Element to another Element, but also between a Connector and an Element.

Sort of like the connector between an AssociationClass and the Association, or between a constraint and a connector.
Does anyone now how to do that?
The connector steretoype I defined only works between Elements.

Thanks

Geert

171
Does anyone know the secret formula to add something to the scenarioStep.UsesElementList
I tried with element.Name and element.ElementGUID as parameters, but that doesn't seem to work.
I think the whole UsesElementList simply doesn't work because it is always empty, even if I added linked elements in the uses column manually.
If in anyway possible I would like to avoid having to change the xml in the t_objectscenarios.XMLContent

Here's what I have in the code so far.
Code: [Select]
     for each usecase in usecases
            dim scenario as EA.Scenario
            for each scenario in usecase.Scenarios
                  dim scenarioStep as EA.ScenarioStep
                  for each scenarioStep in scenario.Steps
                        dim matches
                        set matches = regExp.Execute(scenarioStep.Name)
                        dim classesToMatch
                        set classesToMatch = getClassesToMatchDictionary(matches, dictionary)
                        dim classToMatch as EA.Element
                        for each classToMatch in classesToMatch.Items
                              Session.Output "usesElementList before: " & scenarioStep.UsesElementList.Count
                              scenarioStep.UsesElementList.AddNew classToMatch.Name, classToMatch.ElementGUID
                              scenarioStep.Uses = scenarioStep.Uses & " " & classToMatch.Name
                              scenarioStep.Update
                              scenarioStep.UsesElementList.Refresh
                              Session.Output "usesElementList after: " & scenarioStep.UsesElementList.Count
                        next
                        Session.Output matches.Count & " matches found for step " & scenarioStep.Name
                  next
            next
      next

Thanks

Geert

172
Suppose I have a folder with 10 use case diagrams, and I only want one of them to show up in my document. How do I do that?

I'm having a lot of fun writing really complex document templates, and I did find solutions for almost all of the challenges I faced, but I'm having a hard time coming up with a solution for this one.

In case it isn't possible I'll send in a feature request, but before I do I wanted to check if maybe someone else has a solution.

Thanks

Geert

173
I'm using a model document in a virtual document.
In the tagged values of the model document I put the name of an SQL search and search value.
This results in a set of elements want to be in my document.
Now, no matter what I try, I cant seem to be able to change the sort order of the elements in the document.
Not by changing the sort order in the template, not by changing the sort order in the options when generating, and not by specifying an "order by" in my SQL.
No matter what I do the elements are always sorted by their Object_ID

Does anyone know the secret handshake to make EA sort my elements correctly, or should I report this as a bug?

Thanks for your input

Geert

174
Hi

I'm using Repository.RefreshModelView(packageID) with the packageID of the package I want to reload (because I played with the treepos of the elements in the package)

This seems to work, except that it also reloads all my opened diagrams.
I haven't tested this in a previous version yet, but I don't think this used to behave like this?

I would like it to do exactly the same as right click|contents|Reload Current Package

Anyone notice this as well, and maybe has a workaround?

Geert

175
For those interested in scripting, I'm presenting the Sparx Systems webinar next week (2015-05-07) about scripting.

More info and registration at http://www.sparxsystems.com/resources/webinar/partners/scripting/scripting-introduction-bellekens.html

Geert

176
If you use Connector.Ster[highlight]e[/highlight]otype it should work I guess.

Geert

177
Hi,

Anyone know if it is possible to include the image of a diagram in the custom section of a RTF script template fragment?

I know how to get elements and output their properties using a script, but I would also like to add a diagram to my template.

Geert

178
Anyone have an idea how to refresh the scripts in EA from an add-in?.
The script view has a button called "Refresh Script Tree" that does exactly this, but I don't think this is exposed in the API.
I've also tried to reload the model, but that doesn't help.

Geert

179
I've finally come around to writing a bit of explanation on how to use my framework for EA Add-ins.
How to use the Enteprise Architect Add-in Framework

Geert

180
Automation Interface, Add-Ins and Tools / Re: EA MainTab Title setting
« on: January 09, 2013, 07:51:40 pm »
I don't really see anything obvious that allows you to have an impact on that.

Geert

Pages: 1 ... 10 11 [12] 13 14