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

Pages: [1] 2
1
Suggestions and Requests / Automate identifying and collecting superclasses
« on: September 19, 2005, 01:17:44 pm »
Having just gone through this, forgive me if it's a FAQ (but I couldn't find it with the local forum search or with google):

I'd like to see a dialog box for migrating subclass details to a superclass.

The Generalize connector presents a dialog allowing the user to select methods, etc to override or extend in the subclass. That's a great start.

What I'd like to see is  some sort of "pull stuff out of my children" option for classes which have subclasses. So when I am merging two (or more) subclasses into a new parent, I can mouse-mouse-mouse and get all the data and methods either moved or copied up.

I'm thinking:

subclass  -  attribute-or-operation-name - move - copy

Where 'move' and 'copy' are checkboxes.

Comment?

=Austin

2
Suggestions and Requests / Re: Python support
« on: July 15, 2003, 09:27:48 am »
Actually, instead of adding Python support, how about adding an API for adding arbitrary language support.

If we knew how to emit stuff, the various language groups (especially the open source groups) could probably contrive to build in support on their own.

Certainly for class declarations that's easy. Reverse engineering would be harder. Other stuff, I dunno.

=Austin

3
General Board / Re: Q: How to make stereotype icons appear in imag
« on: February 22, 2006, 11:45:30 am »
Okay, more research:

1. Icon appears for:

MS/Word
MS/Powerpoint
Paint Accessory
Wordpad Accessory

Journal 4


2. Does not appear for:

OO/Write
OO/Draw
OO/Impress

The fact that it works for J4 suggests that someone is doing a better job of implementing clipboard stuff than OpenOffice. (As opposed to this being a purely microsoft thing.)



4
General Board / Re: Q: How to make stereotype icons appear in imag
« on: February 22, 2006, 11:28:22 am »
Midnight,

I've done a little more looking.

1. The icon is NOT in the clipboard image for OO/Write. It IS present for MS/Word.

Here's what I did:

Draw a diagram. Press CTRL+B.

Alt+Tab to OO/Write. Press CTRL+V.
Alt+Tab to MS/Word. Press CTRL+V.

I see the diagram, but no icon, in OO/Write. I see the diagram with icon in MS/Word. Then I tried "save to file" instead.

Same diagram. Press CTRL+T. Save as .PNG file.
Alt+Tab to OO/Write. Insert->Picture->From File.

I see the diagram, but the icon IS THERE.

Apparently, the "Save to clipboard" doesn't work, but "Save to file" does.

So I have a viable, but incredibly annoying, work-around. I don't know what the difference is between OO/Write and MS/Word. Perhaps some kind of advanced clipboard voodoo?

2. It's the icon, not the "<<table>>" text, that I want. There's an option to switch back and forth between the two, I think.

4. I'm using OOo 2.0, yes.

=Austin

5
General Board / Q: How to make stereotype icons appear in images?
« on: February 22, 2006, 09:32:53 am »
I've created a class diagram with a <<table>> element in it.

When I CTRL+B to copy an image of the diagram to the clipboard, then CTRL+V to paste that image into OpenOffice Write, the diagram appears, but the stereotype icon for the <<table>> element is not present. The table is a plain box, with the name, etc. in the right places.

How can I make the stereotype icon appear in the exported image?

Thanks,

=Austin

6
General Board / Re: UCD Q: Difference between Basic Path & Sim
« on: February 06, 2006, 10:27:45 am »
You may find it surprising, but my first stop was Google, and not the "site search" feature on SparxSystems.com.au. Nowhere have I found an explanation of the difference.

Frankly, I think there isn't one. I suspect that the "Simple" and "Basic Path" entries are redundant with each other, and probably left over from some sort of methodology/taxonomy battle from the early days of UML.

But still, they're both there, and they've been there for as long as I've subscribed to EA (a few years now). So I wondered.

And in fact, since "Try searching the net" didn't get me anyplace, I'm still wondering:

What's the difference?

=Austin

7
General Board / UCD Q: Difference between Basic Path & Simple?
« on: February 05, 2006, 06:36:21 am »
In a Use Case Diagram, EA offers scenario types of Basic Path, Alternate, and Simple.

In the Settings -> General Types -> Scenarios ... dialog box the descriptions are:

Simple -> Standard Scenario
"Used to describe ordinary usage."

Basic Path -> Basic Execution Path
"The standard execution path with no exceptions."

I'm afraid I don't get it. Can someone explain the difference between these two types? Is there some rule-of-thumb for when to choose one versus the other, or are they parts of different specializations of UCDs or what?

Thanks,

=Austin

