Browse Source

方法名修改

persist/11.0
Maksim 5 years ago
parent
commit
f7a37afe40
  1. 4
      designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java
  2. 2
      designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

4
designer-base/src/main/java/com/fr/design/EnvChangeEntrance.java

@ -132,7 +132,7 @@ public class EnvChangeEntrance {
if (template != null) {
template.refreshToolArea();
}
serviceDialog(selectedEnv);
showServiceDialog(selectedEnv);
} catch (WorkspaceAuthException | RegistEditionException e) {
// String title = Toolkit.i18nText("Fine-Design_Basic_Remote_Connect_Auth_Failed");
// String title = Toolkit.i18nText("Fine-Design_Basic_Lic_Does_Not_Support_Remote");
@ -213,7 +213,7 @@ public class EnvChangeEntrance {
* 对选择的环境做服务检测
* @param selectedEnv 选择的工作环境
*/
public void serviceDialog(DesignerWorkspaceInfo selectedEnv) throws Exception {
public void showServiceDialog(DesignerWorkspaceInfo selectedEnv) throws Exception {
//是否需要做服务校验
if(needCheckBranch(selectedEnv)) {
String localBranch;

2
designer-realize/src/main/java/com/fr/start/module/DesignerWorkspaceProvider.java

@ -64,7 +64,7 @@ public class DesignerWorkspaceProvider extends Activator {
@Override
public void on(Event event, Null aNull) {
try {
EnvChangeEntrance.getInstance().serviceDialog(selectEnv);
EnvChangeEntrance.getInstance().showServiceDialog(selectEnv);
} catch (Exception e) {
FineLoggerFactory.getLogger().warn("Check Service Failed");
}

Loading…
Cancel
Save