|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMTJProject
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Method Summary | |
|---|---|
void |
addMTJProjectListener(IMTJProjectListener projectListener)
|
void |
createPackage(IProgressMonitor monitor,
boolean obfuscate,
boolean packageInactiveConfigs)
Create a deployed JAR file package for this MIDlet suite project. |
IJavaProject |
getJavaProject()
Return the underlying java project. |
MTJRuntimeList |
getMTJRuntime()
Return the list of runtimes that are associated to the project. |
IProject |
getProject()
Return the underlying project instance. |
ISignatureProperties |
getSignatureProperties()
Get the ISignatureProperties associated with this MIDlet suite |
boolean |
isDeployedAppUpToDate()
Return a boolean indicating whether the project's deployed Application file exists and is up to date. |
void |
refreshClasspath(IProgressMonitor monitor)
Refresh the classpath for this project. |
void |
removeMTJProjectListener(IMTJProjectListener projectListener)
|
void |
saveMetaData()
Save the MIDlet suite metadata. |
void |
setDeployedAppFileUpToDate(boolean upToDate)
Set the flag indicating whether or not the deployed jar file for this MIDlet suite project is currently up to date. |
void |
setSignatureProperties(ISignatureProperties props)
Set the ISignatureProperties to use for this MIDlet suite |
| Method Detail |
|---|
void addMTJProjectListener(IMTJProjectListener projectListener)
projectListener -
void createPackage(IProgressMonitor monitor,
boolean obfuscate,
boolean packageInactiveConfigs)
throws CoreException
monitor - progress monitorobfuscate - a boolean indicating whether to obfuscate the resulting
packaged code.packageInactiveConfigs - - a boolean indicating whether to package
all configurations (including inactive configurations) or just
package active configuration.
CoreException
void refreshClasspath(IProgressMonitor monitor)
throws CoreException
monitor -
CoreExceptionIJavaProject getJavaProject()
MTJRuntimeList getMTJRuntime()
IProject getProject()
ISignatureProperties getSignatureProperties()
throws CoreException
CoreException
boolean isDeployedAppUpToDate()
throws CoreException
CoreException - if there is a problem retrieving the information.void removeMTJProjectListener(IMTJProjectListener projectListener)
projectListener -
void saveMetaData()
throws CoreException
CoreException
void setDeployedAppFileUpToDate(boolean upToDate)
throws CoreException
upToDate - whether the deployed jar file is up to date.
CoreException - if there is a problem setting the information.
void setSignatureProperties(ISignatureProperties props)
throws CoreException
props -
CoreException
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||