PatchEdit.setEnabled(table.getRowCount() > 1, Actions.EN_CROSSBREED | Actions.EN_DELETE_DUPLICATES | Actions.EN_SORT);
Actions.setEnabled(table.getRowCount() > 1, Actions.EN_CROSSBREED | Actions.EN_DELETE_DUPLICATES | Actions.EN_SORT);
    private void enableActions() {	PatchEdit.setEnabled(table.getRowCount() > 0,			     Actions.EN_SAVE			     | Actions.EN_SAVE_AS			     | Actions.EN_SEARCH);// 			     | Actions.EN_TRANSFER_SCENE);	PatchEdit.setEnabled(table.getRowCount() > 1,			     Actions.EN_CROSSBREED			     | Actions.EN_DELETE_DUPLICATES			     | Actions.EN_SORT);	PatchEdit.setEnabled(table.getSelectedRowCount() > 0,			     Actions.EN_COPY			     | Actions.EN_CUT			     | Actions.EN_DELETE			     | Actions.EN_EXPORT			     | Actions.EN_EXTRACT			     | Actions.EN_PLAY			     | Actions.EN_REASSIGN			     | Actions.EN_SEND			     | Actions.EN_SEND_TO			     | Actions.EN_STORE			     | Actions.EN_UPLOAD);	PatchEdit.setEnabled(table.getSelectedRowCount() > 0			     && myModel.getPatchAt(table.getSelectedRow()).getDriver().hasEditor(),			     Actions.EN_EDIT);    }