extending UML2Tools [message #471162] |
Wed, 13 June 2007 11:44 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I'm working on a project that will extend UML2Tools. I want to:
a) use existing uml2tools functionality (primarily the component diagram
at the moment)
b) extend uml2tools functionality to add new components (described using
stereotypes). these components will be added to the palette so that the
they can be dragged and dropped onto the editor.
c) not alter uml2tools code so that future versions of uml2tools can be
used without affecting the extension and not requiring recoding of the
extension.
This should obviously take place in a new plugin and I'm assuming I should
use the PDE. I've looked at the examples in the help files (like
helloworld etc) but have not worked out how to extend plugins like
uml2tools.
Could someone describe how I should set up a plugin to do all this?
thx in advance,
regards,
Nick
|
|
|
Re: extending UML2Tools [message #471167 is a reply to message #471162] |
Fri, 15 June 2007 09:53 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
any takers????
or isn't this possible? I seem to only be able to find plugin tutorials
that show me how to create hello world or extending only the most basic
eclipse options.
|
|
|
|
Re: extending UML2Tools [message #471190 is a reply to message #471168] |
Tue, 26 June 2007 12:12 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi Tatiana,
I think that a fragment plugin is a good option. I've already started by
creating one and defining relevant information for a profile to extend the
uml metamodel according to my needs.
I need to adapt uml2tools so that the component-connector diagram is
updated to use the new metamodel (profile).
I see two possibilities:
1) change it so that the updated metamodel is loaded instead of the new
one. (at boot of component diagram).
2) add a button in the menu to reload/update the metamodel.
Which option is best? Given that I am using a fragment plugin.
And could you also tell me about how to go about implementing the chosen
possibility (or your own idea about how to solve the problem).
thanks a lot.
Nick
|
|
|
Re: extending UML2Tools [message #471193 is a reply to message #471190] |
Wed, 27 June 2007 08:54 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I have another question:
where is the uml meta model that is used by uml2tools.
When I create a component connector diagram it should use a metamodel.
Could you also tell me in global terms what happens when someone creates a
component connector diagram?
thx, regards,
Nick
|
|
|
Re: extending UML2Tools [message #471197 is a reply to message #471193] |
Wed, 27 June 2007 19:10 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Nick,
UML metamodel is located in org.eclipse.uml2.uml.resources/metamodels.
I the most common terms on Component Diagram creation two files are created,
then UMLDiagramEditor from ComponentD plugin is opened. Package is created
in the domain model, it is shown as diagram in the diagram editor. Sorry, I
don't know what you you want to hear. Could you specify your second
question, please?
Question considering updated resources needs investigation.
Best wishes,
Tatiana.
"Nick Kirtley" <nickkirtley@gmail.com> wrote in message
news:2ca246cfbf352e4495a2b9fbc812c192$1@www.eclipse.org...
> Hi,
>
> I have another question:
> where is the uml meta model that is used by uml2tools.
> When I create a component connector diagram it should use a metamodel.
> Could you also tell me in global terms what happens when someone creates a
> component connector diagram?
>
> thx, regards,
>
> Nick
>
|
|
|
Re: extending UML2Tools [message #600367 is a reply to message #471162] |
Fri, 15 June 2007 09:53 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
any takers????
or isn't this possible? I seem to only be able to find plugin tutorials
that show me how to create hello world or extending only the most basic
eclipse options.
|
|
|
|
Re: extending UML2Tools [message #600493 is a reply to message #471168] |
Tue, 26 June 2007 12:12 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi Tatiana,
I think that a fragment plugin is a good option. I've already started by
creating one and defining relevant information for a profile to extend the
uml metamodel according to my needs.
I need to adapt uml2tools so that the component-connector diagram is
updated to use the new metamodel (profile).
I see two possibilities:
1) change it so that the updated metamodel is loaded instead of the new
one. (at boot of component diagram).
2) add a button in the menu to reload/update the metamodel.
Which option is best? Given that I am using a fragment plugin.
And could you also tell me about how to go about implementing the chosen
possibility (or your own idea about how to solve the problem).
thanks a lot.
Nick
|
|
|
Re: extending UML2Tools [message #600525 is a reply to message #471190] |
Wed, 27 June 2007 08:54 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I have another question:
where is the uml meta model that is used by uml2tools.
When I create a component connector diagram it should use a metamodel.
Could you also tell me in global terms what happens when someone creates a
component connector diagram?
thx, regards,
Nick
|
|
|
Re: extending UML2Tools [message #600556 is a reply to message #471193] |
Wed, 27 June 2007 19:10 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Nick,
UML metamodel is located in org.eclipse.uml2.uml.resources/metamodels.
I the most common terms on Component Diagram creation two files are created,
then UMLDiagramEditor from ComponentD plugin is opened. Package is created
in the domain model, it is shown as diagram in the diagram editor. Sorry, I
don't know what you you want to hear. Could you specify your second
question, please?
Question considering updated resources needs investigation.
Best wishes,
Tatiana.
"Nick Kirtley" <nickkirtley@gmail.com> wrote in message
news:2ca246cfbf352e4495a2b9fbc812c192$1@www.eclipse.org...
> Hi,
>
> I have another question:
> where is the uml meta model that is used by uml2tools.
> When I create a component connector diagram it should use a metamodel.
> Could you also tell me in global terms what happens when someone creates a
> component connector diagram?
>
> thx, regards,
>
> Nick
>
|
|
|
Powered by
FUDForum. Page generated in 0.04071 seconds