Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » show properties view by double-click
show properties view by double-click [message #165974] Wed, 19 December 2007 11:45 Go to next message
Eclipse UserFriend
Hi, I'm doing an editor and I want to show properties view of an element
when I do double click over it.

I have installed an editPolicy in elementEditPart and I have the method
getOpenCommand where I have to put the code to show properties view but I
don't know how to do this.

Thanks.
Re: show properties view by double-click [message #166129 is a reply to message #165974] Thu, 20 December 2007 10:27 Go to previous message
Eclipse UserFriend
Hi another time,

I have solved it adding two lines:

String viewId = "org.eclipse.ui.views.PropertySheet";

PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActi vePage()
.showView(viewId);
Previous Topic:Live Validation Issues
Next Topic:Obtain XY position of target ends from a connection
Goto Forum:
  


Current Time: Tue Jul 22 02:31:27 EDT 2025

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

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

Back to the top