Bug 9666 Browser Perspective: No Code Generation Actions
20020212 Add getter/setter. override ect not avaiable in browser perspective Need to use GenerateGroup
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
Object getFirstElement(Object object) {
		if (object instanceof StructuredSelection)
			return ((StructuredSelection)object).getFirstElement();
		if (object instanceof Collection) {
			Collection col= (Collection)object;
			if (col.isEmpty())
				return null;
			else
				return col.iterator().next();
		} 
		if (object instanceof Object[]) {
			Object[] array= (Object[])object;
			if (array.length > 0)
				return array[0];
			else
				return null;
		}
		return object;
	}
	/**
	 * Gets the typeComparator.
	 * @return Returns a JavaElementTypeComparator
	 */
	protected Comparator getTypeComparator() {
		return fTypeComparator;
	}
	/**
	 * Links to editor (if option enabled)
	 */