Browse Source

修改代码格式

master
mengao 7 years ago
parent
commit
6a1ac3880e
  1. 1
      designer_base/src/com/fr/design/javascript/ParameterJavaScriptPane.java
  2. 8
      designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java

1
designer_base/src/com/fr/design/javascript/ParameterJavaScriptPane.java

@ -74,6 +74,7 @@ public class ParameterJavaScriptPane extends AbstractHyperLinkPane<ParameterJava
protected int getChartParaType() { protected int getChartParaType() {
return ParameterTableModel.CHART_NORMAL_USE; return ParameterTableModel.CHART_NORMAL_USE;
} }
protected boolean needRenamePane() { protected boolean needRenamePane() {
return false; return false;
} }

8
designer_chart/src/com/fr/plugin/chart/custom/component/VanChartHyperLinkPane.java

@ -22,6 +22,7 @@ import com.fr.design.hyperlink.WebHyperlinkPane;
import com.fr.design.javascript.JavaScriptImplPane; import com.fr.design.javascript.JavaScriptImplPane;
import com.fr.design.javascript.ParameterJavaScriptPane; import com.fr.design.javascript.ParameterJavaScriptPane;
import com.fr.design.module.DesignModuleFactory; import com.fr.design.module.DesignModuleFactory;
import com.fr.general.FRLogger;
import com.fr.general.Inter; import com.fr.general.Inter;
import com.fr.general.NameObject; import com.fr.general.NameObject;
import com.fr.js.EmailJavaScript; import com.fr.js.EmailJavaScript;
@ -79,13 +80,13 @@ public class VanChartHyperLinkPane extends VanChartUIListControlPane {
return constructor.newInstance(plot.getHyperLinkEditorMap(), false); return constructor.newInstance(plot.getHyperLinkEditorMap(), false);
} catch (InstantiationException e) { } catch (InstantiationException e) {
throw new RuntimeException(e); FRLogger.getLogger().error(e.getMessage(), e);
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
throw new RuntimeException(e); FRLogger.getLogger().error(e.getMessage(), e);
} catch (NoSuchMethodException e) { } catch (NoSuchMethodException e) {
return super.createPaneByCreators(creator); return super.createPaneByCreators(creator);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
e.printStackTrace(); FRLogger.getLogger().error(e.getMessage(), e);
} }
return null; return null;
} }
@ -122,6 +123,7 @@ public class VanChartHyperLinkPane extends VanChartUIListControlPane {
} }
public void populate(TargetComponent elementCasePane) { public void populate(TargetComponent elementCasePane) {
//populate
} }
/** /**

Loading…
Cancel
Save