<commit_before>package de.ptb.epics.eve.editor;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import de.ptb.epics.eve.editor.views.chainview.ChainView;
import de.ptb.epics.eve.editor.views.detectorchannelview.DetectorChannelView;
import de.ptb.epics.eve.editor.views.errorview.ErrorView;
import de.ptb.epics.eve.editor.views.motoraxisview.MotorAxisView;
import de.ptb.epics.eve.editor.views.plotwindowview.PlotWindowView;
import de.ptb.epics.eve.editor.views.scanmoduleview.ScanModuleView;
import de.ptb.epics.eve.editor.views.scanview.ScanView;

/**
 * <code>EveEditorPerspective</code> is the factory for the editor perspective.
 * <p> 
 * The editor perspective is used to construct and modify scan descriptions.
 * 
 * @author ?
 * @author <NAME>
 */
public class EveEditorPerspective implements IPerspectiveFactory {

	/**
	 * {@inheritDoc}
	 */
	@Override
	public void createInitialLayout(final IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(true);
		
		layout.addView(ScanView.ID, IPageLayout.RIGHT, 0.33f, editorArea);
		layout.getViewLayout(ScanView.ID).setCloseable(false);
		
		layout.addView(MotorAxisView.ID, IPageLayout.RIGHT, 0.50f, ScanView.ID);
		layout.getViewLayout(MotorAxisView.ID).setCloseable(false);
		
		layout.addView(ErrorView.ID, IPageLayout.BOTTOM , 0.8f, editorArea);
		layout.getViewLayout(ErrorView.ID).setCloseable(false);
		
		layout.addView(ChainView.ID, IPageLayout.BOTTOM, 0.30f, ScanView.ID);
		layout.getViewLayout(ChainView.ID).setCloseable(false);
		
		layout.addView(ScanModuleView.ID, IPageLayout.BOTTOM, 0.40f, ChainView.ID);
		layout.getViewLayout(ScanModuleView.ID).setCloseable(false);
		
		layout.addView(DetectorChannelView.ID, 
				IPageLayout.BOTTOM, 0.33f, MotorAxisView.ID);
		layout.getViewLayout(DetectorChannelView.ID).setCloseable(false);
		
		layout.addView(PlotWindowView.ID, 
				IPageLayout.BOTTOM, 0.40f, DetectorChannelView.ID);
		layout.getViewLayout(PlotWindowView.ID).setCloseable(false);
	}
}<commit_msg>modified height ratio of scan and chain view<commit_after>package de.ptb.epics.eve.editor;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

import de.ptb.epics.eve.editor.views.chainview.ChainView;
import de.ptb.epics.eve.editor.views.detectorchannelview.DetectorChannelView;
import de.ptb.epics.eve.editor.views.errorview.ErrorView;
import de.ptb.epics.eve.editor.views.motoraxisview.MotorAxisView;
import de.ptb.epics.eve.editor.views.plotwindowview.PlotWindowView;
import de.ptb.epics.eve.editor.views.scanmoduleview.ScanModuleView;
import de.ptb.epics.eve.editor.views.scanview.ScanView;

/**
 * <code>EveEditorPerspective</code> is the factory for the editor perspective.
 * <p> 
 * The editor perspective is used to construct and modify scan descriptions.
 * 
 * @author ?
 * @author <NAME>
 */
public class EveEditorPerspective implements IPerspectiveFactory {

	/**
	 * {@inheritDoc}
	 */
	@Override
	public void createInitialLayout(final IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(true);
		
		layout.addView(ScanView.ID, IPageLayout.RIGHT, 0.33f, editorArea);
		layout.getViewLayout(ScanView.ID).setCloseable(false);
		
		layout.addView(MotorAxisView.ID, IPageLayout.RIGHT, 0.50f, ScanView.ID);
		layout.getViewLayout(MotorAxisView.ID).setCloseable(false);
		
		layout.addView(ErrorView.ID, IPageLayout.BOTTOM , 0.8f, editorArea);
		layout.getViewLayout(ErrorView.ID).setCloseable(false);
		
		layout.addView(ChainView.ID, IPageLayout.BOTTOM, 0.20f, ScanView.ID);
		layout.getViewLayout(ChainView.ID).setCloseable(false);
		
		layout.addView(ScanModuleView.ID, IPageLayout.BOTTOM, 0.40f, ChainView.ID);
		layout.getViewLayout(ScanModuleView.ID).setCloseable(false);
		
		layout.addView(DetectorChannelView.ID, 
				IPageLayout.BOTTOM, 0.33f, MotorAxisView.ID);
		layout.getViewLayout(DetectorChannelView.ID).setCloseable(false);
		
		layout.addView(PlotWindowView.ID, 
				IPageLayout.BOTTOM, 0.40f, DetectorChannelView.ID);
		layout.getViewLayout(PlotWindowView.ID).setCloseable(false);
	}
}
{'fraction_non_alphanumeric': 0.12213371952691286, 'fraction_numerical': 0.009654839488293506, 'mean_word_length': 5.454828660436137, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1379063', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1404, 'n_words': 195}