1 19 package org.openide.filesystems; 20 21 22 27 public class RepositoryEvent extends java.util.EventObject { 28 29 static final long serialVersionUID = 5466690014963965717L; 30 31 32 private FileSystem fileSystem; 33 34 35 private boolean add; 36 37 43 public RepositoryEvent(Repository fsp, FileSystem fs, boolean add) { 44 super(fsp); 45 this.fileSystem = fs; 46 this.add = add; 47 } 48 49 52 public Repository getRepository() { 53 return (Repository) getSource(); 54 } 55 56 59 public FileSystem getFileSystem() { 60 return fileSystem; 61 } 62 63 66 public boolean isAdded() { 67 return add; 68 } 69 } 70 | Popular Tags |