public void postExecuteSuccess(String commandId, Object returnValue) {
Boolean isCommitEnable = Activator.getDefault().getPreferenceStore().getBoolean(PreferenceConstants.ENABLE_GIT_COMMIT);
if(isCommitEnable){
GitPushAction action = new GitPushAction();
action.run(null);
}
}
public void postExecuteFailure(String commandId, ExecutionException exception) {
// TODO Auto-generated method stub