Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Direct Edit In Gef
Direct Edit In Gef [message #724758] Tue, 13 September 2011 05:12
karthick9686@gmail.com Missing name
Messages: 41
Registered: July 2011
Member
I have two labels in an figure . by default gef allows direct editing to be performed when the user clicks the edit part. I have two labels in the same figure i have to perform direct editing on the label on which the mouse was clicked . but now when i click both the labels are displaying for direct edit ?

i have placed the coding

@Override
public void performRequest( final Request req )
{

if( req.getType().equals( RequestConstants.REQ_OPEN ) || req.getType().equals( RequestConstants.REQ_DIRECT_EDIT ) )
{

perform directedi()
}
}
Previous Topic:Heop with the IGoToMarker
Next Topic:Defining anchor point using XYAnchor
Goto Forum:
  


Current Time: Tue Sep 30 20:05:47 GMT 2014

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

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