Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » extending UML2Tools
extending UML2Tools [message #471162] Wed, 13 June 2007 11:44 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #471168 is a reply to message #471167] Fri, 15 June 2007 16:34 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Nick,

Plugin fragments sometimes are used to extend plugins:
http://wiki.eclipse.org/index.php/FAQ_Can_fragments_be_used_ to_patch_a_plug-in%3F

Good luck,
Tatiana.

"Nick Kirtley" <nickkirtley@gmail.com> wrote in message
news:1381f97d750ce5bca5ee475b6d9b9261$1@www.eclipse.org...
> 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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
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 Go to previous message
Eclipse UserFriend
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 #600377 is a reply to message #471167] Fri, 15 June 2007 16:34 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Nick,

Plugin fragments sometimes are used to extend plugins:
http://wiki.eclipse.org/index.php/FAQ_Can_fragments_be_used_ to_patch_a_plug-in%3F

Good luck,
Tatiana.

"Nick Kirtley" <nickkirtley@gmail.com> wrote in message
news:1381f97d750ce5bca5ee475b6d9b9261$1@www.eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
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
>
Previous Topic:Decorate a class shortcut
Next Topic:About ActivityD root element
Goto Forum:
  


Current Time: Fri Apr 26 10:08:13 GMT 2024

Powered by FUDForum. Page generated in 0.04071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top