本文整理汇总了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();
}
示例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;
}
示例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);
}
示例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();
}
示例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;
}
示例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));
}
示例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());
}
示例8: SvnInteractiveAuthenticationProvider
import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnInteractiveAuthenticationProvider(final SvnVcs vcs, SvnAuthenticationManager manager) {
myManager = manager;
myProject = vcs.getProject();
}
示例9: SvnDiffFromHistoryHandler
import org.jetbrains.idea.svn.SvnVcs; //导入方法依赖的package包/类
public SvnDiffFromHistoryHandler(@NotNull SvnVcs vcs) {
super(vcs.getProject());
myVcs = vcs;
}