IDEADEV-41062 (Map help button of "Import into Subversion" dialog box)
[fedora-idea.git] / plugins / svn4idea / src / org / jetbrains / idea / svn / Real.java
blob24f1b77ee10159729970393b3502d18813ade2e6
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.jetbrains.idea.svn;
18 import org.tmatesoft.svn.core.wc.SVNInfo;
19 import com.intellij.openapi.vfs.VirtualFile;
21 class Real extends Node implements RootUrlPair {
22 private final SVNInfo myInfo;
23 private final VirtualFile myVcsRoot;
25 Real(final VirtualFile file, final SVNInfo info, VirtualFile vcsRoot) {
26 super(file, info.getURL().toString());
27 myInfo = info;
28 myVcsRoot = vcsRoot;
31 public SVNInfo getInfo() {
32 return myInfo;
35 public VirtualFile getVcsRoot() {
36 return myVcsRoot;
39 public VirtualFile getVirtualFile() {
40 return getFile();