Browse Source

Merge branch 'release/10.0' of http://cloud.finedevelop.com:2015/scm/~kerry/design_10.0 into release/10.0

master
kerry 7 years ago
parent
commit
36a486428e
  1. 7
      designer-base/src/com/fr/design/env/RemoteWorkspace.java
  2. 415
      designer-base/src/com/fr/design/mainframe/DesignerFrame.java
  3. 3
      designer-chart/src/com/fr/van/chart/designer/component/marker/VanChartImageMarkerPane.java
  4. 14
      designer-chart/src/com/fr/van/chart/map/designer/type/VanChartMapSourceChoosePane.java

7
designer-base/src/com/fr/design/env/RemoteWorkspace.java vendored

@ -1,6 +1,7 @@
package com.fr.design.env;
import com.fr.env.operator.decision.DecisionOperator;
import com.fr.locale.InterProviderFactory;
import com.fr.workspace.WorkContext;
import com.fr.workspace.Workspace;
import com.fr.workspace.connect.WorkspaceClient;
@ -28,6 +29,12 @@ public class RemoteWorkspace implements Workspace {
return address;
}
@Override
public String getDescription() {
return InterProviderFactory.getProvider().getLocText("Fine-Designer_Basic_Remote_Env");
}
@Override
public boolean isWarDeploy() {

415
designer-base/src/com/fr/design/mainframe/DesignerFrame.java

File diff suppressed because it is too large Load Diff

3
designer-chart/src/com/fr/van/chart/designer/component/marker/VanChartImageMarkerPane.java

@ -1,6 +1,7 @@
package com.fr.van.chart.designer.component.marker;
import com.fr.base.background.ImageBackground;
import com.fr.base.background.ImageFileBackground;
import com.fr.design.beans.BasicBeanPane;
import com.fr.design.gui.ilable.UILabel;
import com.fr.design.gui.ispinner.UISpinner;
@ -98,7 +99,7 @@ public class VanChartImageMarkerPane extends BasicBeanPane<VanChartAttrMarker> {
public void updateBean(VanChartAttrMarker marker) {
marker.setCommon(false);
marker.setMarkerType(MarkerType.MARKER_NULL);
ImageBackground background = (ImageBackground) imageBackgroundPane.updateBean();
ImageFileBackground background = (ImageFileBackground) imageBackgroundPane.updateBean();
background.setLayout(Constants.IMAGE_EXTEND);
marker.setImageBackground(background);
marker.setWidth(width.getValue());

14
designer-chart/src/com/fr/van/chart/map/designer/type/VanChartMapSourceChoosePane.java

@ -119,7 +119,7 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
private String[] oldParams;
private UIObserverListener listener;
private String[] layers = MapLayerConfigManager.getInstance().getLayerItems();
private String[] layers = MapLayerConfigManager.getLayerItems();
/**
* 给组件登记一个观察者监听事件
*
@ -261,7 +261,7 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
gisLayer.removeAllItems();
for(String item : MapLayerConfigManager.getInstance().getLayerItems()){
for (String item : MapLayerConfigManager.getLayerItems()) {
gisLayer.addItem(item);
}
@ -286,9 +286,9 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
@Override
public Dimension getPreferredSize() {
String itemName = Utils.objectToString(gisLayer.getSelectedItem());
if(MapLayerConfigManager.getInstance().isCustomLayer(itemName)){
if (MapLayerConfigManager.isCustomLayer(itemName)) {
return tileLyaerPane.getPreferredSize();
}else if(MapLayerConfigManager.getInstance().isCustomWmsLayer(itemName)){
} else if (MapLayerConfigManager.isCustomWmsLayer(itemName)) {
return wmsLayerPane.getPreferredSize();
}
return new Dimension(0,0);
@ -297,9 +297,9 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
for(String itemName : layers){
JPanel pane = new JPanel();
if(MapLayerConfigManager.getInstance().isCustomLayer(itemName)){
if (MapLayerConfigManager.isCustomLayer(itemName)) {
pane = tileLyaerPane;
}else if(MapLayerConfigManager.getInstance().isCustomWmsLayer(itemName)){
} else if (MapLayerConfigManager.isCustomWmsLayer(itemName)) {
pane = wmsLayerPane;
}
@ -681,7 +681,7 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
String layerName = Utils.objectToString(gisLayer.getSelectedItem());
layer.setLayerName(layerName);
layer.setGisLayerType(MapLayerConfigManager.getInstance().getGisLayerType(layerName));
layer.setGisLayerType(MapLayerConfigManager.getGisLayerType(layerName));
switch (layer.getGisLayerType()){
case CUSTOM_WMS_LAYER:

Loading…
Cancel
Save