|
Re: Using a reference model in uml2 [message #517571 is a reply to message #517552] |
Mon, 01 March 2010 11:28 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Mobius,
Generally you need to load the resource you want to reuse, or refer to,
into the editor, and then its contents will become available for use in
the properties view or for drag and drop from the outline.
Mobius wrote:
>
> Hi There,
>
> I can't find the right way to use a reference model in UML2.
>
> I wan't to extend an exising standard model (CIM) for local use
> (DSL?). I will create an profile for this, but that is on the
> metamodel level.
> I wan't to be able to subclass a class from the reference model (with
> a localy defined stereotype) in order to alter the original class for
> local use. e.g. alter attributetypes, alter multiplicity, add local
> attributes etc ).
> Any ideas?
>
> Best Regards,
>
> Mobius
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Re: Using a reference model in uml2 [message #517921 is a reply to message #517895] |
Tue, 02 March 2010 09:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Mobius,
Comments below.
Mobius wrote:
> Ed,
>
> Figured as much, but there are some glitches.
>
> I load a resource from the 'UML editor' menu. Goes well, and I can
> select from it in the properties window.
> However : - after loading the resource I don't get the oppurtunity to
> SAVE
Until you change the state of the model, there's nothing to save.
> - I don't get it in the outline
The basic editor doesn't have an outline view (the graphical one does)
but the resource should show up in the list of resources on the main
tab. It does for me.
> - After saving (create property for saving), closing and reloading the
> resource is gone. When loading it again I get "AXParseException:
> Content is not allowed in prolog. (http://schema.omg.org/spec/XMI/2.1,
> 1, 1)".
I couldn't reproduce that.
>
> Using latest Galileo. Resource is an XMI file that has no problems on
> its own.
>
> I have some problems applying a profile too. The profile is just for
> adding Stereotypes to the standard UML profile in order to be able to
> extend and alter the reference model (which is a global standard
> information model).
> After applying a stereotype it doesn't show up.
>
> Are these small bugs?? Or am I doing this myself.
Maybe there are bugs, but you'll need to provide detailed steps to
reproduce them and report them as bugzillas.
>
> @vlad. Thanks, helpfull.
>
> Best Regards,
>
> Mobius
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04625 seconds