Revision 140 branches/usability_v2/org.gvsig.app.document.layout.app/org.gvsig.app.document.layout.app.mainplugin/src/main/java/org/gvsig/app/project/documents/layout/LayoutKeyEvent.java
LayoutKeyEvent.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
public static boolean copy(LayoutPanel layout) |
43 | 43 |
throws CloneNotSupportedException { |
44 |
IFFrame[] fframes = layout.getLayoutContext().getFFrameSelected();
|
|
44 |
IFFrame[] fframes = layout.getLayoutContext().getSelectedFFrames();
|
|
45 | 45 |
if (fframes.length == 0) |
46 | 46 |
return false; |
47 | 47 |
selectFFrames = new IFFrame[fframes.length]; |
... | ... | |
53 | 53 |
|
54 | 54 |
public static boolean cut(LayoutPanel layout) |
55 | 55 |
throws CloneNotSupportedException { |
56 |
IFFrame[] fframes = layout.getLayoutContext().getFFrameSelected();
|
|
56 |
IFFrame[] fframes = layout.getLayoutContext().getSelectedFFrames();
|
|
57 | 57 |
if (fframes.length == 0) |
58 | 58 |
return false; |
59 | 59 |
selectFFrames = new IFFrame[fframes.length]; |
... | ... | |
119 | 119 |
LayoutPanel layout = (LayoutPanel) view; |
120 | 120 |
if (!layout.getLayoutContext().isEditable()) |
121 | 121 |
return false; |
122 |
IFFrame[] fframes = layout.getLayoutContext().getFFrameSelected();
|
|
122 |
IFFrame[] fframes = layout.getLayoutContext().getSelectedFFrames();
|
|
123 | 123 |
int dif = 10; |
124 | 124 |
if (e.getModifiers() == KeyEvent.CTRL_MASK) { |
125 | 125 |
switch (e.getKeyCode()) { |
Also available in: Unified diff