1 11 package org.eclipse.jdt.ui; 12 13 14 import org.eclipse.ui.IViewPart; 15 16 import org.eclipse.jdt.core.IJavaElement; 17 import org.eclipse.jdt.core.IType; 18 19 29 public interface ITypeHierarchyViewPart extends IViewPart { 30 31 35 public static final int VIEW_LAYOUT_VERTICAL= 0; 36 37 41 public static final int VIEW_LAYOUT_HORIZONTAL= 1; 42 43 47 public static final int VIEW_LAYOUT_SINGLE= 2; 48 49 53 public static final int VIEW_LAYOUT_AUTOMATIC= 3; 54 55 59 public static final int HIERARCHY_MODE_CLASSIC= 2; 60 61 65 public static final int HIERARCHY_MODE_SUPERTYPES= 0; 66 67 71 public static final int HIERARCHY_MODE_SUBTYPES= 1; 72 73 80 public void setInput(IType type); 81 82 92 public void setInputElement(IJavaElement element); 93 94 101 public IType getInput(); 102 103 104 112 public IJavaElement getInputElement(); 113 114 121 public void showMembersInHierarchy(boolean enabled); 122 123 130 public boolean isShowMembersInHierarchy(); 131 132 139 public void showQualifiedTypeNames(boolean enabled); 140 141 148 public boolean isQualifiedTypeNamesEnabled(); 149 150 157 public boolean isLinkingEnabled(); 158 159 166 public void setLinkingEnabled(boolean enabled); 167 168 176 public void setViewLayout(int layout); 177 178 187 public int getViewLayout(); 188 189 197 public void setHierarchyMode(int mode); 198 199 207 public int getHierarchyMode(); 208 209 } 210 | Popular Tags |