Hello again,
Sorry for obfuscation.
I have looked at source because argo doesn't showed me the methods from
interfaces. That's why for check i have checked the source to see if there
are generated method in the source.

This option would be great.



On 8/15/07, Bob Tarling <[EMAIL PROTECTED]> wrote:
>
> On 15/08/07, Miroslav Genov <[EMAIL PROTECTED]> wrote:
> > In this case, i don't want to generate java code from class diagram.
> What i
> > want from argo uml is to visualize methods that are in the interface in
> the
> > implementor class, because i have to write them manually.
>
> I'm confused, in your previous email you said - "I have looked in the
> generated source ( In my case, java source ) and result is something
> liked this:"
>
> So that is not actually the issue for you? I still think it's a bug
> though.
>
> I'm not sure that there is a UML requirement to automatically create
> methods in a modelled class if the user creates a realization to some
> interface. I stand to be corrected here but I've never seen anything
> in the UML spec along these lines.
>
> Even if we were to do this then what should we do if someone creates a
> realization and then deletes it. We could create a set of methods in
> the class when that realization is created but we can't assume we can
> delete those methods when the realization is deleted.
>
> Maybe we could do a purely visual thing though, displaying methods on
> FigClass that are not actually part of the class modelled but are part
> of the interface (or class) realized. Such an option would have to be
> configurable.
>
> Regards
>
> Bob.
>
>
>
> >
> >  Regards,
> > Miroslav
> >
> >
> >
> > On 8/15/07, Bob Tarling <[EMAIL PROTECTED]> wrote:
> > >
> > > Would it not be considered reasonable in this case for the code
> > > generator to generate those Java methods from the detail the user has
> > > already modelled here?
> > >
> > > Bob.
> > >
> > >
> > > On 15/08/07, Michiel van der Wulp < [EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > 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
> > > >
> > > >
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> >
> > The human knowledge belongs to the world.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
The human knowledge belongs to the world.

Reply via email to