1 11 package org.eclipse.ui.part; 12 13 import java.util.List ; 14 15 20 class DrillFrame { 21 Object fElement; 22 23 Object fPropertyName; 24 25 List fExpansion = null; 26 27 34 public DrillFrame(Object oElement, Object strPropertyName, List vExpansion) { 35 fElement = oElement; 36 fPropertyName = strPropertyName; 37 fExpansion = vExpansion; 38 } 39 40 48 public boolean equals(Object obj) { 49 if (this == obj) { 51 return true; 52 } 53 54 if (!(obj instanceof DrillFrame)) { 56 return false; 57 } 58 59 DrillFrame oOther = (DrillFrame) obj; 61 return ((fElement == oOther.fElement) && (fPropertyName 62 .equals(oOther.fPropertyName))); 63 } 64 65 70 public Object getElement() { 71 return fElement; 72 } 73 74 79 public List getExpansion() { 80 return fExpansion; 81 } 82 83 88 public Object getPropertyName() { 89 return fPropertyName; 90 } 91 } 92 | Popular Tags |