Java 类com.intellij.lang.ant.config.impl.AntBeforeRunTask 实例源码

项目:intellij-ce-playground    文件:AntExecuteBeforeRunDialog.java   
@Override
protected Key<AntBeforeRunTask> getTaskID() {
  return AntBeforeRunTaskProvider.ID;
}
项目:intellij-ce-playground    文件:AntExecuteBeforeRunDialog.java   
@Override
protected boolean isRunning(AntBeforeRunTask task) {
  return task.isRunningTarget(myTarget);
}
项目:intellij-ce-playground    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void update(AntBeforeRunTask task) {
  VirtualFile f = myTarget.getModel().getBuildFile().getVirtualFile();
  task.setAntFileUrl(f != null ? f.getUrl() : null);
  task.setTargetName(f != null ? myTarget.getName() : null);
}
项目:intellij-ce-playground    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void clear(AntBeforeRunTask task) {
  task.setAntFileUrl(null);
  task.setTargetName(null);
}
项目:tools-idea    文件:AntExecuteBeforeRunDialog.java   
@Override
protected Key<AntBeforeRunTask> getTaskID() {
  return AntBeforeRunTaskProvider.ID;
}
项目:tools-idea    文件:AntExecuteBeforeRunDialog.java   
@Override
protected boolean isRunning(AntBeforeRunTask task) {
  return task.isRunningTarget(myTarget);
}
项目:tools-idea    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void update(AntBeforeRunTask task) {
  VirtualFile f = myTarget.getModel().getBuildFile().getVirtualFile();
  task.setAntFileUrl(f != null ? f.getUrl() : null);
  task.setTargetName(f != null ? myTarget.getName() : null);
}
项目:tools-idea    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void clear(AntBeforeRunTask task) {
  task.setAntFileUrl(null);
  task.setTargetName(null);
}
项目:consulo-apache-ant    文件:AntExecuteBeforeRunDialog.java   
@Override
protected Key<AntBeforeRunTask> getTaskID() {
  return AntBeforeRunTaskProvider.ID;
}
项目:consulo-apache-ant    文件:AntExecuteBeforeRunDialog.java   
@Override
protected boolean isRunning(AntBeforeRunTask task) {
  return task.isRunningTarget(myTarget);
}
项目:consulo-apache-ant    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void update(AntBeforeRunTask task) {
  VirtualFile f = myTarget.getModel().getBuildFile().getVirtualFile();
  task.setAntFileUrl(f != null ? f.getUrl() : null);
  task.setTargetName(f != null ? myTarget.getName() : null);
}
项目:consulo-apache-ant    文件:AntExecuteBeforeRunDialog.java   
@Override
protected void clear(AntBeforeRunTask task) {
  task.setAntFileUrl(null);
  task.setTargetName(null);
}