|
|
@ -4,6 +4,7 @@ import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.extension.FileExtension; |
|
|
|
import com.fr.base.extension.FileExtension; |
|
|
|
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; |
|
|
@ -368,7 +369,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; |
|
|
|
} |
|
|
|
} |
|
|
|