|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
import com.fr.cluster.ClusterBridge; |
|
|
|
import com.fr.cluster.ClusterBridge; |
|
|
|
|
|
|
|
import com.fr.cluster.engine.base.FineClusterConfig; |
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
import com.fr.design.DesignModelAdapter; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
@ -367,7 +368,7 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt |
|
|
|
private void fireVcsActionChange() { |
|
|
|
private void fireVcsActionChange() { |
|
|
|
if (!DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() |
|
|
|
if (!DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() |
|
|
|
|| VcsHelper.getInstance().isUnSelectedTemplate() |
|
|
|
|| VcsHelper.getInstance().isUnSelectedTemplate() |
|
|
|
|| ClusterBridge.isClusterMode()) { |
|
|
|
|| FineClusterConfig.getInstance().isCluster()) { |
|
|
|
setEnabled(false); |
|
|
|
setEnabled(false); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|