Examples of Project


Examples of com.projity.pm.task.Project

   * @see com.projity.document.ObjectEvent.Listener#objectChanged(com.projity.document.ObjectEvent)
   */
  public void objectChanged(ObjectEvent objectEvent) {

    if (objectEvent.getObject() instanceof Project) {
      Project project = (Project)objectEvent.getObject();
      if (objectEvent.isCreate()) {
        if (project.isOpenedAsSubproject())
          closeProjectFrame(project); // because it's now in a project
        else {
          DocumentFrame f = addProjectFrame(project);
        }

View Full Code Here

Examples of com.skymobi.monitor.model.Project

    @RequestMapping(value = "/projects/{projectName}/timeRange", method = RequestMethod.POST)
    public String update(ModelMap map, @PathVariable String projectName,
                         TimeRange timeRange) {
        logger.debug("update  time range to {} of project {} ", timeRange, projectName);
        Project project = projectService.findProject(projectName);

        projectService.saveProject(project);
        return "redirect:/projects/" + projectName;
    }
View Full Code Here

Examples of com.skymobi.qc.admin.dal.domain.Project

    return msg;
  }

  public String projectDestroy(String tag){
    //没有数据 、没有子项目才能被删除
    Project project = getProjectByTag(tag);
    ParaMap<String, Object> pm = new ParaMap<String, Object>();
    pm.put("table_name", project.getTable_name());
   
    int c = projectMapper.itemCount(pm);
    //子项目
    int child = projectMapper.getProjectChild(project.getId());
    String msg = "";
    if (c == 0 && child == 0){
      projectMapper.projectDestroy(project);
    }else{
      if(c>0){
View Full Code Here

Examples of com.taskadapter.redmineapi.bean.Project

   *            content to parse.
   * @return parsed project.
   */
  public static Project parseMinimalProject(JSONObject content)
      throws JSONException {
    final Project result = ProjectFactory.create(JsonInput.getInt(content, "id"));
    result.setIdentifier(JsonInput.getStringOrNull(content, "identifier"));
    result.setName(JsonInput.getStringNotNull(content, "name"));
    return result;
  }
View Full Code Here

Examples of com.thinkgem.jeesite.modules.prj.entity.Project

  @ModelAttribute
  public Project get(@RequestParam(required=false) String id) {
    if (StringUtils.isNotBlank(id)){
      return projectService.get(id);
    }else{
      return new Project();
    }
  }
View Full Code Here

Examples of com.tinkerpop.frames.domain.classes.Project

  }
 
 
  @Test
  public void testJavaHandlerClassAnnotation() {
    Project project = g.getVertex(5, Project.class);
    Assert.assertEquals("java", project.getLanguageUsingMixin());
  }
View Full Code Here

Examples of com.ubx1.pdpscanner.shared.Project

   * @param s
   *            the stat kind
   */
  private void fillDiffLabel(GeneralStat s) {

    Project p = this.project;
    int v = this.version;

    // If there is an anterior version
    if (v > 1) {

      switch (s) {
      case LOC:
        if (p.getNloc(v) > p.getNloc(v - 1)) {
          diffLocLabel.setText("(+)");
        } else if (p.getNloc(v) < p.getNloc(v - 1)) {
          diffLocLabel.setText("(-)");
        }
        break;
      case FUNC:
        if (p.getNfunc(v) > p.getNfunc(v - 1)) {
          diffFuncLabel.setText("(+)");
        } else if (p.getNfunc(v) < p.getNfunc(v - 1)) {
          diffFuncLabel.setText("(-)");
        }
        break;
      case CL:
        if (p.getNcl(v) > p.getNcl(v - 1)) {
          diffClLabel.setText("(+)");
        } else if (p.getNcl(v) < p.getNcl(v - 1)) {
          diffClLabel.setText("(-)");
        }
        break;
      case FILE:
        if (p.getNfile(v) > p.getNfile(v - 1)) {
          diffFileLabel.setText("(+)");
        } else if (p.getNfile(v) < p.getNfile(v - 1)) {
          diffFileLabel.setText("(-)");

        }
        break;
      case PKG:
        if (p.getNpkg(v) > p.getNpkg(v - 1)) {
          diffPkgLabel.setText("(+)");
        } else if (p.getNpkg(v) < p.getNpkg(v - 1)) {
          diffPkgLabel.setText("(-)");

        }
        break;
      default:
View Full Code Here

Examples of com.volantis.mcs.project.Project

        String projectName = values[0].stringValue().asJavaString();

        // retrieve the asset name
        String componentName = values[1].stringValue().asJavaString();

        Project project = application.getPredefinedProject(projectName);

        if (project == null) {
            throw new ExpressionException(
                    exceptionLocalizer.format("mcsi-policy-project-not-defined",
                                              projectName));
View Full Code Here

Examples of com.werken.werkz.Project

    public Project getProject() {
        if ( project == null ) {
          // we may be invoked inside a child script, so lets try find the parent project
          project = (Project) context.findVariable( "org.apache.commons.jelly.werkz.Project" );
          if ( project == null ) {
              project = new Project();
              context.setVariable( "org.apache.commons.jelly.werkz.Project", project );
          }
        }
        return project;
    }
View Full Code Here

Examples of de.FeatureModellingTool.ProjectManager.Project

        this.setTitle(defaultTitle);
       
        this.projectManager = projectManager;
        projectManager.getContext().addContextChangeListener(new ProjectManagerContextChangeListener());
       
        Project project = (Project) projectManager.getContext().getValue(de.FeatureModellingTool.ProjectManager.ConstantDefinition.PROJECT);
       
        /**
         * ʵ����(instancing):
         * 1.��ȡ��Ŀ���������е�Actions������
         * 2.��ȡ����ģ��ʵ������ȡ�����༭��������ģ�ͱ༭��������ģ�����Ա༭��,������ϵ������������
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.