docs: @SuppressWarnings("unchecked")
  	private void enableButtons() {
  		final IStructuredSelection selection = (IStructuredSelection) this.sresList.getSelection();
  		final int selectionCount = selection.size();
  		this.editButton.setEnabled(selectionCount == 1);
  		this.copyButton.setEnabled(selectionCount > 0);
  		if (selectionCount > 0 && selectionCount <= this.sresList.getTable().getItemCount()) {
  			final Iterator<ISREInstall> iterator = selection.iterator();
  			while (iterator.hasNext()) {
  				final ISREInstall install = iterator.next();
  				if (SARLRuntime.isPlatformSRE(install)) {
  					this.removeButton.setEnabled(false);
  					return;
  				}
  			}
  			this.removeButton.setEnabled(true);
  		} else {
  			this.removeButton.setEnabled(false);
  		}
  	}