Double-click on editpart - need to invoke editor command [message #180888] |
Wed, 11 May 2005 11:21 |
Eclipse User |
|
|
|
Originally posted by: balimis.SPAM.poczta.onet.pl
Hello,
I react to the double-click event on editpart with code:
public void performRequest(Request req) {
if (req.getType().equals(RequestConstants.REQ_OPEN)){
System.out.println("double-click");
}
super.performRequest(req);
}
The problem is, that gef code is in "edit" package, but editor classes
are stored in "editor" package - implementation based on ibm's redbook.
Double-click event should open properties dialog, but in editpart there
is no entrypoint to lookup editor, i have no idea how to request execute
command by editor.
How should i implement such functionality?
best regards,
Bali
|
|
|
|
Powered by
FUDForum. Page generated in 0.02688 seconds