|
|
@ -57,14 +57,15 @@ public class WMSLayerPane extends JPanel implements UIObserver { |
|
|
|
public WMSLayerPane() { |
|
|
|
public WMSLayerPane() { |
|
|
|
final double p = TableLayout.PREFERRED; |
|
|
|
final double p = TableLayout.PREFERRED; |
|
|
|
double[] rowSize = {p}; |
|
|
|
double[] rowSize = {p}; |
|
|
|
double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 44}; |
|
|
|
double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 95}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wmsUrl = new UITextArea(); |
|
|
|
wmsUrl = new UITextArea(); |
|
|
|
connectButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Connect_WMP")); |
|
|
|
String connectionButtonText = Toolkit.i18nText("Fine-Design_Chart_Connect_WMP"); |
|
|
|
|
|
|
|
connectButton = new UIButton(connectionButtonText); |
|
|
|
|
|
|
|
connectButton.setToolTipText(connectionButtonText); |
|
|
|
Component[][] comps = new Component[][]{ |
|
|
|
Component[][] comps = new Component[][]{ |
|
|
|
new Component[]{new UILabel("url"), wmsUrl, connectButton} |
|
|
|
new Component[]{new UILabel("URL"), wmsUrl, connectButton} |
|
|
|
}; |
|
|
|
}; |
|
|
|
JPanel northPane = TableLayout4VanChartHelper.createGapTableLayoutPane(comps, rowSize, COLUMN_SIZE); |
|
|
|
JPanel northPane = TableLayout4VanChartHelper.createGapTableLayoutPane(comps, rowSize, COLUMN_SIZE); |
|
|
|
northPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER); |
|
|
|
northPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER); |
|
|
|