|
|
@ -122,7 +122,7 @@ public class VcsHelper implements JTemplateActionListener { |
|
|
|
* |
|
|
|
* |
|
|
|
* @param jt |
|
|
|
* @param jt |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void dealWithVcs(final JTemplate jt) { |
|
|
|
public void fireVcs(final JTemplate jt) { |
|
|
|
new Thread(new Runnable() { |
|
|
|
new Thread(new Runnable() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
@ -165,7 +165,7 @@ public class VcsHelper implements JTemplateActionListener { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void templateSaved(JTemplate<?, ?> jt) { |
|
|
|
public void templateSaved(JTemplate<?, ?> jt) { |
|
|
|
if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() && !FineClusterConfig.getInstance().isCluster()) { |
|
|
|
if (DesignerEnvManager.getEnvManager().getVcsConfigManager().isVcsEnable() && !FineClusterConfig.getInstance().isCluster()) { |
|
|
|
dealWithVcs(jt); |
|
|
|
fireVcs(jt); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|