8
General Board / Re: How can I make Interfaces behave like Classes
« on: September 26, 2005, 12:28:33 pm »
Quote
the Interface element is defined in the UML spec.  An interface stereotype on the other hand could be defined anywhere and as such the meaning may be different.


Believe it or not, I actually understand this! :)  

Quote
You can't really make it act like a class.  But I can double-click on a method in an interface (in the tree or on the diagram) and EA opens the operation dialog as expected.  You can also open the operations dialog by pressing F10.


Okay, I get this too by going slow. I don't know what I was was doing before, with the class objects, that made me click-through all the time. It's like a click-doubleclick to get the methods up. Maybe I was just ignoring when the class dialog appeared because I could always hit the "Details" tab.

Regardless, you're right - it works if I click-2click on a interface method. Thanks.

=Austin

9
General Board / How can I make Interfaces behave like Classes ?
« on: September 23, 2005, 12:39:32 pm »
Two questions, one theoretical and the other practical:

1. What is the difference between the Structure>Class entity that receives the «interface» stereotype, and the Structure>Interface entity?

2. How can I make a Structure>Interface entity act like a Structure>Class entity, at least with respect to being able to pop up the Operations dialog without having to right-click, ContextMenu->Features->Operations?

With Structure>Class entities, double-clicking on an operation will bring up the Class Operation dialog directly. I'd like to do that with interfaces. Or, I'd at least like to be able to turn on the "Details" tab in the Structure>Interface dialog box, as it exists in Structure>Class.

Help?

=Austin

10
General Board / Code Generation & Inherited Interfaces
« on: September 19, 2005, 11:14:33 pm »
Next problem:

I've got a parallel class/interface tree like:

interface IElement;
interface IConnection extends IElement;

class Element implements IElement;
class Connection extends Element implements IConnection;

When I generate code for the Connection class, the
output includes empty methods that have already been
specified (and are NOT overridden) in the Element class.

So what gives? Why is EA generating IElement methods in my IConnection class when (1) I didn't click the little "I want to override this method" box at the time I generalized Element; and (2) Element already defines those methods?

Help?

=Austin

11
General Board / Re: Code templates: How can I be case-aware?
« on: September 19, 2005, 05:18:25 pm »
PS:

I've got this, already:

Code: [Select]

$firstLetter = %LEFT(paramType, 1)%
$fluc = %FIND("ABCDEFGHIJKLMNOPQRSTUVWXYZ", $firstLetter)%
%if $fluc != "-1"%
First Letter is Upper Case!
%endIf%


But I downloaded the unicode version for a reason... :(

=Austin

12
General Board / Code templates: How can I be case-aware?
« on: September 19, 2005, 05:13:06 pm »
Howdy,

I'm trying to detect a case-sensitive condition in some PHP code templates, and I discovered this:

%if "b" != "B"%
I am case sensitive.
%else%
I am not case sensitive.
%endIf%

The template machinery is not case sensitive.

Can someone tell me how to sensitize my code to case?

=Austin

13
General Board / Re: DBMS Repository Methodology
« on: September 12, 2005, 10:31:36 am »
Quote
 In Data Transfer, if I have set the default db in the ODBC connection and I just leave the EA connection details blank, it works and I can export data to that DB.


I'm in the same boat. Thanks for posting this tidbit, since it's the only thing I've been able to find that makes the connection work at all -- heretofore I was trying to use the EA dialogs to configure the connection (go figure!).

I agree, too, with your later point: the ODBC connection should be just that -- a connection. Once the tool connects to the server, why should there need to be a separate DS created for every database? Even if creating databases isn't built in (it should be, with user security!) using them last time I checked required the amazingly complex "USE dbname" SQL statement. How hard is this stuff?

Regardless of how simple (or not) it is to use multiple databases, it's certainly far too hard (and face it: far too buggy) trying to get access to just one.


=Austin

14
General Board / Re: Display Use Case Text in Sequence Diagram?
« on: July 14, 2003, 05:14:10 pm »
FWoolz,

How do you lay out a "requirements diagram"?

We have hundreds of requirements documented, and while I like the idea of having end-to-end traceability, I'm not enamored with having hundreds of little boxes laying about. Suggestions?

15
General Board / Can CE run without separate data store?
« on: March 11, 2003, 01:30:07 pm »
Howdy,

Trying to decide between workgroup and corporate, and I wonder:

Can the corporate edition, which "supports everything the other versions can do, plus it can talk to sqlserver / mysql backends", run WITHOUT talking to an sqlserver/mysql backend?

I ask because I think a few remote teams would like to run on their SOHO networks, without building a mysql site, etc. And it would be best to have one binary to distribute everyplace.

=Austin

Pages: [1] 2