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

Examples of org.sylfra.idea.plugins.revu.settings.project.workspace.RevuWorkspaceSettingsComponent


    if (project == null)
    {
      return;
    }

    RevuWorkspaceSettingsComponent settingsComponent = project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings settings = settingsComponent.getState();

    settings.setAutoScrollToSource(!settings.isAutoScrollToSource());
    settingsComponent.loadState(settings);
  }
View Full Code Here


    }

    review.setStatus(ReviewStatus.FIXING);
    project.getComponent(ReviewManager.class).saveChanges(review);

    RevuWorkspaceSettingsComponent workspaceSettingsComponent =
      project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
    workspaceSettings.setReviewingReviewName(null);
    workspaceSettingsComponent.loadState(workspaceSettings);
  }
View Full Code Here

      review.setStatus(ReviewStatus.REVIEWING);
      project.getComponent(ReviewManager.class).saveChanges(review);

      ProjectViewSelectInTarget.select(project, this, RevuProjectViewPane.ID, review.getName(), null, true);

      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setReviewingReviewName(review.getName());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
View Full Code Here

      project.getComponent(RevuProjectSettingsComponent.class);
    RevuProjectSettings projectSettings = retrieveProjectSettings();
    projectSettings.setReviewFiles(projectReviewFiles);
    projectSettingsComponent.loadState(projectSettings);

    RevuWorkspaceSettingsComponent workspaceSettingsComponent =
      project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings workspaceSettings = retrieveWorkspaceSettings();
    workspaceSettings.setReviewFiles(workspaceReviewFiles);
    workspaceSettingsComponent.loadState(workspaceSettings);
  }
View Full Code Here

  {
    Project project = e.getData(PlatformDataKeys.PROJECT);

    if (project != null)
    {
      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setFilterFilesWithIssues(!workspaceSettings.isFilterFilesWithIssues());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
  }
View Full Code Here

    if (project == null)
    {
      return;
    }

    RevuWorkspaceSettingsComponent settingsComponent = project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings settings = settingsComponent.getState();

    settings.setAutoScrollToSource(!settings.isAutoScrollToSource());
    settingsComponent.loadState(settings);
  }
View Full Code Here

    }

    review.setStatus(ReviewStatus.FIXING);
    project.getComponent(ReviewManager.class).saveChanges(review);

    RevuWorkspaceSettingsComponent workspaceSettingsComponent =
      project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
    workspaceSettings.setReviewingReviewName(null);
    workspaceSettingsComponent.loadState(workspaceSettings);
  }
View Full Code Here

      review.setStatus(ReviewStatus.REVIEWING);
      project.getComponent(ReviewManager.class).saveChanges(review);

      ProjectViewSelectInTarget.select(project, this, RevuProjectViewPane.ID, review.getName(), null, true);

      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setReviewingReviewName(review.getName());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
View Full Code Here

  {
    Project project = e.getData(DataKeys.PROJECT);

    if (project != null)
    {
      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setFilterFilesWithIssues(!workspaceSettings.isFilterFilesWithIssues());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
  }
View Full Code Here

      return;
    }

    currentFile = file;

    RevuWorkspaceSettingsComponent workspaceSettingsComponent
      = project.getComponent(RevuWorkspaceSettingsComponent.class);
    RevuWorkspaceSettings state = workspaceSettingsComponent.getState();
    state.setLastSelectedReviewDir(vFile.getPath());
    workspaceSettingsComponent.loadState(state);

    super.doOKAction();
  }
View Full Code Here

TOP

Related Classes of org.sylfra.idea.plugins.revu.settings.project.workspace.RevuWorkspaceSettingsComponent

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.