void (ShortenCommandLine preselection, JrePathEditor pathEditor, Module module) { removeAllItems(); String jdkRoot = getJdkRoot(pathEditor, module); for (ShortenCommandLine mode : ShortenCommandLine.values()) { if (mode.isApplicable(jdkRoot)) { addItem(mode); } } setSelectedItem(preselection); }