Bug 38500 getters/setters: very confused by interface fields
20030604 strange things happen when you start generating getters/setters for interface fields: - dialog says you can make them 'private/protected/default' which is incorrect for interface methods (default makes some sense but the others do not) - even if you say 'private' it still generates 'public' - all interface methods are always 'abstract' so 'final' makes no sense - it will never compile -'synchronized' makes no sense either -nor does 'native'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
return entryComposite;						
		}
		
		private Composite addSortOrder(Composite composite) {
			Label label= new Label(composite, SWT.NONE);
			label.setText(ActionMessages.getString("GetterSetterTreeSelectionDialog.sort_label")); 
			GridData gd= new GridData(GridData.FILL_BOTH);
			label.setLayoutData(gd);
			final Combo combo= new Combo(composite, SWT.READ_ONLY);
			combo.setItems(new String[]{ActionMessages.getString("GetterSetterTreeSelectionDialog.alpha_pair_sort"), 
										ActionMessages.getString("GetterSetterTreeSelectionDialog.alpha_method_sort")});    
			final int methodIndex= 1;	
			combo.setText(combo.getItem(0));
			gd= new GridData(GridData.FILL_BOTH);
			gd.grabExcessHorizontalSpace= true;
			combo.setLayoutData(gd);
			combo.addSelectionListener(new SelectionAdapter(){
				public void widgetSelected(SelectionEvent e) {
					fSort= (combo.getSelectionIndex() == methodIndex);
				}
			});	
			return composite;
		}
		
		private Composite addVisibilityAndModifiersChoices(Composite buttonComposite) {
			
			IVisibilityChangeListener visibilityChangeListener = new IVisibilityChangeListener(){
				public void visibilityChanged(int newVisibility) {
					fVisibility= newVisibility;
				}