Hi!

SysML defines Parts and Blocks, Block Definition Diagram (bdd) and Internal
Block Diagrams (idb) but that is another Block.

         /Linus

2012/8/19 Bob Tarling <[email protected]>

> To see how to create a new diagram and register it with ArgoUML see the
> sequence diagram module -
> http://argouml.tigris.org/svn/argouml/trunk/src/argouml-core-diagrams-sequence2
>
> You can use this to register a diagram but the only problem is you need to
> specify a type which is one of the standard UML types. We may have to
> consider adapting his to allow some ad-hoc type to be created with some
> unique id for purposes such as your own.
>
> What do you mean by new types of attribute? Why do you need something
> different if there is no different behaviour?
>
> You are right that you will always be restricted to UML model types. If
> you want types then you need some way to create an attribute and
> automatically apply some stereotype to it. Which stereotype you apply can
> indicate your type.
>
> Is there some standards body that describes a Block Diagram?
>
> Regards
>
> Bob
>
>
> On 6 August 2012 02:15, Ibrahim Beicker <[email protected]> wrote:
>
>> Hello
>>
>> I have a project in which I need to add a new kind of diagram to argoUML,
>> the block diagram of aspect oriented systems. My idea is to replicate the
>> "Attribute" of UMLClass to use for the additional containers of the block
>> diagram. From what I could gather from the code I need to create an
>> "UMLBlock" class, analogous to UMLClass, a "FigBlock" analogous to
>> FigClass, create the definition of what a Block Diagram contains
>> in UmlFactoryMDRImpl and create 2-3 new kinds of Attributes. These new
>> kinds of attributes will have no special behavior and will be just like a
>> normal Attribute
>>
>> This is where I ran into my problem, how do I create new kinds of
>> Attributes? The code for the Attribute interface says explicitly to not
>> implement or subclass it because "It is generated from a MOF metamodel and
>> automatically implemented by MDR". I have searched for this metamodel on
>> the code but with no success.
>>
>> So how can I go about creating these new attributes? Also any guidelines
>> regarding creating new kinds of diagrams may be extremely helpful
>>
>> Thanks
>>
>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2999519

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to