| java.lang.Object org.netbeans.modules.vmd.midp.components.MidpProjectSupport
MidpProjectSupport | final public class MidpProjectSupport (Code) | | author: Karol Harezlak |
addArchiveFileToProject | public static void addArchiveFileToProject(DesignDocument document, FileObject... archiveFiles)(Code) | | Add library to the project based on the supplied archive files
Parameters: document - the document Parameters: archiveFiles - the archive files to be added |
addLibraryToProject | public static void addLibraryToProject(DesignDocument document, String... libraryNames)(Code) | | Add library to the project based on the supplied names
Parameters: document - the document Parameters: libraryNames - the library names to be added |
getAllFilesForProjectByExt | public static Map<FileObject, String> getAllFilesForProjectByExt(DesignDocument document, Collection<String> fileExtensions)(Code) | | Returns a Map of all files matching any of the provided file edxtensions
keyed by FileObjects with their relative resource paths as values.
Parameters: document - the document the map of found file-objects |
getClasspathInfo | public static ClasspathInfo getClasspathInfo(Project project)(Code) | | |
getFileObjectsForRelativeResourcePath | public static Map<FileObject, FileObject> getFileObjectsForRelativeResourcePath(DesignDocument document, String relativeResourcePath)(Code) | | Returns a Map keyed by a FileObject matching the relative resource path
while the value is the FileObject representing the classpath root containing
the key FileObject.
Parameters: document - the document Parameters: relativeResourcePath - as seen from a MIDlet prespective must start with a map of found file-objects |
getImagesForProject | public static Map<FileObject, String> getImagesForProject(DesignDocument document, boolean pngOnly)(Code) | | Returns a Map of all images in the project keyed by FileObjects with their relative resource paths as values.
Parameters: document - the document the map of found file-objects |
getProjectForDocument | public static Project getProjectForDocument(DesignDocument document)(Code) | | Gets project for document.
Parameters: document - the document the project |
getSourceGroup | public static SourceGroup getSourceGroup(Project project)(Code) | | |
|
|