Examples of loadState()


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

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

  private RevuProjectSettings retrieveProjectSettings()
  {
    return RevuUtils.getProjectSettings(project);
View Full Code Here

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

    {
      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setFilterFilesWithIssues(!workspaceSettings.isFilterFilesWithIssues());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
  }

  public boolean isSelected(AnActionEvent e)
  {
View Full Code Here

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

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

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

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

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

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

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

    public int compareTo(StartReviewAction o)
    {
      return review.compareTo(o.review);
View Full Code Here

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

    {
      RevuWorkspaceSettingsComponent workspaceSettingsComponent =
        project.getComponent(RevuWorkspaceSettingsComponent.class);
      RevuWorkspaceSettings workspaceSettings = workspaceSettingsComponent.getState();
      workspaceSettings.setFilterFilesWithIssues(!workspaceSettings.isFilterFilesWithIssues());
      workspaceSettingsComponent.loadState(workspaceSettings);
    }
  }

  public boolean isSelected(AnActionEvent e)
  {
View Full Code Here

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

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

    super.doOKAction();
  }

}
View Full Code Here

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

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

  private RevuProjectSettings retrieveProjectSettings()
  {
    return RevuUtils.getProjectSettings(project);
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.