当前位置: 首页>>代码示例>>Java>>正文


Java SvnVcs.getProject方法代码示例

本文整理汇总了Java中org.jetbrains.idea.svn.SvnVcs.getProject方法的典型用法代码示例。如果您正苦于以下问题:Java SvnVcs.getProject方法的具体用法?Java SvnVcs.getProject怎么用?Java SvnVcs.getProject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.jetbrains.idea.svn.SvnVcs的用法示例。


在下文中一共展示了SvnVcs.getProject方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: HistoryConflictSide

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
private HistoryConflictSide(SvnVcs vcs, ConflictVersion version, final SVNRevision peg) throws VcsException {
  super(vcs.getProject(), version);
  myVcs = vcs;
  myPeg = peg;
  try {
    myPath = VcsUtil.getFilePathOnNonLocal(
      version.getRepositoryRoot().appendPath(FileUtil.toSystemIndependentName(version.getPath()), true).toString(),
      version.isDirectory());
  }
  catch (SVNException e) {
    throw new VcsException(e);
  }

  mySessionAdapter = new VcsAppendableHistoryPartnerAdapter();
  /*mySessionAdapter.reportCreatedEmptySession(new SvnHistorySession(myVcs, Collections.<VcsFileRevision>emptyList(),
    myPath, SvnUtil.checkRepositoryVersion15(myVcs, version.getPath()), null, true));*/
  myProvider = (SvnHistoryProvider) myVcs.getVcsHistoryProvider();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:19,代码来源:TreeConflictRefreshablePanel.java

示例2: Merger

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public Merger(final SvnVcs vcs,
              final List<CommittedChangeList> changeLists,
              final File target,
              final UpdateEventHandler handler,
              final SVNURL currentBranchUrl,
              String branchName,
              boolean recordOnly,
              boolean invertRange,
              boolean groupSequentialChangeLists) {
  myBranchName = branchName;
  myVcs = vcs;
  myProject = vcs.getProject();
  mySvnConfig = SvnConfiguration.getInstance(vcs.getProject());
  myCurrentBranchUrl = currentBranchUrl;
  myChangeLists = ContainerUtil.sorted(changeLists, ByNumberChangeListComparator.getInstance());
  myTarget = target;
  myProgressIndicator = ProgressManager.getInstance().getProgressIndicator();
  myHandler = handler;
  myCommitMessage = new StringBuilder();
  myRecordOnly = recordOnly;
  myInvertRange = invertRange;
  myGroupSequentialChangeLists = groupSequentialChangeLists;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:24,代码来源:Merger.java

示例3: SvnIntegrateChangesTask

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnIntegrateChangesTask(final SvnVcs vcs, @NotNull WorkingCopyInfo info, final MergerFactory mergerFactory,
                               final SVNURL currentBranchUrl, final String title, final boolean dryRun, String branchName) {
  super(vcs.getProject(), title, true, VcsConfiguration.getInstance(vcs.getProject()).getUpdateOption());
  myDryRun = dryRun;
  myTitle = title;

  myProjectLevelVcsManager = ProjectLevelVcsManagerEx.getInstanceEx(myProject);
  myVcs = vcs;

  myInfo = info;

  myAccumulatedFiles = new UpdatedFilesReverseSide(UpdatedFiles.create());
  myExceptions = new ArrayList<VcsException>();
  myHandler = new IntegrateEventHandler(myVcs, ProgressManager.getInstance().getProgressIndicator());
  myMerger = mergerFactory.createMerger(myVcs, new File(myInfo.getLocalPath()), myHandler, currentBranchUrl, branchName);
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:17,代码来源:SvnIntegrateChangesTask.java

示例4: BaseSvnFileAnnotation

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public BaseSvnFileAnnotation(final SvnVcs vcs, final String contents, final VcsRevisionNumber baseRevision) {
  super(vcs.getProject());
  myVcs = vcs;
  myContents = contents;
  myBaseRevision = baseRevision;
  myConfiguration = SvnConfiguration.getInstance(vcs.getProject());
  myShowMergeSources = myConfiguration.isShowMergeSourcesInAnnotate();

  myInfos = new MyPartiallyCreatedInfos();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:11,代码来源:BaseSvnFileAnnotation.java

示例5: SvnAuthenticationProvider

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnAuthenticationProvider(final SvnVcs svnVcs, final ISVNAuthenticationProvider provider,
                                 final SvnAuthenticationManager authenticationManager) {
  myAuthenticationManager = authenticationManager;
  myProject = svnVcs.getProject();
  myAuthenticationNotifier = svnVcs.getAuthNotifier();
  mySvnInteractiveAuthenticationProvider = provider;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:8,代码来源:SvnAuthenticationProvider.java

示例6: MergeContext

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public MergeContext(@NotNull SvnVcs vcs,
                    @NotNull String sourceUrl,
                    @NotNull WCInfo wcInfo,
                    @NotNull String branchName,
                    @NotNull VirtualFile root) {
  myVcs = vcs;
  myProject = vcs.getProject();
  myBranchName = branchName;
  myRoot = root;
  mySourceUrl = sourceUrl;
  myWcInfo = wcInfo;
  myTitle = "Merge from " + myBranchName;
  myRepositoryRelativeSourcePath = SvnUtil.ensureStartSlash(SVNPathUtil.getRelativePath(myWcInfo.getRepositoryRoot(), mySourceUrl));
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:15,代码来源:MergeContext.java

示例7: RootsAndBranches

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public RootsAndBranches(@NotNull SvnVcs vcs, @NotNull DecoratorManager manager, final RepositoryLocation location) {
  myVcs = vcs;
  myProject = vcs.getProject();
  myManager = manager;
  myLocation = location;

  myDataLoader = new WcInfoLoader(myVcs, myLocation);

  myMergePanels = new HashMap<String, SvnMergeInfoRootPanelManual>();
  myHolders = new HashMap<String, MergeInfoHolder>();

  myFilterMerged = new FilterOutMerged();
  myFilterNotMerged = new FilterOutNotMerged();
  myFilterAlien = new FilterOutAlien();
  myIntegrateAction = new IntegrateChangeListsAction(true);
  myUndoIntegrateChangeListsAction = new IntegrateChangeListsAction(false);

  myPanel = new JPanel(new GridBagLayout());
  createToolbar();
  final GridBagConstraints gb =
    new GridBagConstraints(0, 0, 1, 1, 1, 0, GridBagConstraints.NORTH, GridBagConstraints.NONE, new Insets(1, 1, 1, 1), 0, 0);
  gb.insets = new Insets(20, 1, 1, 1);
  myPanel.add(new JLabel("Loading..."), gb);
  
  myPanel.setPreferredSize(new Dimension(200, 60));

  myManager.install(this);

  myStrategy = new MergePanelFiltering(getPanel());
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:31,代码来源:RootsAndBranches.java

示例8: SvnInteractiveAuthenticationProvider

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnInteractiveAuthenticationProvider(final SvnVcs vcs, SvnAuthenticationManager manager) {
  myManager = manager;
  myProject = vcs.getProject();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:SvnInteractiveAuthenticationProvider.java

示例9: SvnDiffFromHistoryHandler

import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnDiffFromHistoryHandler(@NotNull SvnVcs vcs) {
  super(vcs.getProject());
  myVcs = vcs;
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:SvnDiffFromHistoryHandler.java


注:本文中的org.jetbrains.idea.svn.SvnVcs.getProject方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。