Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to create view with existed element?
how to create view with existed element? [message #1242] Tue, 01 August 2006 07:12 Go to next message
Eclipse UserFriend
Originally posted by: dzhpingbo.sohu.com

I use the code below to create View with existed element:

CreateViewRequest.ViewDescriptor viewDescriptor = new
CreateViewRequest.ViewDescriptor(new EObjectAdapter(data), Node.class, null,
ProcessDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT); //data is an element
which is already existed
CreateViewRequest cvRequest = new CreateViewRequest((viewDescriptor));

Command cmd =
targetDiagramEditor.getDiagramEditPart().getCommand(cvReques t);

return cmd;

but the view seem like does not listen to its element, Does anyone have any
other way to fulfill this?
how to make a pur plugin after working on with Lite RCP [message #167921 is a reply to message #1242] Fri, 11 January 2008 16:59 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: serge.bedime.dai-labor.de

I' make my plugin working with Lite RCP. I install it on my eclipse
environnment, It works well. Even when i open my diagram from menu file
open every thing work well. but from Project-Explorer, the diagram opens up,
ibut i cannot add new object to the diagram from the palette. I become a
stackOverflowException. Can somebody help to fix this problem?
Re: how to make a pur plugin after working on with Lite RCP [message #167933 is a reply to message #167921] Fri, 11 January 2008 17:35 Go to previous messageGo to next message
Boris Blajer is currently offline Boris BlajerFriend
Messages: 217
Registered: July 2009
Senior Member
Hi Serge,

Could I ask you to provide more details? At least the repeating portion
of the stack trace?

Thank you in advance and
Best regards,
Boris

serge Bedime wrote:
> I' make my plugin working with Lite RCP. I install it on my eclipse
> environnment, It works well. Even when i open my diagram from menu file
> open every thing work well. but from Project-Explorer, the diagram opens up,
> ibut i cannot add new object to the diagram from the palette. I become a
> stackOverflowException. Can somebody help to fix this problem?
>
>
Re: In AGR While Creating Datapool, "Link to Datapool" is not visible [message #1788305] Wed, 30 May 2018 16:40 Go to previous message
Eclipse UserFriend
1
Previous Topic:Attach Other Figures/EditParts to a Connection
Next Topic:Eugenia
Goto Forum:
  


Current Time: Sun Nov 18 17:21:36 GMT 2018

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

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

Back to the top