Package org.sylfra.idea.plugins.revu.settings.project

Examples of org.sylfra.idea.plugins.revu.settings.project.AbstractReviewFilesRevuSettings


    Class<? extends AbstractReviewFilesRevuSettingsComponent> settingsComponentClass =
      review.isShared() ? RevuProjectSettingsComponent.class : RevuWorkspaceSettingsComponent.class;
    AbstractReviewFilesRevuSettingsComponent settingsComponent = project.getComponent(settingsComponentClass);

    AbstractReviewFilesRevuSettings state = (AbstractReviewFilesRevuSettings) settingsComponent.getState();
    List<String> reviewFiles = state.getReviewFiles();
    int index = reviewFiles.indexOf(RevuVfsUtils.buildRelativePath(project, oldFile));
    if (index != -1)
    {
      reviewFiles.set(index, RevuVfsUtils.buildRelativePath(project, newFile));
      settingsComponent.loadState(state);
View Full Code Here


    Class<? extends AbstractReviewFilesRevuSettingsComponent> settingsComponentClass =
      review.isShared() ? RevuProjectSettingsComponent.class : RevuWorkspaceSettingsComponent.class;
    AbstractReviewFilesRevuSettingsComponent settingsComponent = project.getComponent(settingsComponentClass);

    AbstractReviewFilesRevuSettings state = (AbstractReviewFilesRevuSettings) settingsComponent.getState();
    List<String> reviewFiles = state.getReviewFiles();
    int index = reviewFiles.indexOf(RevuVfsUtils.buildRelativePath(project, oldFile));
    if (index != -1)
    {
      reviewFiles.set(index, RevuVfsUtils.buildRelativePath(project, newFile));
      settingsComponent.loadState(state);
View Full Code Here

TOP

Related Classes of org.sylfra.idea.plugins.revu.settings.project.AbstractReviewFilesRevuSettings

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.