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 - Gary W.

Pages: 1 ... 3 4 [5] 6 7 ... 10
61
General Board / Re: Enter another use case a precursor to another
« on: July 26, 2007, 07:37:36 am »
Quote
The pre-condition is "Use case x has been done and result y has been achieved".
Sounds like you're using use cases to do functional decomposition and/or CRUD-type operations.

Without getting into a huge methodology debate over this, let me just say that each use case should, by itself, provide some tangible benefit or result to the primary stakeholder (as per use case experts such as Cockburn, Bitten, etc.).

If, in your requirements, it requires a string of successive use case "completions" to deliver such a tangible result (to the primary stakeholder), then you're probably not following this.    :o

Also, the pre-conditions should be stated in a way that the system can actually detect these conditions.   If it requires some sort of human thought process to determine it, then it'll be impossible for developers to implement the pre-condition checks into your system.

Gary

62
General Board / Re: Enter another use case a precursor to another
« on: July 25, 2007, 08:31:23 am »
Quote
Is there a better way of doing this please?

What is the text of your pre-condition?  Is it some sort of system state that is achieved upon completion of the first use case?

If you're saying 'Use Case X must be done', then I don't quite agree, but if you're saying something like "The registration has been confirmed and accepted into the system", then I've used preconditions like this in the past.

gary

BTW, is it *always* the case that the first use case has been completed before the second one starts?

63
General Board / Re: Russian alphabet in EA
« on: July 01, 2007, 10:35:47 am »
Quote
And can I somehow attach an image to the message to illustrate the problem?

When you post the reply, note the 'Add YABBC tags:' toolbar above.  Fourth button from the left (framed imaged) is "Insert Image".

It inserts a pair of tags.  Now what I normally do is insert a hyperlink to http:\\www.xyz.com\abc.jpg, and it this normally works.  

I don't know if you can refer to an image file directly on your hard drive, but I have inserted images using this method, and pointing to a web url.

HTH,
Gary

64
General Board / Question on Statechart notation
« on: June 07, 2007, 01:34:59 pm »
Hi,

I have a question about the notation being used in EA's Statecharts.  The online help shows bubbles with a horizontal line:


But using the tool only shows bubbles without any lines. See the example below:


Now, the funny thing is that I've seen the other bubble in other tools (e.g. see
http://www.guides.sk/UML/together/#statechart-diagrams).


Is this 'action' *within* a State valid UML?  If so, how can EA produce this?

TIA
gary

65
General Board / Re: how to Insert multiple classes ?
« on: June 05, 2007, 01:12:00 pm »
Quote
is there a way wich you can make your last selected element type the one you insert again?
Shift-F3... and F3 gives you 'repeat last connector'.  

Quote
it propably is just my lazyness, but i haven't found it described in the help.
No, it's not.. but if you search on 'Keyboard Shortcuts', you'll see the not-so-obvious key combination shortcuts.

HTH
gary

66
General Board / Re: Use Case Conventions (NOT formatting)
« on: April 05, 2007, 11:38:57 am »
Quote
>So, how do people enumerate the:
> a. actors involved (not just the primary one)

the actors involved are documented with a use case diagram.
Well, the actors are *displayed* or *presented* on the diagrams.  But the enumeration, per use case, is something I want to be independent of the diagram.  I'd like the text to be stand-alone, with the diagram as supporting documentation.

Quote
>if there are multiple actors involved in a use case, the association between the initating actor and the use case is named "initiator". do not follow the method of tagging actors as primary or secondary as sometimes actors, in the overall system, can be primary and sometimes they can be secondary. then there are actors that are essentially equals where no one is primary or secondary.
Interesting... I'm used to the convention that an actor is deemed 'primary' in the context of a Use Case.  However, I can see the value of labelling the association as 'initiator" versus labelling the actors as 'primary'.

Quote
>alistair's work sounds like its trying to throw the whole universe into one use case model. that wont work. it will be so big that you wont be able to understand it.
Please don't judge his work based upon my posting; I'm sure I've left out lots of content and/or simplified his methods.

Quote
Or do people still put preconditions and postconditions into the Constraints (3rd tab), putting nothing into the Scenarios (5th tab)?

no. thats too much interaction with the tool.
Well, I'd prefer to have my requirements stored as discrete elements following the tool's data model.  But, I can see your point too.. especially here as now they have to click back and forth between the tabs to see the whole story.

Quote
i dont. that too much spawning of processes. one should be able to quickly traverse the use case model just by clicking on use cases and seeing the associated notes.
Yes, I can see the benefits to doing it as you've described.  Now if only there was some way to format the text...  ::)

But then again, that's a whole other thread and wasn't the point of my original posting.

Thanks for the advice,
gary

67
General Board / Use Case Conventions (NOT formatting)
« on: February 26, 2007, 03:27:37 pm »
Hi,

There's lots of good discussions on formatting the text, but I have a more practical question.  I've accepted that there are no bold/italics/bullets/tab controls in the Use Case elements in EA.

