applying uml package as profile [message #475209] |
Thu, 23 August 2007 16:32 |
Eclipse User |
|
|
|
Originally posted by: rmishra.tibco.com
Hi,
Can we apply a uml package as a profile on the uml model . We can apply a
profile but not sure about package. i m applying in my code but it's not
working .can any body help me --if it can be done then how--
|
|
|
|
Re: applying uml package as profile [message #475215 is a reply to message #475211] |
Fri, 24 August 2007 11:12 |
Eclipse User |
|
|
|
Originally posted by: rmishra.tibco.com
Hi,
Actally i have a UML package and i want to attach diagram with it but ,it's
not working --if i attach diagram with UML model then it works fine ---
so i need some way through which i can convert UML package into UML model
and then attach diagram.
Diagram diagram = ViewService.createDiagram(
org.eclipse.uml2.uml.Package
umlPackage,ModelEditPart.MODEL_ID,UMLDiagramEditorPlugin.DIA GRAM_PREFERENCES_HINT);
conceptResource.getContents().add(diagram);
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fake9m$nkh$2@build.eclipse.org...
> Hi Raju,
>
> You can't apply a uml package as a profile on some model. A profile is a
> uml package however.
> Have a look at the getting started article for profiles to discover how to
> work with them.
>
> - James.
>
>
> "Raju Mishra" <rmishra@tibco.com> wrote in message
> news:fakcqb$iu3$1@build.eclipse.org...
>> Hi,
>> Can we apply a uml package as a profile on the uml model . We can apply a
>> profile but not sure about package. i m applying in my code but it's not
>> working .can any body help me --if it can be done then how--
>>
>>
>
>
|
|
|
|
|
Re: applying uml package as profile [message #624521 is a reply to message #475211] |
Fri, 24 August 2007 11:12 |
Eclipse User |
|
|
|
Originally posted by: rmishra.tibco.com
Hi,
Actally i have a UML package and i want to attach diagram with it but ,it's
not working --if i attach diagram with UML model then it works fine ---
so i need some way through which i can convert UML package into UML model
and then attach diagram.
Diagram diagram = ViewService.createDiagram(
org.eclipse.uml2.uml.Package
umlPackage,ModelEditPart.MODEL_ID,UMLDiagramEditorPlugin.DIA GRAM_PREFERENCES_HINT);
conceptResource.getContents().add(diagram);
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fake9m$nkh$2@build.eclipse.org...
> Hi Raju,
>
> You can't apply a uml package as a profile on some model. A profile is a
> uml package however.
> Have a look at the getting started article for profiles to discover how to
> work with them.
>
> - James.
>
>
> "Raju Mishra" <rmishra@tibco.com> wrote in message
> news:fakcqb$iu3$1@build.eclipse.org...
>> Hi,
>> Can we apply a uml package as a profile on the uml model . We can apply a
>> profile but not sure about package. i m applying in my code but it's not
>> working .can any body help me --if it can be done then how--
>>
>>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05193 seconds