]> git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/fs/ParentDir.java
Make CMS wizard more robust
[lgpl/argeo-commons.git] / org.argeo.eclipse.ui / src / org / argeo / eclipse / ui / fs / ParentDir.java
1 package org.argeo.eclipse.ui.fs;
2
3 import java.nio.file.Path;
4
5 /** A parent directory (..) reference. */
6 public class ParentDir {
7 Path path;
8
9 public ParentDir(Path path) {
10 super();
11 this.path = path;
12 }
13
14 public Path getPath() {
15 return path;
16 }
17
18 @Override
19 public int hashCode() {
20 return path.hashCode();
21 }
22
23 @Override
24 public String toString() {
25 return "Parent dir " + path;
26 }
27
28 }