<commit_before>package explorviz.visualization.experiment.tools

import explorviz.visualization.main.JSHelpers
import com.google.gwt.user.client.ui.RootPanel
import com.google.gwt.user.client.Event
import com.google.gwt.event.dom.client.ClickEvent
import explorviz.visualization.main.ExplorViz

class ExperimentTools {

	public static boolean toolsModeActive = false
	

	def static void showAndPrepareNewExpButton() {

		JSHelpers::showElementById("newExperimentBtn")

		val button = RootPanel::get("newExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}

	def static void showAndPreparePrevExpButton() {

		JSHelpers::showElementById("prevExperimentBtn")

		val button = RootPanel::get("prevExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}
	
		def static void showRunningExperimentData() {

		JSHelpers::showElementById("prevExperimentBtn")

		val button = RootPanel::get("prevExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}

}
<commit_msg>format<commit_after>package explorviz.visualization.experiment.tools

import explorviz.visualization.main.JSHelpers
import com.google.gwt.user.client.ui.RootPanel
import com.google.gwt.user.client.Event
import com.google.gwt.event.dom.client.ClickEvent
import explorviz.visualization.main.ExplorViz

class ExperimentTools {

	public static boolean toolsModeActive = false

	def static void showAndPrepareNewExpButton() {

		JSHelpers::showElementById("newExperimentBtn")

		val button = RootPanel::get("newExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}

	def static void showAndPreparePrevExpButton() {

		JSHelpers::showElementById("prevExperimentBtn")

		val button = RootPanel::get("prevExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}

	def static void showRunningExperimentData() {

		JSHelpers::showElementById("prevExperimentBtn")

		val button = RootPanel::get("prevExperimentBtn")

		button.sinkEvents(Event::ONCLICK)
		button.addHandler(
			[
			ExplorViz.getPageCaller().showNewExp()
		], ClickEvent::getType())
	}

}

{'fraction_non_alphanumeric': 0.1150965707528577, 'fraction_numerical': 0.0, 'mean_word_length': 5.028503562945368, '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': '2143414', 'n_tokens_mistral': 930, 'n_tokens_neox': 822, 'n_words': 110}