Revision 17611
branches/v10/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/LayoutKeyEvent.java | ||
---|---|---|
19 | 19 |
public boolean dispatchKeyEvent(KeyEvent e) { |
20 | 20 |
IWindow view = PluginServices.getMDIManager().getActiveWindow(); |
21 | 21 |
|
22 |
if (e.getID() == KeyEvent.KEY_PRESSED || !(view instanceof Layout) || e.getSource().getClass()!=JPanel.class)
|
|
22 |
if (e.getID() == KeyEvent.KEY_PRESSED || !(view instanceof Layout)) |
|
23 | 23 |
return false; |
24 | 24 |
Layout layout=(Layout)view; |
25 | 25 |
if (!layout.isEditable()) |
Also available in: Unified diff