Revision 9392 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TagExtension.java
TagExtension.java | ||
---|---|---|
49 | 49 |
import com.iver.andami.PluginServices; |
50 | 50 |
import com.iver.andami.plugins.Extension; |
51 | 51 |
import com.iver.andami.ui.mdiManager.IWindow; |
52 |
import com.iver.cit.gvsig.gui.layout.Layout; |
|
53 |
import com.iver.cit.gvsig.gui.layout.fframes.FFrameText; |
|
52 |
import com.iver.cit.gvsig.project.documents.layout.fframes.FFrameText; |
|
54 | 53 |
import com.iver.cit.gvsig.project.documents.layout.fframes.IFFrame; |
54 |
import com.iver.cit.gvsig.project.documents.layout.gui.Layout; |
|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
public class TagExtension extends Extension{ |
... | ... | |
79 | 79 |
// asignar el tag a los elementos seleccionados |
80 | 80 |
if (s.equals("SET_TAG")) |
81 | 81 |
{ |
82 |
IFFrame[] selectedFrames = layout.getFFrameSelected(); |
|
82 |
IFFrame[] selectedFrames = layout.getLayoutContext().getFFrameSelected();
|
|
83 | 83 |
if (selectedFrames.length > 0) |
84 | 84 |
{ |
85 | 85 |
String defaultStr = ""; |
... | ... | |
108 | 108 |
// } |
109 | 109 |
// } |
110 | 110 |
layout.setShowIconTag(true); |
111 |
layout.refresh(); |
|
111 |
layout.getLayoutControl().refresh();
|
|
112 | 112 |
} |
113 | 113 |
} |
114 | 114 |
|
... | ... | |
125 | 125 |
if (f.getClass() == Layout.class) |
126 | 126 |
{ |
127 | 127 |
layout = (Layout) f; |
128 |
IFFrame[] selectedFrames = layout.getFFrameSelected(); |
|
128 |
IFFrame[] selectedFrames = layout.getLayoutContext().getFFrameSelected();
|
|
129 | 129 |
if (selectedFrames == null) return false; |
130 | 130 |
return (selectedFrames.length > 0); |
131 | 131 |
} |
Also available in: Unified diff