Actions.setEnabled(table.getSelectedRowCount() > 0, Actions.EN_COPY | Actions.EN_CUT | Actions.EN_DELETE | Actions.EN_EXPORT | Actions.EN_PLAY | Actions.EN_SEND | Actions.EN_STORE);
Actions.setEnabled(table.getRowCount() > 1, Actions.EN_SORT);
    private void enableActions() {	Actions.setEnabled(table.getRowCount() > 0,			   Actions.EN_SAVE			   | Actions.EN_SAVE_AS			   | Actions.EN_SEARCH);	Actions.setEnabled(table.getRowCount() > 1,			   Actions.EN_SORT			   | Actions.EN_DELETE_DUPLICATES);	Actions.setEnabled(table.getSelectedRowCount() > 0, // should be true			   Actions.EN_COPY			   | Actions.EN_CUT			   | Actions.EN_DELETE			   | Actions.EN_EXPORT			   | Actions.EN_PLAY			   | Actions.EN_SEND			   | Actions.EN_STORE);	// All entries are of the same type, so we can check the first one....	IPatch myPatch = myModel.getPatchAt(0, 0);	Actions.setEnabled(table.getSelectedRowCount() > 0                && myPatch.hasEditor(), Actions.EN_EDIT);    }