|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface represents access to Midlet suite project specific information. It acts as a wrapper around an IJavaProject.
Note: This class/interface is part of an interim API that is still under development and expected to change before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken as the API evolves.
Copyright (c) 2003-2005 Craig Setera
| Method Summary | |
void |
createPackage(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean obfuscate)
Create a deployed JAR file package for this midlet suite project. |
ApplicationDescriptor |
getApplicationDescriptor()
Return an ApplicationDescriptor instance wrapped around the Application Descriptor (JAD) file for this midlet suite. |
eclipseme.core.internal.utils.ColonDelimitedProperties |
getDefaultApplicationDescriptorProperties()
Return the set of default application descriptor properties for this midlet suite. |
java.lang.String |
getJadFilename()
Return the name to use for the JAD file. |
java.lang.String |
getJarFilename()
Return the name to use for the JAR file. |
org.eclipse.jdt.core.IJavaProject |
getJavaProject()
Return the underlying java project. |
IPlatformDefinition |
getPlatformDefinition()
Get the IPlatformDefinition in use for this midlet suite. |
java.lang.String |
getPlatformDefinitionName()
Get the name of the platform definition in use for this midlet suite. |
org.eclipse.core.resources.IProject |
getProject()
Return the underlying project instance. |
ISignatureProperties |
getSignatureProperties()
Get the ISignatureProperties associated with this midlet suite |
java.lang.String |
getTempKeyPassword()
|
java.lang.String |
getTempKeystorePassword()
|
org.eclipse.core.resources.IFolder |
getVerifiedClassesOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
Get the IFolder into which verified classes should be written. |
org.eclipse.core.resources.IFolder |
getVerifiedLibrariesOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
Get the IFolder into which verified libraries should be written. |
org.eclipse.core.resources.IFolder |
getVerifiedOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
Get the IFolder into which verified classes should be written. |
IWirelessToolkit |
getWirelessToolkit()
Return the wireless toolkit associated with this project. |
boolean |
isDeployedJarUpToDate()
Return a boolean indicating whether the project's deployed jar file exists and is up to date compared with the code contained within the jar. |
java.util.Map |
preverify(org.eclipse.core.resources.IResource[] toVerify,
org.eclipse.core.resources.IFolder outputFolder,
org.eclipse.core.runtime.IProgressMonitor monitor)
Preverify the specified resources. |
java.util.Map |
preverifyJarFile(java.io.File jarFile,
org.eclipse.core.resources.IFolder outputFolder,
org.eclipse.core.runtime.IProgressMonitor monitor)
Launch the preverification process on the specified jar file. |
void |
saveMetaData()
Save the midlet suite metadata. |
void |
setDeployedJarFileUpToDate(boolean upToDate)
Set the flag indicating whether or not the deployed jar file for this midlet suite project is currently up to date. |
void |
setPlatformDefinition(IPlatformDefinition definition)
Set the IPlatformDefinition to use for this midlet suite. |
void |
setSignatureProperties(ISignatureProperties props)
Set the ISignatureProperties to use for this midlet suite |
void |
setTempKeyPassword(java.lang.String pass)
|
void |
setTempKeystorePassword(java.lang.String pass)
|
| Method Detail |
public void createPackage(org.eclipse.core.runtime.IProgressMonitor monitor,
boolean obfuscate)
throws org.eclipse.core.runtime.CoreException
monitor - progress monitorobfuscate - a boolean indicating whether to obfuscate the
resulting packaged code.
org.eclipse.core.runtime.CoreExceptionpublic ApplicationDescriptor getApplicationDescriptor()
public eclipseme.core.internal.utils.ColonDelimitedProperties getDefaultApplicationDescriptorProperties()
public java.lang.String getJadFilename()
public java.lang.String getJarFilename()
public org.eclipse.jdt.core.IJavaProject getJavaProject()
public java.lang.String getPlatformDefinitionName()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public IPlatformDefinition getPlatformDefinition()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void setPlatformDefinition(IPlatformDefinition definition)
throws org.eclipse.core.runtime.CoreException
definition - the platform definition to be associated
with this midlet suite
org.eclipse.core.runtime.CoreException
public ISignatureProperties getSignatureProperties()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void setSignatureProperties(ISignatureProperties props)
throws org.eclipse.core.runtime.CoreException
props -
org.eclipse.core.runtime.CoreException
public void saveMetaData()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionpublic java.lang.String getTempKeystorePassword()
public void setTempKeystorePassword(java.lang.String pass)
public java.lang.String getTempKeyPassword()
public void setTempKeyPassword(java.lang.String pass)
public org.eclipse.core.resources.IProject getProject()
public org.eclipse.core.resources.IFolder getVerifiedClassesOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
monitor - progress monitor
org.eclipse.core.runtime.CoreException
public org.eclipse.core.resources.IFolder getVerifiedLibrariesOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
monitor - progress monitor
org.eclipse.core.runtime.CoreException
public org.eclipse.core.resources.IFolder getVerifiedOutputFolder(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
monitor - progress monitor
org.eclipse.core.runtime.CoreException
public IWirelessToolkit getWirelessToolkit()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public boolean isDeployedJarUpToDate()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException - if there is a problem retrieving the information.
public java.util.Map preverify(org.eclipse.core.resources.IResource[] toVerify,
org.eclipse.core.resources.IFolder outputFolder,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException,
java.io.IOException
toVerify - the resources to be preverifiedoutputFolder - the folder into which the output will be writtenmonitor - progress monitor
org.eclipse.core.runtime.CoreException
java.io.IOException
public java.util.Map preverifyJarFile(java.io.File jarFile,
org.eclipse.core.resources.IFolder outputFolder,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException,
java.io.IOException
jarFile - The jar file to be preverified.outputFolder - The folder into which the output is to
be placed.monitor - Progress monitor
org.eclipse.core.runtime.CoreException
java.io.IOException
public void setDeployedJarFileUpToDate(boolean upToDate)
throws org.eclipse.core.runtime.CoreException
upToDate - whether the deployed jar file is up to date.
org.eclipse.core.runtime.CoreException - if there is a problem setting the information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||