org.kabeja.ui.impl
Class ProcessingRunViewComponent
java.lang.Object
org.kabeja.ui.impl.ProcessingRunViewComponent
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, Component, DXFDocumentChangeEventProvider, ProcessingUIComponent, PropertiesListener, Serviceable, ViewComponent
public class ProcessingRunViewComponent
- extends java.lang.Object
- implements ViewComponent, Serviceable, java.awt.event.ActionListener, PropertiesListener, DXFDocumentChangeEventProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tabbedPane
protected javax.swing.JTabbedPane tabbedPane
view
protected javax.swing.JComponent view
pipelinePanel
protected javax.swing.JPanel pipelinePanel
locked
protected boolean locked
initialized
protected boolean initialized
viewComponents
protected java.util.List viewComponents
processingPipeline
protected java.lang.String processingPipeline
logView
protected javax.swing.JTextArea logView
manager
protected ProcessingManager manager
baseDir
protected java.lang.String baseDir
sourceFile
protected java.io.File sourceFile
doc
protected DXFDocument doc
autogenerateOutput
protected boolean autogenerateOutput
properties
protected java.util.Map properties
listeners
protected java.util.ArrayList listeners
ProcessingRunViewComponent
public ProcessingRunViewComponent()
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface ViewComponent
- Returns:
- the title of the component
getView
public javax.swing.JComponent getView()
- Specified by:
getView
in interface ViewComponent
- Returns:
- the view of this component
initialize
protected void initialize()
setProcessingManager
public void setProcessingManager(ProcessingManager manager)
- Description copied from interface:
ProcessingUIComponent
- Set the current @see ProcessingManager of the application.
Could be called multiple times.
- Specified by:
setProcessingManager
in interface ProcessingUIComponent
setServiceManager
public void setServiceManager(ServiceManager manager)
- Description copied from interface:
Serviceable
- Set the @see ServiceManager of the application.
- Specified by:
setServiceManager
in interface Serviceable
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
process
protected void process()
processFile
protected void processFile(DXFDocument doc,
java.io.File f)
chooseInput
protected void chooseInput()
parseFile
protected void parseFile(java.io.File f,
Parser parser)
throws java.lang.Exception
- Throws:
java.lang.Exception
propagateDXFDocument
protected void propagateDXFDocument(DXFDocument doc)
throws java.lang.Exception
- Throws:
java.lang.Exception
logException
protected void logException(java.lang.Exception e)
log
protected void log(java.lang.String msg)
propertiesChanged
public void propertiesChanged(java.util.Map props)
- Description copied from interface:
PropertiesListener
- Will be called every time the properties have changed
- Specified by:
propertiesChanged
in interface PropertiesListener
- Parameters:
props
- changed Properties
addDXFDocumentChangeListener
public void addDXFDocumentChangeListener(DXFDocumentChangeListener listener)
- Specified by:
addDXFDocumentChangeListener
in interface DXFDocumentChangeEventProvider
removeDXFDocumentChangeListener
public void removeDXFDocumentChangeListener(DXFDocumentChangeListener listener)
- Specified by:
removeDXFDocumentChangeListener
in interface DXFDocumentChangeEventProvider
fireDXFDocumentChangeEvent
protected void fireDXFDocumentChangeEvent()
throws java.lang.Exception
- Throws:
java.lang.Exception
processInput
public void processInput(java.io.File file)