home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgLangD.iso
/
VCAFE.3.0A
/
Main.bin
/
ProjectOptions.java
< prev
next >
Wrap
Text File
|
1998-10-25
|
4KB
|
133 lines
/*
* Copyright 1998 Symantec Corporation, All Rights Reserved.
*/
package com.symantec.itools.vcafe.openapi.options;
/**
* The API used to represent and access the options that appear in the "Project" tab
* in the Options dialog of a Visual Cafe project.
* <p>Use <code>ProjectOptionSet.getProjectOptions()</code> to get an instance of this object.
*
* @see com.symantec.itools.vcafe.openapi.VisualProject#getOptionSet
* @see ProjectOptionSet#getProjectOptions
*
* @author Symantec Internet Tools Division
* @version 1.0
* @since VCafe 3.0
*/
public abstract class ProjectOptions
{
/**
* Indicates the project release type is "debug".
* An executable is generated that contains debugging information.
* @see #getReleaseType
*/
public static final int RELEASETYPE_DEBUG = 0;
/**
* Indicates the project release type is "final".
* A compact executable is generated that is optimized and contains no debugging information.
* @see #getReleaseType
*/
public static final int RELEASETYPE_FINAL = 1;
/**
* Gets the project's current release type.
* @return One of:<ul type=circle>
* <li>RELEASETYPE_DEBUG - for debugging, or
* <li>RELEASETYPE_FINAL - for final optimized version.
* </ul>
*/
public abstract int getReleaseType();
/**
* Indicates the project target type is a native Windows application.
* @see #getTargetType
*/
public static final int TARGETTYPE_EXE = 0;
/**
* Indicates the project target type is a native Windows DLL.
*/
public static final int TARGETTYPE_DLL = 1;
/**
* Indicates the project target type is a java application that requires java.exe to run.
*/
public static final int TARGETTYPE_CONSOLE = 2;
/**
* Indicates the project target type is a java applet that runs inside a web page.
*/
public static final int TARGETTYPE_APPLET = 3;
/**
* Gets the project's current target type.
* @return One of:<ul type=circle>
* <li>TARGETTYPE_APPLET - a java applet,
* <li>TARGETTYPE_CONSOLE - a java application,
* <li>TARGETTYPE_DLL - a native Windows DLL, or
* <li>TARGETTYPE_EXE - a native Windows application.
* </ul>
*/
public abstract int getTargetType();
/**
* Gets the project's target filename.
* @return the project's target filename.
*/
public abstract String getTargetName();
/**
* Determines whether this project's code generator will produce localized code.
* @return <code>true</code> if so, <code>false</code> otherwise.
*/
public abstract boolean isLocalizeGeneratedCode();
/**
* Determines whether this project's code generator will produce property files.
* <p>Note: This is only valid if <code>isLocalizeGeneratedCode</code> is <code>true</code>.
* @return <code>true</code> if so, <code>false</code> otherwise.
* @see isLocalizeGeneratedCode
*/
public abstract boolean isGeneratePropertyFiles();
/**
* Determines whether this project will parse (and display) imported files.
* @return <code>true</code> if so, <code>false</code> otherwise.
*/
public abstract boolean isParseImports();
/**
* Determines whether this project will default to enabling RAD for new files added to the project.
* @return <code>true</code> if so, <code>false</code> otherwise.
* @see com.symantec.itools.vcafe.openapi.VisualProject#addFile(String, boolean, int)
*/
public abstract boolean isEnableRADForNewFiles();
/**
* Gets the Applet's HTML File.
* Note: this is only applicable to TARGETTYPE_APPLET target types.
* @return the Applet's HTML File.
*/
public abstract String getAppletPage();
/**
* Gets the Application's main() Class.
* Note: this is only applicable to TARGETTYPE_CONSOLE target types.
* @return the Application's main() Class.
*/
public abstract String getMainClass();
/**
* Gets the Program Arguments.
* @return the Program Arguments.
*/
public abstract String getProgramArguments();
/**
* Gets the Working Directory for the executable.
* @return the Working Directory for the executable.
*/
public abstract String getWorkingDirectory();
}