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

Pages: [1] 2
1
Suggestions and Requests / Protocol Statemachine
« on: September 03, 2004, 06:53:48 am »
When will you have a protocol statemachine transition available?

2
General Board / Re: $EAPDIR
« on: August 30, 2010, 04:12:16 am »
No, it is used to define the folder where files are saved ('Options/General/File Directory').  What files, I haven't any idea as the default project folder is set in 'Options/General/Project Directory'

It could be the default root directory for code files.

What I want to know is where it is defined.  It appears to be used like the Windows %text% variables

3
General Board / Re: $EAPDIR
« on: August 29, 2010, 10:12:21 am »
Come on guys.  Surely someone knows where $EAPDIR is defined

 :o

4
General Board / $EAPDIR
« on: August 27, 2010, 05:48:16 am »
`OK, newbe question. I know what it does, but where is it defined and how does it work?

5
General Board / Re: C# Properties
« on: November 30, 2004, 11:46:27 am »
OK, if a property is modeled as an attribute, how is the code generated?  Also, if a property model named Count accesses a private attribute named count, how do you model the association?

6
General Board / Re: C# Properties
« on: November 23, 2004, 09:25:39 pm »
I also use properties as though they were attributes, but they have a direct one - to - one behavior correlation with operations.

if
public type property
{
 get {
  any code that returns a value of type
}
 set {
   any code that changes the value of a variable of type
}
}
then    
  type x = property is <=> with type x = get_property();

and
  property = x is <=> with set_property(x);

The point is that properties also have the same limitations as operations  (ie can't be used as ref and out parameters)
98% of the time it doesn't make a difference, but when it does, it will bite you.   There are several other places where you will get into trouble if you try to use a property as an attribute.  I have spent more then a little time changing code when I forgot and used properties incorrectly.

I therefore think that the way the reverse engineering is done now, gives a better view of what is happening.  Sometimes, information hiding isn't the best answer.

Chuck

7
General Board / Re: C# Properties
« on: November 22, 2004, 03:00:46 pm »
Properties are not attributes.

C# language spec 10.6
"...However, unlike fields, properties do not denote storage locations. Instead, properties have accessors that specify the statements to be executed when their values are read or written. Properties thus provide a mechanism for associating actions with the reading and writing of an object's attributes; furthermore, they permit such attributes to be computed."


C# Programer's Reference section: C# Key Words; Method Parameters; out -- states "A property is not a variable and cannot be passed as an out parameter.
"
The reference for ref states: "A property is not a variable and cannot be passed as a ref parameter."

Together this indicates that properties are operations with a possible relation to an attribute.

Chuck

8
General Board / Re: Setting default class element language
« on: November 30, 2004, 11:35:23 am »
Oops!

Thanks
Chuck

9
General Board / Setting default class element language
« on: November 30, 2004, 09:35:25 am »
When ever I create a new class the language defaults to Java.  I want it to default to C#.  Does anyone know how to do this?

Chuck

10
General Board / build 738
« on: October 07, 2004, 09:53:08 am »
Why is EA.exe build 738 over 12 Meg as compaired to the earlier versions which were less then 4 Meg in size?

Thanks
Chuck



11
General Board / Re: Operation dialog question
« on: September 22, 2004, 06:50:53 am »
I must be doing something wrong.  What you said would happen didn't.  OK! Closed diagram and then reopened then I saw behavior.   There must be a refresh problem there somewhere.

Chuck

12
General Board / Operation dialog question
« on: September 20, 2004, 09:39:10 am »
In the operation dialog, Behavior tab there is a check box with the label "Show behavior in diagram."  Neither the help nor manual give any useful information about what this does or how to use it. All they say is to check the box and click save.  Can anyone give me any help on what this check box is really for and the correct way to use it?

13
General Board / InterruptibleActivityRegion causes error
« on: August 30, 2004, 09:38:16 am »
When I try to draw an interrupt flow out of an InterruptibleActivityRegion, I get a "The requested connection is not UML compliant.   Does anyone have any information on a workaround or fix?

14
General Board / InterruptibleActivityRegion
« on: August 03, 2004, 01:42:09 pm »
Setup:
Package - sandbox
sandbox contains Activity diagram - activeSand.
activeSand contains a Subactivity element - sub1
sub1 contains an Activity diagram - subactivity

subactivity contains:
An action - act1 and an InterruptibleActivityRegion - reg1

reg1 contains a Receive element - event

When I try to draw a interruptflow edge from event to act1, I get a pop up error:

"The requested connection is not UML compliant."

If subactivity is contained directly by a package, it works.

UML 2.0 superstructure doesn't indicate that you can't have an interruption at a nested activity level.

My question:  Is EA working correctly or did I find a bug?

It seems that you can not have an interruptflow in a nested activity diagram.

???

15
Bugs and Issues / Re: Visual Studio 2010; EA and C# keyword 'delegat
« on: September 01, 2010, 09:09:23 am »
I just did some more research and found that 'delegate'  causes the compilier to generate a class, with the delegates name, derived from the class MulticastDelegate.  That means that the Model is a class with the delegate stereotype as I mentioned earlier.  The only thing that EA has to do is to take a UML compliant class and generate the appropriate code at the global level. And generate a class in the model for reverse engineering.  delegate is already available at the instance level. So there should not be any problem with allowing it the same scope as a class object.

Pages: [1] 2