Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to get Enter Key to trigger Open Request on an EditPart?
How to get Enter Key to trigger Open Request on an EditPart? [message #238686] Wed, 26 September 2007 11:18
h1055071 is currently offline h1055071
Messages: 335
Registered: July 2009
Senior Member
Hi,

I can respond to a mouse double-click on an Edit Part by the following:

public void performRequest(Request request) {
if(request.getType() == RequestConstants.REQ_OPEN) {
// Open a view...
}
}

How can I trigger this or something similar from an Enter keypress?

Thanks,

PB
Previous Topic:[Announce] GEF 3.3.1 Maintenance Release Build available
Next Topic:Polyline Connection
Goto Forum:
  


Current Time: Wed Aug 20 22:33:53 EDT 2014

Powered by FUDForum. Page generated in 0.01432 seconds