Bug 93162 [api] [open type] Require ability to extend the Type selection mechanism
The Visual Editor for Java has a ChooseBean dialog which directly extends the internal TypeSelectionDialog2. The ChooseBean dialog is used during UI designing to select a 'bean' from the existing 'types', and drop it onto the designing surface (like adding buttons to shells etc.) Optionally we have a text field to let the user say what he wants the bean to be named as, like 'okButton', 'cancelButton' etc. Currently we have to extend the internal TypeSelectionDialog2 dialog to reap the benefits of the caching of types, the jobs which do searches in the background etc. Since we dont want to rely on internals, we would like to have a public mechanism by which we could make use of all the efficient internals of the Type selection process. Also required is ways by which we could control the contents shown in the list of types - like the label provider, image provider, filter for classes, selection notification etc. Implementaion wise, the person owning the dialog could pass in the composite where JDT can house the type selection text and list, or the other way round. This would be a great for us in effectively making resue of the efficient type selection process.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/JavaUIMessages.java
public static String DelegateMethodDialog_link_tooltip;
	public static String DelegateMethodDialog_link_message;
	
	public static String JavaImageLabelprovider_assert_wrongImage;
	
	public static String JavaElementLabels_default_package;
	public static String JavaElementLabels_anonym_type;
	public static String JavaElementLabels_anonym;
	public static String JavaElementLabels_import_container;
	public static String JavaElementLabels_initializer;
	public static String JavaElementLabels_concat_string;
	public static String JavaElementLabels_comma_string;
	public static String JavaElementLabels_declseparator_string;
	
	public static String StatusBarUpdater_num_elements_selected;
	
	public static String OpenTypeHierarchyUtil_error_open_view;
	public static String OpenTypeHierarchyUtil_error_open_perspective;
	public static String OpenTypeHierarchyUtil_error_open_editor;
	public static String OpenTypeHierarchyUtil_selectionDialog_title;
	public static String OpenTypeHierarchyUtil_selectionDialog_message;
	
	public static String TypeInfoLabelProvider_default_package;
	
	public static String JavaUIHelp_link_label;
	public static String JavaUIHelpContext_javaHelpCategory_label;
	
	public static String ResourceTransferDragAdapter_cannot_delete_resource;
	public static String ResourceTransferDragAdapter_moving_resource;