refactor
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/gis-viewer-app@113651 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ae06e74778
commit
257d0c89fb
|
@ -39,7 +39,7 @@ public class ApplicationController implements WmsDialogHandler{
|
|||
private ContentPanel gisViewerContentPanel;
|
||||
private LayoutContainer mainPanel;
|
||||
private GisViewerParameters gisViewerParameters;
|
||||
private BaloonPanel baloonWMS;
|
||||
private BaloonPanel balloonWMS;
|
||||
private LayoutContainer lcWMS = new LayoutContainer();
|
||||
private WmsRequestConverter wmsRequestConverter;
|
||||
private final ApplicationController INSTANCE = this;
|
||||
|
@ -160,7 +160,7 @@ public class ApplicationController implements WmsDialogHandler{
|
|||
}
|
||||
};
|
||||
|
||||
baloonWMS = new BaloonPanel("+WMS", false, cmd);
|
||||
balloonWMS = new BaloonPanel("+WMS", false, cmd);
|
||||
|
||||
SetZIndex setZIndex = new SetZIndex();
|
||||
safeFunctionCallOn(lcWMS,setZIndex);
|
||||
|
@ -190,17 +190,17 @@ public class ApplicationController implements WmsDialogHandler{
|
|||
*
|
||||
*/
|
||||
public void moveWMSBalloonPosition(){
|
||||
baloonWMS.hide();
|
||||
baloonWMS.setVisible(false);
|
||||
baloonWMS.showRelativeTo(lcWMS);
|
||||
baloonWMS.setVisible(true);
|
||||
balloonWMS.hide();
|
||||
balloonWMS.setVisible(false);
|
||||
balloonWMS.showRelativeTo(lcWMS);
|
||||
balloonWMS.setVisible(true);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the baloonWMS
|
||||
*/
|
||||
public BaloonPanel getBaloonWMS() {
|
||||
return baloonWMS;
|
||||
return balloonWMS;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
|
@ -271,7 +271,7 @@ public class ApplicationController implements WmsDialogHandler{
|
|||
int zi = lcWMS.el().getZIndex();
|
||||
GWT.log("zindex: "+zi);
|
||||
int zIndex = zi<300?300:zi;
|
||||
baloonWMS.getElement().getStyle().setZIndex(zIndex);
|
||||
balloonWMS.getElement().getStyle().setZIndex(zIndex);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue