Java Code Examples for org.eclipse.jdt.core.search.TypeNameMatch#getTypeContainerName()
The following examples show how to use
org.eclipse.jdt.core.search.TypeNameMatch#getTypeContainerName() .
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: TypeInfoViewer.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); result.append(JavaElementLabels.CONCAT_STRING); if (containerName.length() > 0) { result.append(containerName); } else { result.append(JavaUIMessages.TypeInfoViewer_default_package); } return result.toString(); }
Example 2
Source File: TypeInfoViewer.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getFullyQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); }
Example 3
Source File: TypeInfoViewer.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
Example 4
Source File: FilteredTypesSelectionDialog.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); result.append(JavaElementLabels.CONCAT_STRING); if (containerName.length() > 0) { result.append(containerName); } else { result.append(JavaUIMessages.FilteredTypesSelectionDialog_default_package); } return result.toString(); }
Example 5
Source File: FilteredTypesSelectionDialog.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getFullyQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); }
Example 6
Source File: FilteredTypesSelectionDialog.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
Example 7
Source File: TypeInfoViewer.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
private String getTypeContainerName(TypeNameMatch info) { String result= info.getTypeContainerName(); if (result.length() > 0) return result; return JavaUIMessages.TypeInfoViewer_default_package; }