Source:
<code>public void updateFileMenuButtons(int view) { if (isReadOnly) { return; } if (view == 0) { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), false); fileDropDown.setItemEnabled(MESSAGES.deleteProjectMenuItem(), Ode.getInstance().getProjectManager().getProjects() == null); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), Ode.getInstance().getProjectManager().getProjects().size() > 0); <START> fileDropDown.setItemEnabled(MESSAGES.exportSelectedProjectsMenuItem(), <END> Ode.getInstance().getProjectManager().getProjects().size() > 0); fileDropDown.setItemEnabled(MESSAGES.exportProjectMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), false); } else { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), true); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), Ode.getInstance().getProjectManager().getProjects().size() > 0); fileDropDown.setItemEnabled(MESSAGES.exportSelectedProjectsMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.exportProjectMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), true); } updateKeystoreFileMenuButtons(true); }</code><technical_language>enabled ID calls now</technical_language>

Target:
public void updateFileMenuButtons(int view) { if (isReadOnly) { return; } if (view == 0) { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), false); fileDropDown.setItemEnabled(MESSAGES.deleteProjectMenuItem(), Ode.getInstance().getProjectManager().getProjects() == null); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), Ode.getInstance().getProjectManager().getProjects().size() > 0); fileDropDown.setItemEnabledById(WIDGET_NAME_EXPORTPROJECT, false); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), false); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), false); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), false); } else { fileDropDown.setItemEnabled(MESSAGES.deleteProjectButton(), true); fileDropDown.setItemEnabled(MESSAGES.exportAllProjectsMenuItem(), Ode.getInstance().getProjectManager().getProjects().size() > 0); fileDropDown.setItemEnabledById(WIDGET_NAME_EXPORTPROJECT, true); fileDropDown.setItemEnabled(MESSAGES.saveMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.saveAsMenuItem(), true); fileDropDown.setItemEnabled(MESSAGES.checkpointMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.showBarcodeMenuItem(), true); buildDropDown.setItemEnabled(MESSAGES.downloadToComputerMenuItem(), true); } updateKeystoreFileMenuButtons(true); }