<commit_before>package de.hshannover.f4.trust.visitmeta.gui;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class ConnectionTreeMainWindowListener implements MouseListener {

	private MainWindow mMainWindow;

	public ConnectionTreeMainWindowListener(MainWindow mainWindow) {
		mMainWindow = mainWindow;
	}

	@Override
	public void mouseReleased(MouseEvent event) {
		if (event.getButton() == MouseEvent.BUTTON3) {

			mMainWindow.showConnectionTreePopupMenu(event.getX(), event.getY());

		} else if (event.getButton() == MouseEvent.BUTTON1) {

			mMainWindow.changeParameterPanel();

		} else if (event.getButton() == MouseEvent.BUTTON1 && event.getClickCount() > 1) {

			mMainWindow.mouseDoubleClicked();

		}
	}

	@Override
	public void mousePressed(MouseEvent event) {<commit_msg>[fixed] - visualization tree mouse listener<commit_after>package de.hshannover.f4.trust.visitmeta.gui;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class ConnectionTreeMainWindowListener implements MouseListener {

	private MainWindow mMainWindow;

	public ConnectionTreeMainWindowListener(MainWindow mainWindow) {
		mMainWindow = mainWindow;
	}

	@Override
	public void mouseReleased(MouseEvent event) {
		if (event.getButton() == MouseEvent.BUTTON3) {

			mMainWindow.showConnectionTreePopupMenu(event.getX(), event.getY());

		}

		if (event.getButton() == MouseEvent.BUTTON1) {

			mMainWindow.changeParameterPanel();

		}

		if (event.getButton() == MouseEvent.BUTTON1 && event.getClickCount() > 1) {

			mMainWindow.mouseDoubleClicked();

		}
	}

	@Override
	public void mousePressed(MouseEvent event) {
{'fraction_non_alphanumeric': 0.10890493381468111, 'fraction_numerical': 0.006016847172081829, 'mean_word_length': 5.371647509578544, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7065084', 'n_tokens_mistral': 551, 'n_tokens_neox': 506, 'n_words': 94}