<commit_before>package org.csstudio.sns.product;

//import org.csstudio.utility.speech.Annunciator;
//import org.csstudio.utility.speech.FreeTTSAnnunciator;
import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;

/** Configure the workbench window.
 *  @author <NAME>
 */
public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor
{

    public ApplicationWorkbenchWindowAdvisor(
                    IWorkbenchWindowConfigurer configurer)
    {
        super(configurer);
    }
    
    /** Set initial workbench window size and title */
    @Override
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize(new Point(1024, 768));
        configurer.setShowMenuBar(true);
        configurer.setShowPerspectiveBar(true);
        configurer.setShowCoolBar(true);
        configurer.setShowFastViewBars(true);
        configurer.setShowProgressIndicator(true);
        configurer.setShowStatusLine(true);
        configurer.setTitle(Messages.Window_Title);
    }

    // TODO What to do about this gimmick?
//    @Override
//	public void postWindowOpen()
//    {
//    	Annunciator talk;
//		try
//		{
//			talk = new FreeTTSAnnunciator();
//	    	talk.say("Welcome to SNS Control System Studio");
//	    	talk.close();
//		}
//		catch (Exception e)
//		{
//			e.printStackTrace();
//		}
//		super.postWindowOpen();
//	}

	@Override
    public ActionBarAdvisor createActionBarAdvisor(
                    IActionBarConfigurer configurer)
    {
        return new ApplicationActionBarAdvisor(configurer);
    }
}<commit_msg>remove gimmick<commit_after>package org.csstudio.sns.product;

import org.eclipse.swt.graphics.Point;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;

/** Configure the workbench window.
 *  @author <NAME>
 */
public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor
{

    public ApplicationWorkbenchWindowAdvisor(
                    IWorkbenchWindowConfigurer configurer)
    {
        super(configurer);
    }
    
    /** Set initial workbench window size and title */
    @Override
    public void preWindowOpen()
    {
        IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
        configurer.setInitialSize(new Point(1024, 768));
        configurer.setShowMenuBar(true);
        configurer.setShowPerspectiveBar(true);
        configurer.setShowCoolBar(true);
        configurer.setShowFastViewBars(true);
        configurer.setShowProgressIndicator(true);
        configurer.setShowStatusLine(true);
        configurer.setTitle(Messages.Window_Title);
    }

	@Override
    public ActionBarAdvisor createActionBarAdvisor(
                    IActionBarConfigurer configurer)
    {
        return new ApplicationActionBarAdvisor(configurer);
    }
}
{'fraction_non_alphanumeric': 0.09371108343711083, 'fraction_numerical': 0.0043586550435865505, 'mean_word_length': 3.359565807327001, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7666368', 'n_tokens_mistral': 947, 'n_tokens_neox': 919, 'n_words': 156}