com.github.croesch.micro_debug.gui.components.start
Class Mic1Starter

java.lang.Object
  extended by com.github.croesch.micro_debug.gui.components.start.Mic1Starter
All Implemented Interfaces:
IMic1Creator

public final class Mic1Starter
extends Object
implements IMic1Creator

Helper for starting the application. Opens the StartFrame until it returns valid data and creates the processor with the retrieved data.

Since:
Date: Mar 10, 2012
Author:
croesch

Constructor Summary
Mic1Starter()
           
 
Method Summary
 void create(String microFilePath, String macroFilePath)
          Tries to create the processor and the main view.
 void start()
          Makes the StartFrame visible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mic1Starter

public Mic1Starter()
Method Detail

create

public void create(String microFilePath,
                   String macroFilePath)
Tries to create the processor and the main view. Will open the a StartFrame again, if the creation of the processor fails.

Specified by:
create in interface IMic1Creator
Parameters:
microFilePath - the file path to the binary micro assembler file.
macroFilePath - the file path to the binary macro assembler file.
Since:
Date: Mar 10, 2012

start

public void start()
Makes the StartFrame visible.

Since:
Date: Mar 10, 2012


Copyright © 2012. All Rights Reserved.