So, how do people enumerate the:
a. actors involved (not just the primary one)
b. level of the UC (e.g. Alistair's sea-level, sky-level, etc)

Do people just put the whole text into the NOTES (on the first tab)?  This would be 'free form text' versus distinct data elements.

Or do people still put preconditions and postconditions into the Constraints (3rd tab), putting nothing into the Scenarios (5th tab)?

As an aside, what do people use Files (last tab) for?  Does anyone actually link to Word Documents with formatted Use Case specifications?

TIA
Gary



68
General Board / Re: Export of models as EMF compatible XMI
« on: April 16, 2007, 02:14:01 pm »
Hi,

I can confirm that:
1.
removing <element xsi:nil="true"/>
2.
changing xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" to xmlns:uml="http://www.eclipse.org/uml2/1.0.0/UML"
3.
adding xmlns:umlnotation="http://www.ibm.com/xtools/1.5.0/Umlnotation"

.. in the source XMI file enables EA to import the XMI.  I still get errors (duplicate values) but as I can actually *see* these duplicates in the text, I suspect that omondo is making an error as part of the export.  I cannot blame EA for that.

Quote
These links:
  [size=13]Re: [uml2-dev] UML2XMI.xsd[/size]
&
   [size=13]RE: [uml2-dev] UML XML Schema[/size]
may be of relevance...


Thanks Paolo.. I didn't realize the limitations on validating against an XSD file.

Cheers,
gary

69
General Board / Re: Export of models as EMF compatible XMI
« on: April 12, 2007, 08:51:48 am »
Hi,

On a related topic, has anyone successfully imported EMF compatible XMI into EA (the current version)?

Whenever I import a class model that my peer created in Omondo, I get import errors due to invalid "xsi:nil" attributes on the element 'name'.

--

While we're on this topic, does anyone know where to find the xsd file?  It should be UML2XMI.xsd but my peer (with Omondo) says it's not on his hard drive.

I'd love to validate the XMI export against the xsd, but without the xsd, I can only report what errors EA give me (as opposed to errors in the s/w that generated the XMI).

TIA
gary


70
General Board / Re: State Machine Diagram elements
« on: March 20, 2007, 01:08:18 pm »
Quote
Did you check the UML elements in Tools | Options | UML Element Toolbox?


Yes, they're all there.. but when I took a closer look at the UML Toolbox, I now see that the up/down arrows on the neighbouring buttons are for scrolling up/down this current list.

Quote
You might also want to check View | Configure Perspectives.


Well, now that you mention it, I notice the dropdown box on the top of the Toolbox.  I swear it wasn't there in older versions of EA but I could be wrong  :P

I was going to post with a rant on how non-intuitive the up/down arrows were, but when used in combination with 'perspectives', I've discovered that I *like* filtering the available diagram elements, and I can get used to the 'up/down arrows in the neighbouring buttons'.

Good job, Sparx.  I'm liking version 6.5 more and more, and am sorry I didn't migrate off of my older version sooner.

Cheers,
gary

71
General Board / State Machine Diagram elements
« on: March 19, 2007, 02:11:24 pm »
Hi,

From the 'up arrow', I can drag and release, creating elements such as:
- entry
- exit
- terminate
- deep history
- etc.

But I don't see these on the toolbox under "State".  I actually like the 'up arrow' shortcuts, but it's odd that these elements aren't in the toolbox

???

Gary

72
General Board / Ignoring Diagram Text/Notes in RTF Docs
« on: January 12, 2005, 02:52:37 pm »
Hi,

I often add notes or text labels on my class diagrams, but when I generate RTF, they come out in the textual reports (i.e. <anonymous> or 'Text').

Is there an option to exclude these?  In the dialog box for 'Rich Texgt Format Report', I see many many choices under 'For each Object Include' and 'Exclude details for...', but not one that seems to correspond to either 'text label' or 'notes'.

Am I just blind?  Thanks in advance,
Gary

73
General Board / Re: java String, Integer, Double etc
« on: May 23, 2006, 10:43:38 am »
David,

Yes, you're 100% correct.   I now see the many threads that address this topic (most with your input =8^).

I had tried searching on "java attribute type int Integer", but using "java import" is much more precise.

Sigh.. it's so much easier to know the exact search terms once you know the answer!

Thanks again,
gary

74
General Board / Re: java String, Integer, Double etc
« on: May 23, 2006, 09:41:57 am »
Soooo, answering my own question below, in case other java newbies run into this, the file is rt.jar (i.e. "runtime" jar).  

Quote
Hi,

So, can some kind soul point out the .jar file I need to import in order to have Integer, String (e.g. non-primitive types) available to me in EA?



Boy, it's a huge file though, and it takes a while to import.  I assume people import it once, keep only the commonly used classes, and then export/import the XMI for future projects.

Cheers,
gary

75
General Board / Re: java String, Integer, Double etc
« on: May 19, 2006, 02:32:42 pm »
Hi,

Quote
Yup, Project->Source Code Engineering->Import Binary Module is the magic - thanks very much, guys.


I'd like to play a bit with the Java Code generation capabilities, but as a complete Java novice, I'm unsure which .jar to import.

So, can some kind soul point out the .jar file I need to import in order to have Integer, String (e.g. non-primitive types) available to me in EA?

I've looked in my \jdk and \jre lib directories (running 1.4.2), and nothing in there seems appropriate (e.g. jce.jar, rt.jar).    I've looked on "http://java.sun.com/j2se/1.4.2/docs/api/" and although I see that it is the 'java.lang' package that I need, I don't see what the name of the actual file is!! =8^)

TIA
gary

Pages: 1 ... 3 4 [5] 6 7 ... 10