if (input instanceof LogicalPackage) return true;
	private boolean isEnabled(IStructuredSelection selection) {		if (selection.size() != 1)			return false;		Object input= selection.getFirstElement();		if (!(input instanceof IJavaElement))			return false;		switch (((IJavaElement)input).getElementType()) {			case IJavaElement.INITIALIZER:			case IJavaElement.METHOD:			case IJavaElement.FIELD:			case IJavaElement.TYPE:				return true;			case IJavaElement.PACKAGE_FRAGMENT_ROOT:			case IJavaElement.JAVA_PROJECT:			case IJavaElement.PACKAGE_FRAGMENT:			case IJavaElement.PACKAGE_DECLARATION:			case IJavaElement.IMPORT_DECLARATION:				case IJavaElement.CLASS_FILE:			case IJavaElement.COMPILATION_UNIT:				return true;			case IJavaElement.LOCAL_VARIABLE:			default:				return false;		}	}