<commit_before>package com.sensia.tools.client.swetools.editors.sensorml.renderer.editor.panels.sml;

import com.google.gwt.core.shared.GWT;
import com.sensia.relaxNG.RNGElement;
import com.sensia.relaxNG.RNGTag;
import com.sensia.tools.client.swetools.editors.sensorml.panels.IPanel;
import com.sensia.tools.client.swetools.editors.sensorml.panels.line.AbstractGenericLinePanel;

public class SMLEditAxisPanel extends AbstractGenericLinePanel<RNGElement>{

	public SMLEditAxisPanel(RNGElement tag) {
		super(tag);
	}

	@Override
	protected void addInnerElement(IPanel<? extends RNGTag> element) {
		if(element.getName().equals("definition")) {
			defPanel.add(element.getPanel());
		} else if(element.getName().equals("name")){
			labelPanel.add(element.getPanel());
			GWT.log(""+element.getClass());
		} else if(element.getName().equals("label")){
			labelPanel.add(element.getPanel());
		} 
	}
}<commit_msg>Add missing value for sml:axis<commit_after>package com.sensia.tools.client.swetools.editors.sensorml.renderer.editor.panels.sml;

import com.google.gwt.core.shared.GWT;
import com.sensia.relaxNG.RNGElement;
import com.sensia.relaxNG.RNGTag;
import com.sensia.tools.client.swetools.editors.sensorml.panels.IPanel;
import com.sensia.tools.client.swetools.editors.sensorml.panels.line.AbstractGenericLinePanel;

public class SMLEditAxisPanel extends AbstractGenericLinePanel<RNGElement>{

	public SMLEditAxisPanel(RNGElement tag) {
		super(tag);
	}

	@Override
	protected void addInnerElement(IPanel<? extends RNGTag> element) {
		if(element.getName().equals("definition")) {
			defPanel.add(element.getPanel());
		} else if(element.getName().equals("name")){
			labelPanel.add(element.getPanel());
		} else if(element.getName().equals("label")){
			labelPanel.add(element.getPanel());
		} else {
			// should be RNGValue or RNGData
			afterDotsPanel.add(element.getPanel());
		}
	}
}
{'fraction_non_alphanumeric': 0.1415742208135235, 'fraction_numerical': 0.0, 'mean_word_length': 5.81294964028777, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '5665455', 'n_tokens_mistral': 699, 'n_tokens_neox': 650, 'n_words': 84}