|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
package com.fr.van.chart.map.designer.type; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fine.theme.utils.FineComponentsFactory; |
|
|
|
|
import com.fine.theme.utils.FineLayoutBuilder; |
|
|
|
|
import com.fr.decision.webservice.v10.map.MapEditService; |
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
@ -28,6 +29,8 @@ import java.awt.event.ActionListener;
|
|
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
|
|
|
|
|
import static com.fine.theme.utils.FineUIScale.scale; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @author Bjorn |
|
|
|
|
* @version 10.0 |
|
|
|
@ -61,9 +64,11 @@ public class WMSLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
connectButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Connect_WMP")); |
|
|
|
|
|
|
|
|
|
Component[][] comps = new Component[][]{ |
|
|
|
|
new Component[]{new UILabel("url"), wmsUrl, null, connectButton} |
|
|
|
|
new Component[]{new UILabel("url"), |
|
|
|
|
FineComponentsFactory.createFixHeightTextArea(wmsUrl, scale(36)), |
|
|
|
|
null, connectButton} |
|
|
|
|
}; |
|
|
|
|
JPanel northPane = FineLayoutBuilder.compatibleTableLayout(10, comps, new double[]{1.2, 1.4, 0.2, 1.4}); |
|
|
|
|
JPanel northPane = FineLayoutBuilder.compatibleTableLayout(10, comps, new double[]{1.2, 1.8, 0.2, 1.0}); |
|
|
|
|
|
|
|
|
|
wmsLayerPane = new JPanel(new BorderLayout()); |
|
|
|
|
resetWMSLayerPane(new ArrayList<>()); |
|
|
|
|