|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.wgmecad.Main
Nested Class Summary | |
static class |
Main.ReturnNow
|
Constructor Summary | |
(package private) |
Main()
|
Method Summary | |
static void |
checkForPrimaryVariantAsmNumMatch(String asmNumber)
used in preValidateCheckin() |
private static void |
checkMissingLocations(DesignAll design,
int action)
|
void |
createAndShowDialog()
|
private void |
defaultAttribDefFileName()
|
static void |
executePreloadHook(DesignAll _design,
String function)
|
private boolean |
getDebugModeFromEcadProperties()
|
Thread |
getRDThread()
|
static Component |
getTopLevelComponent()
|
int |
getTotalInitTime()
|
int |
getTotalOperation()
|
int |
getTotalPre()
returns true if it succeeds in finding a component registered as this argument and manages to set it in the Frame. |
static void |
initializeArchiveDirectory()
|
static void |
initializeWCConnection()
|
static void |
main(String[] args)
|
private void |
mainWork(String[] args)
|
static boolean |
preValidateCheckin(DesignAll dsn,
boolean newRev)
checks if an iperation is likely to succeed |
static boolean |
preValidateCheckout(DesignAll dsn,
boolean checkout)
checks if an iperation is likely to succeed |
static boolean |
preValidateCreateNew(DesignAll dsn)
checks if an iperation is likely to succeed |
static boolean |
proceed(boolean goFlag)
This is called after we have completed the initial dialog to present additional dialogs and process the users request. |
private static void |
proceedCancelCheckout(DesignAll design,
String functionName)
|
private static void |
proceedCheckIn(DesignAll _design,
String _functionName)
|
private static void |
proceedCheckOut(DesignAll design,
String functionName,
boolean getCopy)
|
private static void |
proceedCheckpoint(DesignAll design,
String functionName)
|
private static void |
proceedCreateNew(DesignAll _design,
String _functionName)
|
private static void |
proceedGetCopy(DesignAll design,
String functionName)
|
private static void |
proceedNewRevision(DesignAll design,
String functionName)
|
private static int |
processArg(String arg1,
String arg2)
Returns 0 if only arg1 is consumed or 1 if arg 2 is also used. |
static void |
processArgs(String[] args)
Just a loop processing the array of arguments. |
private void |
setWindowSize()
|
private static boolean |
submitCancelCheckout(DesignAll design,
String functionName)
|
private static boolean |
submitCheckIn(DesignAll design,
String functionName,
boolean checkPoint)
|
private static boolean |
submitCheckOut(DesignAll design,
String functionName,
boolean getCopy)
|
private static boolean |
submitCheckpoint(DesignAll design,
String functionName)
|
private static boolean |
submitCreateNew(DesignAll design,
String functionName)
|
private static boolean |
submitGetCopy(DesignAll design,
String functionName)
|
private static boolean |
submitNewRevision(DesignAll design,
String functionName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ArgumentMap argMap
private static ArgumentRegister argReg
private static SecondaryArgumentMap sargMap
private static SecondaryArgumentRegister sargReg
public static ProcessManager pm
private static FileManager fm
private static WindchillIntegrationManager im
private static cds_CA_Manager cdsm
private static VariantManager vm
private static mgc_BB_Manager mgcm
public static String functionName
public static DesignAll design
public static String VendorArg
public static final String BOARD_VENDOR_KEY
public static final String BOARD_TOOL_KEY
public static final String SCHEMATIC_VENDOR_KEY
public static final String SCHEMATIC_TOOL_KEY
public static String BOARD_VENDOR_VALUE
public static String BOARD_TOOL_VALUE
public static String SCHEMATIC_VENDOR_VALUE
public static String SCHEMATIC_TOOL_VALUE
private static Frame app
private static final String frameTitlePrefix
private static final String frameTitleSpacing
public static String frameTitle
private int xSize
private int ySize
private static final int borderSize
private static final JLabel label
private static CCAWGMMain mainFrame
Set OKCancelListeners
Set OKConfirmers
private FileManager fileManager
private ClientInterface clientinterface
private static final int CHOOSER_Y_LOCATION
private static final int CHOOSER_X_LOCATION
public static final int NONE
public static final int CREATENEW
public static final int CHECKIN
public static final int CHECKPOINT
public static final int CHECKOUT
public static final int CANCEL_CHECKOUT
public static final int NEW_REVISION
public static final int GET_COPY
public static final int QUERY_WORKSPACE
public static String schDirArg
public static String brdDirArg
public static String DirArg
static org.apache.log4j.Logger logger
private static Thread runThread
static final int preCreateNewTotalBlks
static final int preCheckinTotalBlks
Constructor Detail |
Main()
Method Detail |
public static Component getTopLevelComponent()
public static void main(String[] args)
public static void initializeWCConnection()
public static void initializeArchiveDirectory() throws WGMException
WGMException
public static void executePreloadHook(DesignAll _design, String function) throws ApplicationInvocationException
ApplicationInvocationException
private void mainWork(String[] args)
args
- private void defaultAttribDefFileName()
private void setWindowSize()
public void createAndShowDialog()
public static boolean proceed(boolean goFlag)
private boolean getDebugModeFromEcadProperties()
public Thread getRDThread()
private static void proceedCreateNew(DesignAll _design, String _functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static boolean submitCreateNew(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedCheckIn(DesignAll _design, String _functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static boolean submitCheckIn(DesignAll design, String functionName, boolean checkPoint) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedCheckpoint(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static boolean submitCheckpoint(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedGetCopy(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException, CancelledException
Main.ReturnNow
ApplicationInvocationException
CancelledException
private static boolean submitGetCopy(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedNewRevision(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static boolean submitNewRevision(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedCancelCheckout(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static boolean submitCancelCheckout(DesignAll design, String functionName) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
private static void proceedCheckOut(DesignAll design, String functionName, boolean getCopy) throws Main.ReturnNow, ApplicationInvocationException, CancelledException
Main.ReturnNow
ApplicationInvocationException
CancelledException
private static boolean submitCheckOut(DesignAll design, String functionName, boolean getCopy) throws Main.ReturnNow, ApplicationInvocationException
Main.ReturnNow
ApplicationInvocationException
public static boolean preValidateCreateNew(DesignAll dsn) throws WGMException, WTException
DesignNotCheckedOutException
DesignNotInWindchillException
UnableToCreateClientInterfaceException
WindchillServerNotSpecifiedException
WGMException
WTException
public static boolean preValidateCheckin(DesignAll dsn, boolean newRev) throws WGMException, WTException
DesignNotCheckedOutException
DesignNotInWindchillException
UnableToCreateClientInterfaceException
WindchillServerNotSpecifiedException
WGMException
WTException
public static void checkForPrimaryVariantAsmNumMatch(String asmNumber) throws PrimaryVariantNotMatchingAsmNumException
asmNumber
-
PrimaryVariantNotMatchingAsmNumException
public static boolean preValidateCheckout(DesignAll dsn, boolean checkout) throws WGMException
checkout
- if a checkout is requested
WGMException
public static void processArgs(String[] args) throws UnexpectedArgumentException
UnexpectedArgumentException
private static int processArg(String arg1, String arg2) throws UnexpectedArgumentException
UnexpectedArgumentException
public int getTotalPre()
getTotalPre
in interface IRegisterProgress
public int getTotalOperation()
getTotalOperation
in interface IRegisterProgress
public int getTotalInitTime()
getTotalInitTime
in interface IRegisterProgress
private static void checkMissingLocations(DesignAll design, int action) throws MissingLocationException
MissingLocationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |