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
67bb140386
  1. 1
      designer-base/src/com/fr/design/actions/file/SwitchExistEnv.java
  2. 2
      designer-base/src/com/fr/design/env/DesignerWorkspaceGenerator.java
  3. 1
      designer-realize/src/com/fr/design/mainframe/errorinfo/ErrorInfoLogAppender.java
  4. 3
      designer-realize/src/com/fr/start/Designer.java
  5. 1
      designer-realize/src/com/fr/start/module/DesignerActivator.java
  6. 4
      designer-realize/src/com/fr/start/module/DesignerStartup.java

1
designer-base/src/com/fr/design/actions/file/SwitchExistEnv.java

@ -114,7 +114,6 @@ public class SwitchExistEnv extends MenuDef {
@Override @Override
public void fail() { public void fail() {
TemplatePane.getInstance().editItems();
JOptionPane.showMessageDialog( JOptionPane.showMessageDialog(
DesignerContext.getDesignerFrame(), DesignerContext.getDesignerFrame(),
Inter.getLocText(new String[]{"M-SwitchWorkspace", "Failed"})); Inter.getLocText(new String[]{"M-SwitchWorkspace", "Failed"}));

2
designer-base/src/com/fr/design/env/DesignerWorkspaceGenerator.java vendored

@ -23,7 +23,9 @@ public class DesignerWorkspaceGenerator {
} }
case Remote: { case Remote: {
WorkspaceClient client = WorkContext.getConnector().connect(config.getConnection()); WorkspaceClient client = WorkContext.getConnector().connect(config.getConnection());
if (client != null) {
workspace = new RemoteWorkspace(client, config.getConnection()); workspace = new RemoteWorkspace(client, config.getConnection());
}
break; break;
} }
} }

1
designer-realize/src/com/fr/design/mainframe/errorinfo/ErrorInfoLogAppender.java

@ -120,7 +120,6 @@ public class ErrorInfoLogAppender extends AppenderSkeleton {
@Override @Override
public void readXML(XMLableReader reader) { public void readXML(XMLableReader reader) {
super.readXML(reader);
readDesign(reader); readDesign(reader);
} }

3
designer-realize/src/com/fr/start/Designer.java

@ -44,6 +44,7 @@ import com.fr.general.ComparatorUtils;
import com.fr.general.Inter; import com.fr.general.Inter;
import com.fr.module.Module; import com.fr.module.Module;
import com.fr.module.ModuleContext; import com.fr.module.ModuleContext;
import com.fr.record.analyzer.FineAnalyzer;
import com.fr.stable.BuildContext; import com.fr.stable.BuildContext;
import com.fr.stable.OperatingSystem; import com.fr.stable.OperatingSystem;
import com.fr.stable.ProductConstants; import com.fr.stable.ProductConstants;
@ -97,6 +98,8 @@ public class Designer extends BaseDesigner {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
FineAnalyzer.init();
BuildContext.setBuildFilePath("/com/fr/stable/build.properties"); BuildContext.setBuildFilePath("/com/fr/stable/build.properties");

1
designer-realize/src/com/fr/start/module/DesignerActivator.java

@ -305,7 +305,6 @@ public class DesignerActivator extends Activator implements Prepare {
}); });
} }
private static void designerRegister() { private static void designerRegister() {
registerCellEditor(); registerCellEditor();
registerFloatEditor(); registerFloatEditor();

4
designer-realize/src/com/fr/start/module/DesignerStartup.java

@ -4,6 +4,8 @@ import com.fr.design.mainframe.DesignerContext;
import com.fr.event.Event; import com.fr.event.Event;
import com.fr.event.Listener; import com.fr.event.Listener;
import com.fr.module.Activator; import com.fr.module.Activator;
import com.fr.record.analyzer.EnableMetrics;
import com.fr.record.analyzer.Metrics;
import com.fr.start.Designer; import com.fr.start.Designer;
import com.fr.start.EnvSwitcher; import com.fr.start.EnvSwitcher;
import com.fr.start.SplashContext; import com.fr.start.SplashContext;
@ -17,9 +19,11 @@ import java.util.concurrent.Executors;
/** /**
* Created by juhaoyu on 2018/1/8. * Created by juhaoyu on 2018/1/8.
*/ */
@EnableMetrics
public class DesignerStartup extends Activator { public class DesignerStartup extends Activator {
@Override @Override
@Metrics
public void start() { public void start() {
startSub(PreStartActivator.class); startSub(PreStartActivator.class);
//启动基础部分 //启动基础部分

Loading…
Cancel
Save