Hi Miroslav,

You have to make distinction between "operation" and "method": The latter is 
the implementation of the former. So, on an Interface, you can only have 
operations by definition. On a class you can have both.
An operation on a class can have its method in the same class, or if the class 
is abstract, in a specialized class.

I see 2 errors in the current ArgoUML implementation:
1. The Class properties panel does not have a Method tool (it is present on an 
operation proppanel, though).
2. The combo labelled "Specification" on the Method proppanel does not 
allowselecting operations from a generalized Class or Interface.

To correct this, we need to start by creating issues - if they are not already 
present.

Regards,
Michiel


  ----- Original Message ----- 
  From: Miroslav Genov 
  To: [email protected] 
  Sent: Wednesday, August 15, 2007 11:26 AM
  Subject: [argouml-dev] Realization in Argo UML


  Hello,
  I'm not sure that my question is a developer question but i'll ask it here 
because i can find user mail list. 

  My question is related to class diagrams in Argo UML. In a class diagram i 
have a interface that have several methods and class that realizes it.When i 
add the realization relationship
  the implementor class doesn't seem to have methods that are in the interface. 
I have looked in the generated source ( In my case, java source ) and result is 
something liked this: 
  package packagename;

  public class MyClass implements SomeInterface{}

  How can i add all methods that are declared in SomeInterface to MyClass ? 


  Regards, 
  Miroslav

  -- 
  The human knowledge belongs to the world. 


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition. 
  Version: 7.5.476 / Virus Database: 269.11.17/951 - Release Date: 13/08/2007 
10:15

Reply via email to