Hi Francois,

You should be able to do this, by packageing up your
group of metafacades just like we've done with
andromda-metafacades-uml-*.jar and
andromda-metafacades-uml14-*.jar and placing them on
your classpath with the other default ones.  

However there is currently only one set of metafacades
belonging to the "default" namespace, and those are
the uml and uml14 ones.  What you'll need to do with
yours then is someone how make them override the
"default" namespace, which you should be able to do (I
haven't tried)...by placing your new jar of
metafacades on the classpath AFTER the normal uml and
uml14 metafacades.  Does that make sense?  Anyway try
that out, and if it doesn't work let me know, and I'll
fix it so it does work.

Chad

--- François_Eric <[EMAIL PROTECTED]> wrote:

---------------------------------
    Thanks for the answer Wouter.  

I would like to adopt the strategy you're defining but
for ametametafacade.  In other words, I'd like to
create a metafacade asuml14.  I'm able to do what
you're saying with the cartridge but myproblem is that
the logic I'm implementing is then not available
toother cartridges.  I'd like to make myself a new
metametafacade (in thelikes of uml14) and would user
that metafacade in my cartridges.  Mycartridges would
then extend these metafacades if they need to.

Concretely: 

uml -> uml14 -> HigherMetafacade -> cartridge1
                                                      
-> cartridge2
                                                      
-> cartridge3

This way I could add certain methods that are needed
by all threecartridges in a metafacade without
modifying the uml14 metafacade(which I shouldn't
do...right?).  Is it possible to define anotherlevel
of metafacade...if so how could I do it?

Thanks,



Wouter Zoons wrote:
  
You can pretty much implement any strategy you like,
you will need tomodel your cartridge using UML anyway,
and if you import the existingmodel as for example
used by the UML14 implementation you can extend
(=generalize) the model elements you wantDo you know
how to proceed ? Take a look at the UML model for one
of theexisting cartridges (MagicDraw community edition
recommended)-- Wouter  
      
-----Original Message-----From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Fran&ccedil;ois EricSent: Wednesday, June
30, 2004 5:43 PMTo:
[EMAIL PROTECTED]:
[Andromda-user] Extending the uml14 metafacadeHi,I
would like to build my own metafacade which could be
used by manycartridges.  The purpose is to be able to
have my cartridges extendthese metafacades instead of
the uml14 metafacades.For example, lets say I want to
add a method calledgetOneToOneAssociations to the
ClassifierFacade but don't want to    
    
modify  
      
the uml14 metafacade code (since its not in the
implementation). I    
    
don't  
      
want to implement this as a cartridge metafacade
either because it    
    
will  
      
be used by many cartridges and I would like to avoid
duplicating code.How can I do this?  Can I extend the
uml14 metafacade and if so how?Otherwise how do I
proceed?Thanks,Francois-------------------------------------------------------This
SF.Net email sponsored by Black Hat Briefings &
Training.Attend Black Hat Briefings & Training, Las
Vegas July 24-29 -digital self defense, top technical
experts, no vendor pitches,unmatched networking
opportunities. Visit
www.blackhat.com_______________________________________________Andromda-user
mailing
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/andromda-user
   
    
-------------------------------------------------------This
SF.Net email sponsored by Black Hat Briefings &
Training.Attend Black Hat Briefings & Training, Las
Vegas July 24-29 - digital self defense, top technical
experts, no vendor pitches, unmatched networking
opportunities. Visit
www.blackhat.com_______________________________________________Andromda-user
mailing
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/andromda-user
 

-------------------------------------------------------This
SF.Net email sponsored by Black Hat Briefings &
Training.Attend Black Hat Briefings & Training, Las
Vegas July 24-29 - digital self defense, top technical
experts, no vendor pitches, unmatched networking
opportunities. Visit
www.blackhat.com_______________________________________________Andromda-user
mailing
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to