Package org.sylfra.idea.plugins.revu.model

Examples of org.sylfra.idea.plugins.revu.model.Issue


    return splitPane;
  }

  public boolean saveIfModified()
  {
    Issue current = issueTree.getSelectedIssue();

    if (current == null)
    {
      return true;
    }

    // Already called in #updateData, but don't want to save review if item has not changed
    if (!issuePane.isModified(current))
    {
      return true;
    }

    if (issuePane.updateData(current))
    {
      project.getComponent(ReviewManager.class).saveSilently(current.getReview());
      return true;
    }

    return false;
  }
View Full Code Here


  }

  public void updateUI(boolean requestFocus)
  {
    updateMessageCount();
    Issue current = issueTree.getSelectedIssue();
    if (current == null)
    {
      ((CardLayout) pnIssuePaneContainer.getLayout()).show(pnIssuePaneContainer, "message");
    }
    else
    {
      ((CardLayout) pnIssuePaneContainer.getLayout()).show(pnIssuePaneContainer, "issuePane");
      issuePane.updateUI(current.getReview(), current, requestFocus);
    }
  }
View Full Code Here

TOP

Related Classes of org.sylfra.idea.plugins.revu.model.Issue

Copyright © 2018 www.massapicom. 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.