<commit_before>package org.mwc.cmap.core;

import java.awt.Color;
import java.util.*;

import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.*;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.resource.*;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.part.EditorPart;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.mwc.cmap.core.ui_support.LineItem;
import org.osgi.framework.BundleContext;

import Debrief.GUI.Frames.Application;
import Debrief.Tools.Tote.Calculations.rangeCalc;
import MWC.GUI.ToolParent;
import MWC.GUI.Chart.Painters.CoastPainter;
import MWC.GUI.Tools.Palette.*;
import MWC.GenericData.WorldLocation;

/**
 * The main plugin class to be used in the desktop.
 */
public class CorePlugin extends AbstractUIPlugin
{
	
	public static final String LAYER_MANAGER = "org.mwc.cmap.layer_manager.views.LayerManagerView";
	public static final String NARRATIVES = "org.mwc.cmap.narrative.views.NarrativeView";
	public static final String TOTE = "org.mwc.cmap.tote.views.ToteView";
	public static final String TIME_CONTROLLER = "org.mwc.cmap.TimeController.views.TimeController";
	public static final String XY_PLOT = "org.mwc.cmap.xyplot.views.XYPlotView";
	
	
	// The shared instance.
	private static CorePlugin plugin;

	// Resource bundle.
	private ResourceBundle resourceBundle;
	
	/** the Debrief tool-parent used to provide legacy access to properties
	 * 
	 */
	private static DebriefToolParent _toolParent;
	

	/** the shared line of status text used across CMAP apps
	 * 
	 */
	private static LineItem _myLineItem = null;	

	/**
	 * where we cache our images
	 */
	private ImageRegistry _imageRegistry;<commit_msg>Insert constant for 3d plot<commit_after>package org.mwc.cmap.core;

import java.awt.Color;
import java.util.*;

import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.operations.*;
import org.eclipse.core.runtime.Status;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.resource.*;
import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.part.EditorPart;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.mwc.cmap.core.ui_support.LineItem;
import org.osgi.framework.BundleContext;

import Debrief.GUI.Frames.Application;
import Debrief.Tools.Tote.Calculations.rangeCalc;
import MWC.GUI.ToolParent;
import MWC.GUI.Chart.Painters.CoastPainter;
import MWC.GUI.Tools.Palette.*;
import MWC.GenericData.WorldLocation;

/**
 * The main plugin class to be used in the desktop.
 */
public class CorePlugin extends AbstractUIPlugin
{
	
	public static final String LAYER_MANAGER = "org.mwc.cmap.layer_manager.views.LayerManagerView";
	public static final String NARRATIVES = "org.mwc.cmap.narrative.views.NarrativeView";
	public static final String PLOT_3d = "org.mwc.cmap.plot3d.views.Plot3dView";
	public static final String TOTE = "org.mwc.cmap.tote.views.ToteView";
	public static final String TIME_CONTROLLER = "org.mwc.cmap.TimeController.views.TimeController";
	public static final String XY_PLOT = "org.mwc.cmap.xyplot.views.XYPlotView";
	
	
	// The shared instance.
	private static CorePlugin plugin;

	// Resource bundle.
	private ResourceBundle resourceBundle;
	
	/** the Debrief tool-parent used to provide legacy access to properties
	 * 
	 */
	private static DebriefToolParent _toolParent;
	

	/** the shared line of status text used across CMAP apps
	 * 
	 */
	private static LineItem _myLineItem = null;	

	/**
	 * where we cache our images
	 */
	private ImageRegistry _imageRegistry;
{'fraction_non_alphanumeric': 0.10118434603501544, 'fraction_numerical': 0.0010298661174047373, 'mean_word_length': 4.78125, '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': '7250870', 'n_tokens_mistral': 1272, 'n_tokens_neox': 1222, 'n_words': 285}