SVN 1.6 support. svnkit: 1-3-0-beta3, patched for IDEA
[fedora-idea.git] / plugins / svn4idea / src / org / jetbrains / idea / svn / SvnLocallyDeletedChange.java
blob8c5547498988a1c321e4ecc03e4c97ed1aa26fa3
1 package org.jetbrains.idea.svn;
3 import com.intellij.openapi.vcs.changes.LocallyDeletedChange;
4 import com.intellij.openapi.vcs.FilePath;
5 import org.jetbrains.annotations.NotNull;
7 import javax.swing.*;
9 public class SvnLocallyDeletedChange extends LocallyDeletedChange {
10 private final ConflictState myConflictState;
12 public SvnLocallyDeletedChange(@NotNull final FilePath path, final ConflictState state) {
13 super(path);
14 myConflictState = state;
17 @Override
18 public Icon getAddIcon() {
19 return myConflictState.getIcon();
22 @Override
23 public String getDescription() {
24 final String description = myConflictState.getDescription();
25 if (description != null) {
26 return SvnBundle.message("svn.changeview.locally.deleted.item.in.conflict.text", description);
28 return description;