<commit_before>package org.openlca.app.editors.actions;

import org.eclipse.jface.action.Action;
import org.eclipse.jface.resource.ImageDescriptor;
import org.openlca.app.Messages;
import org.openlca.app.editors.ProductSystemEditor;
import org.openlca.app.editors.graphical.GraphicalEditorInput;
import org.openlca.app.editors.graphical.ProductSystemGraphEditor;
import org.openlca.app.resources.ImageType;
import org.openlca.app.util.Editors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EditAction extends Action {

	private Logger log = LoggerFactory.getLogger(getClass());

	@Override
	public ImageDescriptor getImageDescriptor() {
		return ImageType.INFO_ICON.getDescriptor();
	}

	@Override
	public String getText() {
		return Messages.OpenEditorAction_Text;
	}

	@Override
	public void run() {
		GraphicalEditorInput input = getInput();
		if (input == null) {
			log.error("unexpected error: model editor input is null");
			return;
		}
		Editors.open(input, ProductSystemGraphEditor.ID);
	}
<commit_msg>changed icon for product system editor<commit_after>package org.openlca.app.editors.actions;

import org.eclipse.jface.action.Action;
import org.openlca.app.Messages;
import org.openlca.app.editors.ProductSystemEditor;
import org.openlca.app.editors.graphical.GraphicalEditorInput;
import org.openlca.app.editors.graphical.ProductSystemGraphEditor;
import org.openlca.app.resources.ImageType;
import org.openlca.app.util.Editors;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EditAction extends Action {

	private Logger log = LoggerFactory.getLogger(getClass());

	public EditAction() {
		setImageDescriptor(ImageType.PRODUCT_SYSTEM_ICON.getDescriptor());
		setText(Messages.OpenEditorAction_Text);
	}

	@Override
	public void run() {
		GraphicalEditorInput input = getInput();
		if (input == null) {
			log.error("unexpected error: model editor input is null");
			return;
		}
		Editors.open(input, ProductSystemGraphEditor.ID);
	}

{'fraction_non_alphanumeric': 0.10571142284569138, 'fraction_numerical': 0.002004008016032064, 'mean_word_length': 5.678929765886288, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5010323', 'n_tokens_mistral': 661, 'n_tokens_neox': 635, 'n_words': 121}