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 01: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: Wed Aug 20 04:55:58 EDT 2014

Powered by FUDForum. Page generated in 0.02164 seconds