Home » Modeling » UML2 » NewbieQuestion: Programmatic Creat UML model
| |
Re: NewbieQuestion: Programmatic Creat UML model [message #470968 is a reply to message #470966] |
Thu, 22 February 2007 11:24 |
Jerry Messages: 32 Registered: July 2009 |
Member |
|
|
Thanks James!
I guess you are telling me the right import if I have the new version uml.
However I still have questions: 1st, The srouce code for "getting started"
article actually provides a plug-in, it defines the Plug-in dependecy,
which includes the jar files named: org.eclipse.core.runtime,
org.eclipse.uml2, org.eclipse.uml2.common, org.eclipse.emf.ecore,
org.eclipse.emf.common, org.eclipse.emf.ecore.xmi, org.eclipse.osgi. But I
am working on a java project, so does this mean I have to do following? :
select project property--> java build path and select the Libraries -->
add external jars--> choose the jar files listed above. Otherwise, it
showes that""the import org.eclipse cannot be resolved" error.
Am I workin on the right way?
Thank you very much!
|
|
|
Re: NewbieQuestion: Programmatic Creat UML model [message #470971 is a reply to message #470968] |
Thu, 22 February 2007 19:29 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Jerry,
To work with UML you need to download the opensource UML component with its
dependencies (EMF). The "getting started article" explains that.
From your other postings I assume that you are working with older code and
the newer version of the article (with source).
Start by getting all the latest UML components, then follow the article. The
article should explain all the details. I just verified the code in the
example and it looks fine.
- James.
"Jerry" <sjianlin@hotmail.com> wrote in message
news:7ab6888c826c114f1751fe0f70aa9f62$1@www.eclipse.org...
> Thanks James!
> I guess you are telling me the right import if I have the new version uml.
> However I still have questions: 1st, The srouce code for "getting started"
> article actually provides a plug-in, it defines the Plug-in dependecy,
> which includes the jar files named: org.eclipse.core.runtime,
> org.eclipse.uml2, org.eclipse.uml2.common, org.eclipse.emf.ecore,
> org.eclipse.emf.common, org.eclipse.emf.ecore.xmi, org.eclipse.osgi. But I
> am working on a java project, so does this mean I have to do following? :
> select project property--> java build path and select the Libraries -->
> add external jars--> choose the jar files listed above. Otherwise, it
> showes that""the import org.eclipse cannot be resolved" error.
>
> Am I workin on the right way?
> Thank you very much!
>
|
|
| | |
Re: NewbieQuestion: Programmatic Creat UML model [message #590494 is a reply to message #470966] |
Thu, 22 February 2007 11:24 |
Jerry Messages: 32 Registered: July 2009 |
Member |
|
|
Thanks James!
I guess you are telling me the right import if I have the new version uml.
However I still have questions: 1st, The srouce code for "getting started"
article actually provides a plug-in, it defines the Plug-in dependecy,
which includes the jar files named: org.eclipse.core.runtime,
org.eclipse.uml2, org.eclipse.uml2.common, org.eclipse.emf.ecore,
org.eclipse.emf.common, org.eclipse.emf.ecore.xmi, org.eclipse.osgi. But I
am working on a java project, so does this mean I have to do following? :
select project property--> java build path and select the Libraries -->
add external jars--> choose the jar files listed above. Otherwise, it
showes that""the import org.eclipse cannot be resolved" error.
Am I workin on the right way?
Thank you very much!
|
|
|
Re: NewbieQuestion: Programmatic Creat UML model [message #590544 is a reply to message #470968] |
Thu, 22 February 2007 19:29 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Jerry,
To work with UML you need to download the opensource UML component with its
dependencies (EMF). The "getting started article" explains that.
From your other postings I assume that you are working with older code and
the newer version of the article (with source).
Start by getting all the latest UML components, then follow the article. The
article should explain all the details. I just verified the code in the
example and it looks fine.
- James.
"Jerry" <sjianlin@hotmail.com> wrote in message
news:7ab6888c826c114f1751fe0f70aa9f62$1@www.eclipse.org...
> Thanks James!
> I guess you are telling me the right import if I have the new version uml.
> However I still have questions: 1st, The srouce code for "getting started"
> article actually provides a plug-in, it defines the Plug-in dependecy,
> which includes the jar files named: org.eclipse.core.runtime,
> org.eclipse.uml2, org.eclipse.uml2.common, org.eclipse.emf.ecore,
> org.eclipse.emf.common, org.eclipse.emf.ecore.xmi, org.eclipse.osgi. But I
> am working on a java project, so does this mean I have to do following? :
> select project property--> java build path and select the Libraries -->
> add external jars--> choose the jar files listed above. Otherwise, it
> showes that""the import org.eclipse cannot be resolved" error.
>
> Am I workin on the right way?
> Thank you very much!
>
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 23:38:56 GMT 2024
Powered by FUDForum. Page generated in 0.04141 seconds
|