Browse Source

增加版本构建时间标记

master
richie 9 years ago
parent
commit
64baf41950
  1. 4
      designer_base/src/com/fr/design/mainframe/DesignerFrame.java

4
designer_base/src/com/fr/design/mainframe/DesignerFrame.java

@ -568,11 +568,13 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
JTemplate<?, ?> editingTemplate = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate(); JTemplate<?, ?> editingTemplate = HistoryTemplateListPane.getInstance().getCurrentEditingTemplate();
StringBuilder defaultTitleSB = new StringBuilder(); StringBuilder defaultTitleSB = new StringBuilder();
defaultTitleSB.append(ProductConstants.PRODUCT_NAME); defaultTitleSB.append(ProductConstants.PRODUCT_NAME);
defaultTitleSB.append(" ");
defaultTitleSB.append(ProductConstants.BRANCH);
// james:标识登录的用户和登录的ENV // james:标识登录的用户和登录的ENV
String envName = DesignerEnvManager.getEnvManager().getCurEnvName(); String envName = DesignerEnvManager.getEnvManager().getCurEnvName();
Env env = DesignerEnvManager.getEnvManager().getEnv(envName); Env env = DesignerEnvManager.getEnvManager().getEnv(envName);
if (env != null) { if (env != null) {
defaultTitleSB.append('-').append(env.getUser()).append('@').append(envName).append('['); defaultTitleSB.append(env.getUser()).append('@').append(envName).append('[');
defaultTitleSB.append(env.getEnvDescription()); defaultTitleSB.append(env.getEnvDescription());
defaultTitleSB.append(']'); defaultTitleSB.append(']');
if (editingTemplate != null) { if (editingTemplate != null) {

Loading…
Cancel
Save