net.sf.dc.core.modules
Class SoftwareModule

java.lang.Object
  extended bynet.sf.dc.core.modules.DCModule
      extended bynet.sf.dc.core.modules.SoftwareModule

public class SoftwareModule
extends DCModule

The Software module

Since:
1.3
Version:
DC1.00
Author:
Robert-Jan van der Waals
See Also:
DCModules

Field Summary
 
Fields inherited from class net.sf.dc.core.modules.DCModule
fields, insertPanel, searchPanel, tableName
 
Constructor Summary
SoftwareModule()
          Initializes this module
 
Method Summary
 ImportCDProcess getCDImportProcess(java.lang.String sourceDir, boolean confirmEachDir, java.lang.String nameOfCD)
          Returns the movie CD import process
 DCObject getDataCrowObject()
          Return the object managed by this module
 java.lang.String getHiddenFieldsSettingsKey()
           
 javax.swing.ImageIcon getIcon()
           
 javax.swing.JButton[] getMenuItems()
          Returns the specific menu items for this module.
 java.lang.String getRequiredFieldsSettingsKey()
           
protected  void initializeFields()
          Initalizes all the fields
protected  void initializeUI()
          Create the insert and search panel
 
Methods inherited from class net.sf.dc.core.modules.DCModule
getFieldCount, getFieldDefinition, getFieldDefinitions, getIndex, getInsertPanel, getName, getSearchPanel, isAmazonUpdateAllowed, isImdbUpdateAllowed, isStandalone, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SoftwareModule

public SoftwareModule()
Initializes this module

Method Detail

getIcon

public javax.swing.ImageIcon getIcon()
Specified by:
getIcon in class DCModule

getMenuItems

public javax.swing.JButton[] getMenuItems()
Returns the specific menu items for this module. For this module, there is one additional menu item, namely the Software Category Form

Specified by:
getMenuItems in class DCModule

initializeUI

protected void initializeUI()
Create the insert and search panel

Specified by:
initializeUI in class DCModule

getHiddenFieldsSettingsKey

public java.lang.String getHiddenFieldsSettingsKey()
Specified by:
getHiddenFieldsSettingsKey in class DCModule

getRequiredFieldsSettingsKey

public java.lang.String getRequiredFieldsSettingsKey()
Specified by:
getRequiredFieldsSettingsKey in class DCModule

getDataCrowObject

public DCObject getDataCrowObject()
Return the object managed by this module

Specified by:
getDataCrowObject in class DCModule
See Also:
Software

getCDImportProcess

public ImportCDProcess getCDImportProcess(java.lang.String sourceDir,
                                          boolean confirmEachDir,
                                          java.lang.String nameOfCD)
Returns the movie CD import process

Specified by:
getCDImportProcess in class DCModule
Parameters:
sourceDir - directory which is used as source for the import
confirmEachDir - indicates whether for each directory confirmation should be asked if the underlying data of this directory should be read or not.
nameOfCD - cd name (used as the location name)
Returns:

initializeFields

protected void initializeFields()
Initalizes all the fields

Specified by:
initializeFields in class DCModule