1 33 34 package edu.rice.cs.util.docnavigation; 35 36 class DummyINavigatorItem implements INavigatorItem { 37 38 private String name; 39 DummyINavigatorItem(String s) { name = s; } 40 public boolean checkIfClassFileInSync() { 41 throw new UnsupportedOperationException ("checkIfClassFileInSync() not implemented"); 42 } 43 public String getName() { return name; } 44 public void setName(String s) { name = s; } 45 46 public boolean fileExists() { throw new UnsupportedOperationException ("fileExists() not implemented"); } 47 public boolean isAuxiliaryFile() { throw new UnsupportedOperationException ("isAuxiliaryFile() not implemented"); } 48 public boolean inProject() { throw new UnsupportedOperationException ("inProject() not implemented"); } 49 public boolean isUntitled() { throw new UnsupportedOperationException ("isUntitled() not implemented"); } 50 public String toString() { return getName(); } 51 } | Popular Tags |