Java Code Examples for org.eclipse.jdt.ui.JavaElementLabelProvider#SHOW_PARAMETERS

The following examples show how to use org.eclipse.jdt.ui.JavaElementLabelProvider#SHOW_PARAMETERS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MultiMainTypeSelectionDialog.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 6 votes vote down vote up
/**
 * Constructor.
 */
public MultiMainTypeSelectionDialog(Shell shell, IRunnableContext context,
	IJavaSearchScope scope, int style)
{
	super(shell, new JavaElementLabelProvider(
		JavaElementLabelProvider.SHOW_PARAMETERS | JavaElementLabelProvider.SHOW_POST_QUALIFIED | JavaElementLabelProvider.SHOW_ROOT));

	setMultipleSelection(true);

	Assert.isNotNull(context);
	Assert.isNotNull(scope);

	fRunnableContext= context;
	fScope= scope;
	fStyle= style;
}
 
Example 2
Source File: CopyToClipboardAction.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 5 votes vote down vote up
private static ILabelProvider createLabelProvider(){
	return new JavaElementLabelProvider(
		JavaElementLabelProvider.SHOW_VARIABLE
		+ JavaElementLabelProvider.SHOW_PARAMETERS
		+ JavaElementLabelProvider.SHOW_TYPE
	);
}
 
Example 3
Source File: MainTypeSelectionDialog.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
public PackageRenderer() {
	super(JavaElementLabelProvider.SHOW_PARAMETERS | JavaElementLabelProvider.SHOW_POST_QUALIFIED | JavaElementLabelProvider.SHOW_ROOT);
}
 
Example 4
Source File: JavaBrowsingPart.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
protected int getLabelProviderFlags() {
	return JavaElementLabelProvider.SHOW_BASICS | JavaElementLabelProvider.SHOW_OVERLAY_ICONS |
			JavaElementLabelProvider.SHOW_SMALL_ICONS | JavaElementLabelProvider.SHOW_VARIABLE | JavaElementLabelProvider.SHOW_PARAMETERS;
}
 
Example 5
Source File: HandlerClassSelectionDialog.java    From birt with Eclipse Public License 1.0 4 votes vote down vote up
public PackageRenderer() {
	super(JavaElementLabelProvider.SHOW_PARAMETERS | JavaElementLabelProvider.SHOW_POST_QUALIFIED | JavaElementLabelProvider.SHOW_ROOT);	
}