Bug 104495 [source manipulation] Constructor Using Fields should check all fields by default
3.1 for value type classes like class A{ private final int length; private final int width; private final String name; } it would be useful to have a quick fix to create a constructor to init all those fields. Ie. public A(int length, String name, int width) { this.length = length; this.name = name; this.width = width; } there's a separate source action for that but it's a little heavyweight for this. At least, a quick fix to *open* the 'Create Constructor using fields' could be offered (pre-select the field checkboxes then, please)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java
}
				floating= current;
			}
		}
		if (floating != null) {
			result.add(floating);
		}
		return result;
	}
	private List reverse(List list) {
		List reverse= new ArrayList(list.size());
		for (int index= list.size() - 1; index >= 0; index--) {
			reverse.add(list.get(index));
		}
		return reverse;
	}
	public void setElements(List elements, CheckboxTreeViewer tree) {
		fFields= new ArrayList(elements);
		if (tree != null)
			tree.refresh();
	}
	public void up(List checked, CheckboxTreeViewer tree) {
		if (checked.size() > 0) {
			setElements(moveUp(fFields, checked), tree);
			tree.reveal(checked.get(0));
		}
		tree.setSelection(new StructuredSelection(checked));
	}
}