Menu

#7 Attribute problem

open
nobody
None
5
2010-06-21
2010-06-21
micha
No

I have two modules A and B and I define a variable inside module B of type A.
If I now select one object of type B in the "2D-Graph View" then I can see all attributes of module A in the "Attribute Editor" too.
Not only the attributes of module B, what I would expect.
This is quite confusing if you get much more and not associated attributes then expected.

Example:

module A {
private int a1 = 0;
private int a2 = 1;
}

module B {
private int b = 2;
private A aObj = new A();
}

protected void init () [
Axiom ==> B;
]

Discussion


Log in to post a comment.

MongoDB Logo MongoDB