Bug 93400 LTK UI should provide official API for structural content in the preview page
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/ChangeElementLabelProvider.java
}
		} else if (object instanceof TextEditChangeElement) {
			TextEditChangeElement element= (TextEditChangeElement)object;
			String result= element.getChangeGroup().getName();
			return result;
		}  else if (object instanceof ChangeElement) {
			Object modifiedElement= ((ChangeElement)object).getModifiedElement();
			if (modifiedElement instanceof IAdaptable) {
				IWorkbenchAdapter adapter= (IWorkbenchAdapter)((IAdaptable)modifiedElement).getAdapter(IWorkbenchAdapter.class);
				if (adapter != null) {
					return adapter.getLabel(modifiedElement);
				}
			}
		}
		return super.getText(object);
	}
	
	public void dispose() {
		for (Iterator iter= fDescriptorImageMap.values().iterator(); iter.hasNext(); ) {
			Image image= (Image)iter.next();
			image.dispose();
		}
		super.dispose();
	}
	
	private Image doGetImage(Object element) {
		ImageDescriptor descriptor= null;
		if (descriptor == null) {
			if (element instanceof TextEditChangeElement) {
				descriptor= RefactoringPluginImages.DESC_OBJS_TEXT_EDIT;