com.ptc.wgmecad.tool
Class cds_CA_Manager

java.lang.Object
  extended bycom.ptc.wgmecad.tool.cds_CA_Manager

public class cds_CA_Manager
extends Object

Created by IntelliJ IDEA. User: barky Date: Jan 8, 2003 Time: 3:37:51 PM To change this template use Options | File Templates. Change History: 2004.02.12 Nickv: added bom template processing


Field Summary
private static FileFilter emptyFilter
           
protected  FileManager fileMgr
           
static int HOOKRESPONSEDIALOG_X_LOCATION
           
static int HOOKRESPONSEDIALOG_Y_LOCATION
           
private static cds_CA_Manager instance
           
(package private) static org.apache.log4j.Logger logger
           
static String POST
           
static String POST_FUNC
           
static String PRE
           
static String PRE_FUNC
           
static String PRE_LOAD
           
protected  SecondaryArgumentMap sargMap
           
protected  SecondaryArgumentRegister sargReg
           
protected static String separator
           
static String templateBOMName
           
static int zipWriteBlockSize
           
 
Constructor Summary
cds_CA_Manager()
           
 
Method Summary
 File getBoardDirectory()
           
 Object[] getBoardDownloadDirs()
           
 File getBrdTempDirName()
           
 File getDesignTempDirName()
           
static String getDesignWCTempPath(File pd, boolean fullPath)
           
static File getGenericDesignTmpDir()
           
static File getGenericTmpDir()
           
static cds_CA_Manager getInstance()
           
 File getSchematicDirectory()
           
 File getSchTempDirName()
           
static FileListMember[] isValidAllegroDesign(String location)
           
static FileListMember[] isValidConceptDesign(String location)
           
 String setBoardDirectory(String newlocation, boolean resolveBrdFiles, boolean checkAttrFile, boolean updateFromAttrFile)
           
 boolean setBrdTempDirName(String location)
           
 String setDirectory(String newlocation, boolean _loadDesign, boolean _loadLocation, boolean _schematic)
           
 String setSchematicDirectory(String newlocation, boolean resolveSchFiles, boolean resolveBrdFiles, boolean checkAttrFile, boolean updateFromAttrFile)
           
 boolean setSchTempDirName(String location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileMgr

protected FileManager fileMgr

sargReg

protected SecondaryArgumentRegister sargReg

sargMap

protected SecondaryArgumentMap sargMap

zipWriteBlockSize

public static final int zipWriteBlockSize
See Also:
Constant Field Values

emptyFilter

private static final FileFilter emptyFilter

templateBOMName

public static final String templateBOMName
See Also:
Constant Field Values

PRE_LOAD

public static final String PRE_LOAD
See Also:
Constant Field Values

PRE

public static final String PRE
See Also:
Constant Field Values

PRE_FUNC

public static final String PRE_FUNC
See Also:
Constant Field Values

POST

public static final String POST
See Also:
Constant Field Values

POST_FUNC

public static final String POST_FUNC
See Also:
Constant Field Values

HOOKRESPONSEDIALOG_X_LOCATION

public static final int HOOKRESPONSEDIALOG_X_LOCATION
See Also:
Constant Field Values

HOOKRESPONSEDIALOG_Y_LOCATION

public static final int HOOKRESPONSEDIALOG_Y_LOCATION
See Also:
Constant Field Values

separator

protected static final String separator
See Also:
Constant Field Values

instance

private static cds_CA_Manager instance

logger

static org.apache.log4j.Logger logger
Constructor Detail

cds_CA_Manager

public cds_CA_Manager()
Method Detail

getInstance

public static cds_CA_Manager getInstance()

isValidConceptDesign

public static FileListMember[] isValidConceptDesign(String location)
                                             throws IOException
Throws:
IOException

isValidAllegroDesign

public static FileListMember[] isValidAllegroDesign(String location)
                                             throws IOException
Throws:
IOException

setDirectory

public String setDirectory(String newlocation,
                           boolean _loadDesign,
                           boolean _loadLocation,
                           boolean _schematic)

setBrdTempDirName

public boolean setBrdTempDirName(String location)

getBrdTempDirName

public File getBrdTempDirName()

getDesignWCTempPath

public static String getDesignWCTempPath(File pd,
                                         boolean fullPath)

setBoardDirectory

public String setBoardDirectory(String newlocation,
                                boolean resolveBrdFiles,
                                boolean checkAttrFile,
                                boolean updateFromAttrFile)

getBoardDownloadDirs

public Object[] getBoardDownloadDirs()

getBoardDirectory

public File getBoardDirectory()

setSchTempDirName

public boolean setSchTempDirName(String location)

getSchTempDirName

public File getSchTempDirName()

setSchematicDirectory

public String setSchematicDirectory(String newlocation,
                                    boolean resolveSchFiles,
                                    boolean resolveBrdFiles,
                                    boolean checkAttrFile,
                                    boolean updateFromAttrFile)

getSchematicDirectory

public File getSchematicDirectory()

getDesignTempDirName

public File getDesignTempDirName()

getGenericTmpDir

public static File getGenericTmpDir()

getGenericDesignTmpDir

public static File getGenericDesignTmpDir()