fShowFields.setImageDescriptor(JavaPluginImages.DESC_LCL_SHOW_FIELDS);
fShowFields.setImageDescriptors("lcl16", "fields_co.gif");
	public MethodsViewer(Composite parent, IWorkbenchPart part) {		super(new Table(parent, SWT.MULTI));				final Table table= getTable();		final TableColumn column= new TableColumn(table, SWT.NULL | SWT.MULTI | SWT.FULL_SELECTION);		table.addControlListener(new ControlAdapter() {			public void controlResized(ControlEvent e) {				column.setWidth(table.getSize().x-2*table.getBorderWidth());			}		});		MethodsContentProvider contentProvider= new MethodsContentProvider();		setLabelProvider(new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT));		setContentProvider(contentProvider);				ResourceBundle bundle= JavaPlugin.getResourceBundle();				fOpen= new OpenSourceReferenceAction();		fOpen.setSelectionProvider(this);				addDoubleClickListener(new IDoubleClickListener() {			public void doubleClick(DoubleClickEvent event) {				if (fOpen.isEnabled()) {					fOpen.run();				}			}		});						MethodsViewerFilter filter= new MethodsViewerFilter();				// fields			fShowFields= new MethodsViewerFilterAction(this, filter,  bundle, PREFIX_FILTER_FIELDS, MethodsViewerFilter.FILTER_FIELDS, false);		fShowFields.setImageDescriptor(JavaPluginImages.DESC_LCL_SHOW_FIELDS);				// static		fShowStatic= new MethodsViewerFilterAction(this, filter, bundle, PREFIX_FILTER_STATIC, MethodsViewerFilter.FILTER_STATIC, true);		fShowStatic.setImageDescriptor(JavaPluginImages.DESC_LCL_SHOW_STATIC);				// private		fShowPrivate= new MethodsViewerFilterAction(this, filter, bundle, PREFIX_FILTER_PRIVATE, MethodsViewerFilter.FILTER_PRIVATE, true);		fShowPrivate.setImageDescriptor(JavaPluginImages.DESC_MISC_PRIVATE);				// protected		fShowProtected= new MethodsViewerFilterAction(this, filter, bundle, PREFIX_FILTER_PROTECTED, MethodsViewerFilter.FILTER_PROTECTED, true);		fShowProtected.setImageDescriptor(JavaPluginImages.DESC_MISC_PROTECTED);		// default		fShowDefault= new MethodsViewerFilterAction(this, filter, bundle, PREFIX_FILTER_DEFAULT, MethodsViewerFilter.FILTER_DEFAULT, true);		fShowDefault.setImageDescriptor(JavaPluginImages.DESC_MISC_DEFAULT);		// public		fShowPublic= new MethodsViewerFilterAction(this, filter, bundle, PREFIX_FILTER_PUBLIC, MethodsViewerFilter.FILTER_PUBLIC, true);		fShowPublic.setImageDescriptor(JavaPluginImages.DESC_MISC_PUBLIC);				addFilter(filter);				fShowInheriredMembersAction= new ShowInheriredMembersAction(this, false);						fStandardGroups= new ContextMenuGroup[] {			new JavaSearchGroup(), new GenerateGroup()		};				setSorter(new ViewerSorter() {			public boolean isSorterProperty(Object element, Object property) {				// doesn't matter, only world changed is used.				return true;			}			public int category(Object element) {				if (element instanceof IMethod) {					try {						if (((IMethod)element).isConstructor()) {							return 1;						} else {							return 2;						}					} catch (JavaModelException e) {						JavaPlugin.log(e.getStatus());					}				}				return 0;			}		});				}