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

Pages: [1]
1
General Board / Boundary operations
« on: March 21, 2006, 07:09:50 am »
in the past i have created new operations for boundary objects to document event handlers etc. In V6 of EA I do not appear to be able to do this, although I can still use V6 to update old projects just as i used to do.

What i am trying to do is:

Create a sequence diagram in a collaboration.
Add an actor to the sequence diagram
Create a boundary object in a package and drag it onto the sequence diagram.
create a message from the Actor to the boundary.
in the dialog that opens up, click on the 'operation' button.
Nothing happens.

Also, if you just create a boundary object in a package and right click, the operations menu item is available, but does nothing when selected.

Is this a new feature of V6?  

2
General Board / Re: How to interface with other projects
« on: June 27, 2003, 06:47:31 am »
I suspect that the truth is that I don't understand Controlled packages.

I'll look up the helpfile as you suggest.

Many thanks for your help.

Dave

3
General Board / Re: How to interface with other projects
« on: June 26, 2003, 11:29:16 pm »
But using packages would still mean that all my applications that I am ever going to write (that make use of common business level classes) would have to be in the same project, be it in different packages.

If this is the only way of doing it, then fair enough, but I am hoping that there is a way to reference the class of one project from another directly.

4
General Board / How to interface with other projects
« on: June 26, 2003, 07:52:27 am »
I have a project with an architecture that is made up of three layers. Presentation, Business and Data services.

Presentation layer uses classes in the Business layer but could also make use of classes in the business layer of another application.

In EA, is it possible to reference classes in another project, or would I need to include the business layer objects from the second project in the first one?  


5
General Board / Object modelling question
« on: December 19, 2002, 03:45:31 am »
Hi folks,

I am new the arena of object modelling, and am finding EA very useful is tracking what I am doing.

I am looking for some help with a modelling query I have. I am sure its a pretty simple question, but the answer will help in pointing me in the right direction at the start of my modelling task. I'd appreciate any pointers you can offer.

I want to display a window, differing in a number of respects depending on the authority of the user who has logged in. E.g. admin functions are only available to administrators etc.

I could do something like

newperson := user.create(userid);
If newperson.type = 'administrator' then
 begin
    DispWindow.button1.Visible := True;
    DispWindow.Button2.Visible := True;
    DispWindow.Caption := 'Admin logged in';
    etc
  end
else if newperson.type = 'normal' then
 begin  
    DispWindow.button1.Visible := False;
    DispWindow.Button2.Visible := False;
    DispWindow.Caption := 'User logged in';
    etc
 end;


but what I'd really like to do would be something like:

newperson := Administrator.Create;

newperson.DisplayWindow;

Where the DisplayWindow method of the Administrator class contained:

 begin
    DispWindow.button1.Visible := True;
    DispWindow.Button2.Visible := True;
    DispWindow.Caption := 'Admin logged in';
    etc
  end;

as before.

As I say I'm new to this, but the second approach looks more OO like to me, and would result in me having a person class with Administrator, NormalUser etc classes descending from it.

Does this make sense?   ???

Thanks

6
General Board / Adding a number of identical associations
« on: November 28, 2002, 06:52:17 am »
Hi,

should be a simple one I think. Add 10 use cases to a diagram along with one actor. The actor can perform all the use cases, so add a uses association for each use case.

1. Click on uses association in object menu
2. click on source in diagram view and drag to target
3. repeat from 1 for each use case.

I'd really like to avoid having to click on the object menu each time. Can I 'lock' the uses association so i can just keep dragging until I want to stop?

Also, what is the 'Create a new relationship' icon in the tool bar for? Doesn't seem to do much of anything!

Cheers

7
General Board / Hyperlinks
« on: February 28, 2002, 03:33:07 am »
In the example project, you use hyperlinks to link with other diagrams. I know where how to add a hyperlink ( in the elements menu) but I don't see how to link it back into the same project. Can you explain?

Also, in the example, when I try to see the properties of the hyperlink, it appears to execute the link instead. Why is this?

 

8
General Board / Default Diagram
« on: February 27, 2002, 05:44:53 am »
Hi,

I notice in the EAExample project included with the project, that when you open the project, the welcome diagram is displayed.

I presume that this is set up as a default diagram, and I have searched for and found the help page with 'Setting a Default Diagram' on it. The help page, however, is blank other than the title, so isn't much help to me.

Can you tell me how to set a particular diagram to open as default when the project is opened?

Cheers

dave

Pages: [1]