Revision 15238
import/ext3D/trunk/ext3D/src/com/iver/ai2/gvsig3d/gui/NavigationMenu3D.java | ||
---|---|---|
109 | 109 |
|
110 | 110 |
CustomTerrainManipulator ctm = vista3D.getCanvas3d() |
111 | 111 |
.getOSGViewer().getCustomTerrainManipulator(); |
112 |
|
|
113 |
JToolBarButton b = (JToolBarButton) PluginServices |
|
114 |
.getMainFrame().getComponentByName("NORTH"); |
|
112 | 115 |
if ((!ctm.getNorthOrientation()) && (myMenu != null)) { |
113 | 116 |
myMenu.setIcon(iconVis); |
114 | 117 |
|
115 |
JToolBarButton b = (JToolBarButton) PluginServices |
|
116 |
.getMainFrame().getComponentByName("NORTH"); |
|
117 | 118 |
if (b != null) { |
118 | 119 |
b.setIcon(iconButtonVis); |
119 | 120 |
b.setToolTip(PluginServices.getText(this, "Des_north") |
... | ... | |
123 | 124 |
} else { |
124 | 125 |
myMenu.setIcon(iconNoVis); |
125 | 126 |
|
126 |
JToolBarButton b = (JToolBarButton) PluginServices |
|
127 |
.getMainFrame().getComponentByName("NORTH"); |
|
128 | 127 |
if (b != null) { |
129 | 128 |
b.setIcon(iconButtonNoVis); |
130 | 129 |
b.setToolTip(PluginServices.getText(this, "Ac_north") |
Also available in: Unified diff