Bug 88309 Reenable sort members on enums
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/SortMembersAction.java
try {
				final IType[] types= cu.getAllTypes();
				IType type= null;
				for (int index= 0; index < types.length; index++) {
					type= types[index];
					if (type.isEnum()) {
						MessageDialog.openInformation(shell, "Sort Members", "Sorting of enum types is currently not supported."); 
						return;
					}
				}
			} catch (JavaModelException exception) {
				JavaPlugin.log(exception);
			}
		}
		
		if (containsRelevantMarkers(editor)) {
			int returnCode= OptionalMessageDialog.open(ID, 
					getShell(), 
					getDialogTitle(),
					null,
					ActionMessages.getString("SortMembersAction.containsmarkers"),  
					MessageDialog.WARNING, 		
					new String[] {IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL}, 
					0);
			if (returnCode != OptionalMessageDialog.NOT_SHOWN && 
					returnCode != Window.OK ) return;	
		}
		SortMembersOperation op= new SortMembersOperation(cu, null);
		try {
			BusyIndicatorRunnableContext context= new BusyIndicatorRunnableContext();