org.herac.tuxguitar.gui.tools.custom.converter
Class TGConverterProcess

java.lang.Object
  extended by org.herac.tuxguitar.gui.tools.custom.converter.TGConverterProcess
All Implemented Interfaces:
TGConverterListener

public class TGConverterProcess
extends java.lang.Object
implements TGConverterListener


Field Summary
protected  Button buttonCancel
           
protected  Button buttonClose
           
protected static Color COLOR_ERROR
           
protected static Color COLOR_INFO
           
protected  TGConverter converter
           
protected  Shell dialog
           
protected static java.lang.String EOL
           
protected  boolean finished
           
protected  StyledText output
           
 
Constructor Summary
TGConverterProcess()
           
 
Method Summary
protected  void appendLogMessage(int code, java.lang.String fileName)
           
 boolean isDisposed()
           
 void loadIcons()
           
 void loadIcons(boolean layout)
           
 void loadProperties()
           
 void loadProperties(boolean layout)
           
 void notifyFileProcess(java.lang.String filename)
           
 void notifyFileResult(java.lang.String filename, int errorCode)
           
 void notifyFinish()
           
 void notifyStart()
           
protected  void showProcess()
           
 void start(java.lang.String initFolder, java.lang.String destFolder, java.lang.String extension)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOL

protected static final java.lang.String EOL
See Also:
Constant Field Values

COLOR_INFO

protected static final Color COLOR_INFO

COLOR_ERROR

protected static final Color COLOR_ERROR

dialog

protected Shell dialog

output

protected StyledText output

buttonCancel

protected Button buttonCancel

buttonClose

protected Button buttonClose

converter

protected TGConverter converter

finished

protected boolean finished
Constructor Detail

TGConverterProcess

public TGConverterProcess()
Method Detail

start

public void start(java.lang.String initFolder,
                  java.lang.String destFolder,
                  java.lang.String extension)

showProcess

protected void showProcess()

isDisposed

public boolean isDisposed()

loadProperties

public void loadProperties()

loadProperties

public void loadProperties(boolean layout)

loadIcons

public void loadIcons()

loadIcons

public void loadIcons(boolean layout)

notifyFileProcess

public void notifyFileProcess(java.lang.String filename)
Specified by:
notifyFileProcess in interface TGConverterListener

notifyFileResult

public void notifyFileResult(java.lang.String filename,
                             int errorCode)
Specified by:
notifyFileResult in interface TGConverterListener

notifyStart

public void notifyStart()
Specified by:
notifyStart in interface TGConverterListener

notifyFinish

public void notifyFinish()
Specified by:
notifyFinish in interface TGConverterListener

appendLogMessage

protected void appendLogMessage(int code,
                                java.lang.String fileName)