1 11 package org.eclipse.jdt.internal.ui.search; 12 13 import org.eclipse.swt.graphics.Image; 14 import org.eclipse.swt.widgets.Composite; 15 import org.eclipse.ui.IMemento; 16 import org.eclipse.ui.IPropertyListener; 17 import org.eclipse.ui.IViewPart; 18 import org.eclipse.ui.IViewSite; 19 import org.eclipse.ui.IWorkbenchPartSite; 20 import org.eclipse.ui.PartInitException; 21 22 28 class SearchViewAdapter implements IViewPart { 29 30 private IWorkbenchPartSite fSite; 31 32 35 public SearchViewAdapter(IWorkbenchPartSite site) { 36 fSite= site; 37 } 38 39 42 public IWorkbenchPartSite getSite() { 43 return fSite; 44 } 45 46 48 51 public IViewSite getViewSite() { 52 return null; 53 } 54 55 58 public void init(IViewSite site) throws PartInitException { 59 } 60 61 64 public void init(IViewSite site, IMemento memento) throws PartInitException { 65 } 66 67 70 public void saveState(IMemento memento) { 71 } 72 73 76 public void addPropertyListener(IPropertyListener listener) { 77 } 78 79 82 public void createPartControl(Composite parent) { 83 } 84 85 88 public void dispose() { 89 } 90 91 94 public String getTitle() { 95 return null; 96 } 97 98 101 public Image getTitleImage() { 102 return null; 103 } 104 105 108 public String getTitleToolTip() { 109 return null; 110 } 111 112 115 public void removePropertyListener(IPropertyListener listener) { 116 } 117 118 121 public void setFocus() { 122 } 123 124 127 public Object getAdapter(Class adapter) { 128 return null; 129 } 130 } 131 | Popular Tags |