public interface IFlexProject extends IASProject, IXMLNameResolver, IWriteOnlyProjectSettings
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
computeLibraryDependencies(File targetLibrary,
DependencyTypeSet dependencyTypeSet)
Get the set of libraries a given library depends on.
|
List<String> |
computeLibraryDependencyOrder(DependencyTypeSet dependencySet)
Get the dependency order of libraries on the internal library path and
external library path of this project.
|
ISWCTarget |
createSWCTarget(ITargetSettings targetSettings,
ITargetProgressMonitor progressMonitor)
Create a SWC target
|
String |
getActionScriptFileEncoding()
Returns the file encoding use to compile ActionScript files.
|
ICSSManager |
getCSSManager()
Get the project-level CSS manager.
|
Map<File,List<String>> |
getExtensionLibraries()
Returns a map of extension element files to extension paths.
|
Collection<String> |
getLocales()
Returns the requested locales for this project.
|
IMXMLNamespaceMapping[] |
getNamespaceMappings()
Get all the namespace mappings.
|
String |
getResourceLocale(String path)
Returns the locale of the resource with a given path if the resource
is locale dependent.
|
List<RSLSettings> |
getRuntimeSharedLibraryPath()
The list of RSLs configured for this application.
|
String |
getServicesXMLPath()
The absolute path of the services-config.xml file.
|
Collection<XMLName> |
getTagNamesForClass(String className)
Uses the manifest information to find all the MXML tags that map to a
specified fully-qualified ActionScript classname, such as as
"spark.controls.Button" |
List<String> |
getThemeNames()
Get the names of all the themes used in this project.
|
boolean |
isFlex()
Option of enable or prevent various Flex compiler behaviors.
|
void |
setLocaleDependentResources(Map<String,String> localeDependentResources)
Sets the locale dependent path map for the project.
|
void |
setNamespaceMappings(List<? extends IMXMLNamespaceMapping> namespaceMappings)
Sets the mappings from MXML namespace URI to manifest files, as specified
by -namespace options.
|
void |
setRuntimeSharedLibraryPath(List<RSLSettings> rsls)
Set the RSL library path with an ordered list of RSLs.
|
addIncludeSourceFile, addIncludeSourceFile, addProjectDependeny, attachExternalLibrarySourcePath, attachInternalLibrarySourcePath, createInvisibleCompilationUnit, createInvisibleCompilationUnit, getAttachedSourceDirectory, getCompatibilityVersion, getCompatibilityVersionString, getDependingProjects, getLibraries, getSourceFileFromSourcePath, getSourcePath, invalidateLibraries, invalidateLibrary, isSupportedSourceFileType, removeIncludeSourceFile, removeProjectDependeny, setDependencies, setIncludeSources, setLibraries, setSourcePathclean, createSWFTarget, delete, doubleCheckAmbiguousDefinition, getActualPackageName, getBuiltinType, getCompilationUnits, getCompilationUnits, getDirectDependencies, getDirectReverseDependencies, getIncludingCompilationUnits, getProblems, getReachableCompilationUnitsInSWFOrder, getScope, getUndefinedValue, getWorkspace, isAssetEmbeddingSupported, isCompatibleOverrideReturnType, isInliningEnabled, isValidTypeConversion, resolveQNameToCompilationUnit, resolveQNameToDefinition, setProblems, setUseParallelCodeGenerationresolveXMLNameToDefinition, resolveXMLNameToQualifiedNamesetActionScriptFileEncoding, setCompatibilityVersion, setDefineDirectives, setExcludeNativeJSLibraries, setExtensionLibraries, setFlex, setIncludeSources, setLocales, setServicesXMLPath, setSourcePathISWCTarget createSWCTarget(ITargetSettings targetSettings, ITargetProgressMonitor progressMonitor) throws InterruptedException
targetSettings - The settings to use for this targetprogressMonitor - to collect progress information, can be nullInterruptedExceptionvoid setNamespaceMappings(List<? extends IMXMLNamespaceMapping> namespaceMappings)
setNamespaceMappings in interface IWriteOnlyProjectSettingsnamespaceMappings - An array of MXMLNamespaceMapping
objects.IMXMLNamespaceMapping[] getNamespaceMappings()
ICSSManager getCSSManager()
CSSManager of the project.Collection<String> getLocales()
void setLocaleDependentResources(Map<String,String> localeDependentResources)
localeDependentResources - map that contains project's locale
dependent resourcesString getResourceLocale(String path)
path - path of a file/directory for which to determine the localenull if the resource is not locale
dependent.String getActionScriptFileEncoding()
Map<File,List<String>> getExtensionLibraries()
String getServicesXMLPath()
List<RSLSettings> getRuntimeSharedLibraryPath()
RSLSettings where each entry in the list is an
RSL to load at runtime.void setRuntimeSharedLibraryPath(List<RSLSettings> rsls)
rsls - Each RSLSettings in the list describes an RSL and
its failovers. If null, the list of RSLs is reset.Set<String> computeLibraryDependencies(File targetLibrary, DependencyTypeSet dependencyTypeSet) throws LibraryCircularDependencyException
targetLibrary - The library to find dependencies for. May not be
null.dependencyTypeSet - The types of dependencies to consider when
determining the library's dependencies. If this parameter is null or an empty set, then all
dependencies will be considered.LibraryCircularDependencyExceptionList<String> computeLibraryDependencyOrder(DependencyTypeSet dependencySet) throws LibraryCircularDependencyException
dependencySet - The types of dependencies to consider when
determining the dependency order. If this parameter is null or an empty set, then all
dependencies will be considered.LibraryCircularDependencyExceptionList<String> getThemeNames()
boolean isFlex()
Collection<XMLName> getTagNamesForClass(String className)
"spark.controls.Button"className - Fully-qualified ActionScript classname, such as as
"spark.controls.Button"XMLName's representing a MXML tags, such
as a "Button" tag in the namespace
"library://ns.adobe.com/flex/spark".Copyright © 2016 The Apache Software Foundation. All rights reserved.