Java Code Examples for com.intellij.openapi.vcs.CheckinProjectPanel#getProject()

The following examples show how to use com.intellij.openapi.vcs.CheckinProjectPanel#getProject() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RearrangeCheckinHandlerFactory.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
@Nonnull
public CheckinHandler createHandler(@Nonnull final CheckinProjectPanel panel, @Nonnull CommitContext commitContext) {
  return new RearrangeBeforeCheckinHandler(panel.getProject(), panel);
}
 
Example 2
Source File: CodeCleanupCheckinHandlerFactory.java    From consulo with Apache License 2.0 4 votes vote down vote up
public CleanupCodeCheckinHandler(CheckinProjectPanel panel) {
  myProject = panel.getProject();
  myPanel = panel;
}
 
Example 3
Source File: CodeAnalysisCheckinHandlerFactory.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
@Nonnull
public CheckinHandler createHandler(final CheckinProjectPanel panel, CommitContext commitContext) {
  return new CodeAnalysisBeforeCheckinHandler(panel.getProject(), panel);
}
 
Example 4
Source File: ReformatCheckinHandlerFactory.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
@Nonnull
public CheckinHandler createHandler(final CheckinProjectPanel panel, CommitContext commitContext) {
  return new ReformatBeforeCheckinHandler(panel.getProject(), panel);
}
 
Example 5
Source File: TodoCheckinHandler.java    From consulo with Apache License 2.0 4 votes vote down vote up
public TodoCheckinHandler(CheckinProjectPanel checkinProjectPanel) {
  myProject = checkinProjectPanel.getProject();
  myCheckinProjectPanel = checkinProjectPanel;
  myConfiguration = VcsConfiguration.getInstance(myProject);
}
 
Example 6
Source File: OptimizeOptionsCheckinHandlerFactory.java    From consulo with Apache License 2.0 4 votes vote down vote up
@Override
@Nonnull
public CheckinHandler createHandler(final CheckinProjectPanel panel, CommitContext commitContext) {
  return new OptimizeImportsBeforeCheckinHandler(panel.getProject(), panel);
}