Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » contributing to Connection Handles in GMF(contributing to Connection Handles in GMF)
contributing to Connection Handles in GMF [message #664956] Tue, 12 April 2011 15:16 Go to next message
SPRao  is currently offline SPRao Friend
Messages: 5
Registered: March 2011
Junior Member
In my GMF diagram, I want to have my own menus for the connection handles rather than the default one's. I am finding it difficult to find the default connection handles menu contribution.Can anyone help me with this.

Does anybody know how to contribute to connection handles in GMF. or a tutorial to refer.

Re: contributing to Connection Handles in GMF [message #666272 is a reply to message #664956] Tue, 19 April 2011 17:01 Go to previous message
emil salageanu is currently offline emil salageanuFriend
Messages: 94
Registered: June 2010
Location: Nice, France

Write a class MyCustomConnectionHandleEditPolicy extends

and contribute it in the method

protected void createDefaultEditPolicies() {
new MyCustomConnectionHandleEditPolic());

Then you take a loo at ConnectionHandleEditPolicy and it's super types and see how it works and how you cand change things.

Previous Topic:[SOLVED]Connection Anchor
Next Topic:ViewFactory Deprecation
Goto Forum:

Current Time: Sun Apr 11 07:40:05 GMT 2021

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

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

Back to the top