if (isSet(SHOW_PACKAGE_ONLY)) {
if (isSet(SHOW_TYPE_ONLY)) { buf.append(typeRef.getTypeName()); } else if (isSet(SHOW_TYPE_CONTAINER_ONLY)) { buf.append(typeRef.getTypeContainerName()); } else if (isSet(SHOW_PACKAGE_ONLY)) {
	public String getText(Object element) {		if (! (element instanceof TypeInfo)) 			return super.getText(element);				TypeInfo typeRef= (TypeInfo) element;		StringBuffer buf= new StringBuffer();		if (isSet(SHOW_PACKAGE_ONLY)) {			buf.append(getPackageName(typeRef));		}else {			if (isSet(SHOW_FULLYQUALIFIED))				buf.append(typeRef.getFullyQualifiedName());			else				buf.append(typeRef.getTypeQualifiedName());			if (isSet(SHOW_PACKAGE_POSTFIX)) {				buf.append(JavaUIMessages.getString("TypeInfoLabelProvider.dash")); //$NON-NLS-1$				buf.append(getPackageName(typeRef));			}		}		if (isSet(SHOW_ROOT_POSTFIX)) {			buf.append(JavaUIMessages.getString("TypeInfoLabelProvider.dash"));//$NON-NLS-1$			buf.append(typeRef.getPackageFragmentRootPath().toString());		}		return buf.toString();					}