Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Installation or settings problem
Installation or settings problem [message #477169] Wed, 02 April 2008 07:24 Go to next message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

I have a problem with the installation of my eclipse plugins, probably.

According to the "Product configuration", the following components are
installed properly:
- EMF
- GEF
- UML2 tools

So I can draw UML diagrams visually, but I cannot write any java code for
generating UML (I get, for instance, "Model cannot be resoved to a type").
In fact, I can't use any classes from org.eclipse.* . Do I have to set
something additionally?
Re: Installation or settings problem [message #477175 is a reply to message #477169] Wed, 02 April 2008 13:29 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Mikolaj ,

Try checking that you can create a .uml model using the creation wizards.
If you can create UML diagrams visually then I would suspect that you have
all the UML plugins properly installed.
Verify that you have properly created a dependency from your plugin to UML
plugins.

Try following the getting started article:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html

Cheers,
- James.

"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:fsvcbk$3ii$1@build.eclipse.org...
>I have a problem with the installation of my eclipse plugins, probably.
>
> According to the "Product configuration", the following components are
> installed properly:
> - EMF
> - GEF
> - UML2 tools
>
> So I can draw UML diagrams visually, but I cannot write any java code for
> generating UML (I get, for instance, "Model cannot be resoved to a type").
> In fact, I can't use any classes from org.eclipse.* . Do I have to set
> something additionally?
>
Re: Installation or settings problem [message #477176 is a reply to message #477175] Wed, 02 April 2008 14:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

Hi James,



James Bruck wrote:
> Hi Mikolaj ,
>
> Verify that you have properly created a dependency from your plugin to UML
> plugins.
Yes I suspect this is the point. I haven't created _any_ dependencies...
What dependencies are needed? Does an UML project create them automatically?

>
> Try following the getting started article:
> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
Thank you. But there I have the same problem. I get stuck at the point
"Let's look at how to perform the same task using Java code. ". The
types Model and Package maka my Eclipse complain that it doesn't know
them. Should I go on with the tutorial nevertheless?

Cheers,
Mikolaj
Re: Installation or settings problem [message #477182 is a reply to message #477176] Thu, 03 April 2008 15:07 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
.... some comments below..


"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:ft052g$4ie$1@build.eclipse.org...
> Hi James,
>
>
>
> James Bruck wrote:
>> Hi Mikolaj ,
>>
>> Verify that you have properly created a dependency from your plugin to
>> UML plugins.
> Yes I suspect this is the point. I haven't created _any_ dependencies...
> What dependencies are needed? Does an UML project create them
> automatically?
>

If you select your Mainifest.mf file, you should be able to add
org.eclipse.uml2.uml to your dependencies.


>>
>> Try following the getting started article:
>> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
> Thank you. But there I have the same problem. I get stuck at the point
> "Let's look at how to perform the same task using Java code. ". The types
> Model and Package maka my Eclipse complain that it doesn't know them.
> Should I go on with the tutorial nevertheless?

Scroll to the bottom of the document for references to source code.
The article is out of date so the version numbers are off a bit but the same
general ideas still apply.

>
> Cheers,
> Mikolaj
Re: Installation or settings problem [message #626335 is a reply to message #477169] Wed, 02 April 2008 13:29 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Mikolaj ,

Try checking that you can create a .uml model using the creation wizards.
If you can create UML diagrams visually then I would suspect that you have
all the UML plugins properly installed.
Verify that you have properly created a dependency from your plugin to UML
plugins.

Try following the getting started article:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Getti ng_Started_with_UML2/article.html

Cheers,
- James.

"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:fsvcbk$3ii$1@build.eclipse.org...
>I have a problem with the installation of my eclipse plugins, probably.
>
> According to the "Product configuration", the following components are
> installed properly:
> - EMF
> - GEF
> - UML2 tools
>
> So I can draw UML diagrams visually, but I cannot write any java code for
> generating UML (I get, for instance, "Model cannot be resoved to a type").
> In fact, I can't use any classes from org.eclipse.* . Do I have to set
> something additionally?
>
Re: Installation or settings problem [message #626336 is a reply to message #477175] Wed, 02 April 2008 14:26 Go to previous message
Eclipse UserFriend
Originally posted by: mtrzeciecki.yahoo.co.uk

Hi James,



James Bruck wrote:
> Hi Mikolaj ,
>
> Verify that you have properly created a dependency from your plugin to UML
> plugins.
Yes I suspect this is the point. I haven't created _any_ dependencies...
What dependencies are needed? Does an UML project create them automatically?

>
> Try following the getting started article:
> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
Thank you. But there I have the same problem. I get stuck at the point
"Let's look at how to perform the same task using Java code. ". The
types Model and Package maka my Eclipse complain that it doesn't know
them. Should I go on with the tutorial nevertheless?

Cheers,
Mikolaj
Re: Installation or settings problem [message #626342 is a reply to message #477176] Thu, 03 April 2008 15:07 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
.... some comments below..


"Mikolaj Trzeciecki" <mtrzeciecki@yahoo.co.uk> wrote in message
news:ft052g$4ie$1@build.eclipse.org...
> Hi James,
>
>
>
> James Bruck wrote:
>> Hi Mikolaj ,
>>
>> Verify that you have properly created a dependency from your plugin to
>> UML plugins.
> Yes I suspect this is the point. I haven't created _any_ dependencies...
> What dependencies are needed? Does an UML project create them
> automatically?
>

If you select your Mainifest.mf file, you should be able to add
org.eclipse.uml2.uml to your dependencies.


>>
>> Try following the getting started article:
>> http://www.elipse.org/modeling/mdt/uml2/docs/articles/Gettin g_Started_with_UML2/article.html
> Thank you. But there I have the same problem. I get stuck at the point
> "Let's look at how to perform the same task using Java code. ". The types
> Model and Package maka my Eclipse complain that it doesn't know them.
> Should I go on with the tutorial nevertheless?

Scroll to the bottom of the document for references to source code.
The article is out of date so the version numbers are off a bit but the same
general ideas still apply.

>
> Cheers,
> Mikolaj
Previous Topic:xmi Id in Dependency
Next Topic:How to represent dependency model with UML2
Goto Forum:
  


Current Time: Tue Apr 23 13:24:58 GMT 2024

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

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

Back to the top