Modifier and Type | Method and Description |
---|---|
static IJavaScriptProject |
JavaScriptCore.create(IProject project)
Returns the JavaScript project corresponding to the given project.
|
IJavaScriptProject |
IJavaScriptElement.getJavaScriptProject()
Returns the JavaScript project this element is contained in,
or
null if this element is not contained in any JavaScript project
(for instance, the IJavaScriptModel is not contained in any JavaScript
project). |
IJavaScriptProject |
IJavaScriptModel.getJavaScriptProject(java.lang.String name)
Returns the JavaScript project with the given name.
|
IJavaScriptProject[] |
IJavaScriptModel.getJavaScriptProjects()
Returns the JavaScript projects in this JavaScript model, or an empty array if there
are none.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JsGlobalScopeContainerInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
IJsGlobalScopeContainerInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project)
Returns
true if this container initializer can be requested to perform updates
on its own container values. |
static IJavaScriptElement |
JavaScriptCore.create(IResource resource,
IJavaScriptProject project)
Returns the JavaScript element corresponding to the given file, its project being the given
project.
|
static JsGlobalScopeContainerInitializer |
JSDScopeUtil.findLibraryInitializer(IPath compUnitPath,
IJavaScriptProject javaProject) |
IStatus |
JsGlobalScopeContainerInitializer.getAccessRulesStatus(IPath containerPath,
IJavaScriptProject project)
Returns the access rules attribute status according to this initializer.
|
IStatus |
JsGlobalScopeContainerInitializer.getAttributeStatus(IPath containerPath,
IJavaScriptProject project,
java.lang.String attributeKey)
Returns the extra attribute status according to this initializer.
|
java.lang.Object |
JsGlobalScopeContainerInitializer.getComparisonID(IPath containerPath,
IJavaScriptProject project) |
java.lang.Object |
IJsGlobalScopeContainerInitializer.getComparisonID(IPath containerPath,
IJavaScriptProject project)
Returns an object which identifies a container for comparison purpose.
|
protected IJsGlobalScopeContainer |
JsGlobalScopeContainerInitializer.getContainer(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
JsGlobalScopeContainerInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
IJsGlobalScopeContainerInitializer.getDescription(IPath containerPath,
IJavaScriptProject project)
Returns a readable description for a container path.
|
IJsGlobalScopeContainer |
JsGlobalScopeContainerInitializer.getFailureContainer(IPath containerPath,
IJavaScriptProject project) |
IJsGlobalScopeContainer |
IJsGlobalScopeContainerInitializer.getFailureContainer(IPath containerPath,
IJavaScriptProject project)
Returns a includepath container that is used after this initializer failed to bind a includepath container
to a
IJsGlobalScopeContainer for the given project. |
java.net.URI |
JsGlobalScopeContainerInitializer.getHostPath(IPath path,
IJavaScriptProject project) |
java.net.URI |
IJsGlobalScopeContainerInitializer.getHostPath(IPath path,
IJavaScriptProject project) |
static IJsGlobalScopeContainer |
JavaScriptCore.getJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project)
Answers the project specific value for a given includepath container.
|
IJsGlobalScopeContainer |
JSDScopeUtil.getLibraryContainer(IPath cpEntry,
IJavaScriptProject javaProject) |
IStatus |
JsGlobalScopeContainerInitializer.getSourceAttachmentStatus(IPath containerPath,
IJavaScriptProject project)
Returns the source attachment attribute status according to this initializer.
|
void |
JsGlobalScopeContainerInitializer.initialize(IPath containerPath,
IJavaScriptProject project) |
void |
IJsGlobalScopeContainerInitializer.initialize(IPath containerPath,
IJavaScriptProject project)
Binds a includepath container to a
IJsGlobalScopeContainer for a given project,
or silently fails if unable to do so. |
ITypeHierarchy |
IType.newTypeHierarchy(IJavaScriptProject project,
IProgressMonitor monitor)
Creates and returns a type hierarchy for this type containing
this type, all of its supertypes, and all its subtypes
in the context of the given project.
|
ITypeHierarchy |
IType.newTypeHierarchy(IJavaScriptProject project,
WorkingCopyOwner owner,
IProgressMonitor monitor)
Creates and returns a type hierarchy for this type containing
this type, all of its supertypes, and all its subtypes
in the context of the given project, considering types in the
working copies with the given owner.
|
void |
JsGlobalScopeContainerInitializer.removeFromProject(IJavaScriptProject project) |
void |
IJsGlobalScopeContainerInitializer.removeFromProject(IJavaScriptProject project) |
static char[] |
NamingConventions.removePrefixAndSuffixForArgumentName(IJavaScriptProject javaProject,
char[] argumentName)
Remove prefix and suffix from an argument name.
|
static java.lang.String |
NamingConventions.removePrefixAndSuffixForArgumentName(IJavaScriptProject javaProject,
java.lang.String argumentName)
Remove prefix and suffix from an argument name.
|
static char[] |
NamingConventions.removePrefixAndSuffixForFieldName(IJavaScriptProject javaProject,
char[] fieldName,
int modifiers)
Remove prefix and suffix from a field name.
|
static java.lang.String |
NamingConventions.removePrefixAndSuffixForFieldName(IJavaScriptProject javaProject,
java.lang.String fieldName,
int modifiers)
Remove prefix and suffix from a field name.
|
static char[] |
NamingConventions.removePrefixAndSuffixForLocalVariableName(IJavaScriptProject javaProject,
char[] localName)
Remove prefix and suffix from a local variable name.
|
static java.lang.String |
NamingConventions.removePrefixAndSuffixForLocalVariableName(IJavaScriptProject javaProject,
java.lang.String localName)
Remove prefix and suffix from a local variable name.
|
void |
JsGlobalScopeContainerInitializer.requestJsGlobalScopeContainerUpdate(IPath containerPath,
IJavaScriptProject project,
IJsGlobalScopeContainer containerSuggestion) |
void |
IJsGlobalScopeContainerInitializer.requestJsGlobalScopeContainerUpdate(IPath containerPath,
IJavaScriptProject project,
IJsGlobalScopeContainer containerSuggestion)
Request a registered container definition to be updated according to a container suggestion.
|
static void |
JavaScriptCore.setJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject[] affectedProjects,
IJsGlobalScopeContainer[] respectiveContainers,
IProgressMonitor monitor)
Bind a container reference path to some actual containers (
IJsGlobalScopeContainer ). |
static char[][] |
NamingConventions.suggestArgumentNames(IJavaScriptProject javaProject,
char[] packageName,
char[] qualifiedTypeName,
int dim,
char[][] excludedNames)
Suggest names for an argument.
|
static java.lang.String[] |
NamingConventions.suggestArgumentNames(IJavaScriptProject javaProject,
java.lang.String packageName,
java.lang.String qualifiedTypeName,
int dim,
java.lang.String[] excludedNames)
Suggest names for an argument.
|
static char[][] |
NamingConventions.suggestFieldNames(IJavaScriptProject javaProject,
char[] packageName,
char[] qualifiedTypeName,
int dim,
int modifiers,
char[][] excludedNames)
Suggest names for a field.
|
static java.lang.String[] |
NamingConventions.suggestFieldNames(IJavaScriptProject javaProject,
java.lang.String packageName,
java.lang.String qualifiedTypeName,
int dim,
int modifiers,
java.lang.String[] excludedNames)
Suggest names for a field.
|
static char[] |
NamingConventions.suggestGetterName(IJavaScriptProject project,
char[] fieldName,
int modifiers,
boolean isBoolean,
char[][] excludedNames)
Suggest name for a getter method.
|
static java.lang.String |
NamingConventions.suggestGetterName(IJavaScriptProject project,
java.lang.String fieldName,
int modifiers,
boolean isBoolean,
java.lang.String[] excludedNames)
Suggest name for a getter method.
|
static char[][] |
NamingConventions.suggestLocalVariableNames(IJavaScriptProject javaProject,
char[] packageName,
char[] qualifiedTypeName,
int dim,
char[][] excludedNames)
Suggest names for a local variable.
|
static java.lang.String[] |
NamingConventions.suggestLocalVariableNames(IJavaScriptProject javaProject,
java.lang.String packageName,
java.lang.String qualifiedTypeName,
int dim,
java.lang.String[] excludedNames)
Suggest names for a local variable.
|
static char[] |
NamingConventions.suggestSetterName(IJavaScriptProject project,
char[] fieldName,
int modifiers,
boolean isBoolean,
char[][] excludedNames)
Suggest name for a setter method.
|
static java.lang.String |
NamingConventions.suggestSetterName(IJavaScriptProject project,
java.lang.String fieldName,
int modifiers,
boolean isBoolean,
java.lang.String[] excludedNames)
Suggest name for a setter method.
|
static IJavaScriptModelStatus |
JavaScriptConventions.validateClasspath(IJavaScriptProject javaProject,
IIncludePathEntry[] rawClasspath)
Validate a given includepath location for a project, using the following rules:
Includepath entries cannot collide with each other; that is, all entry paths must be unique.
|
static IJavaScriptModelStatus |
JavaScriptConventions.validateClasspathEntry(IJavaScriptProject project,
IIncludePathEntry entry,
boolean checkSourceAttachment)
Returns a JavaScript model status describing the problem related to this includepath entry if any,
a status object with code
IStatus.OK if the entry is fine (that is, if the
given includepath entry denotes a valid element to be referenced onto a includepath). |
Constructor and Description |
---|
LibrarySuperType(IPath classPathEntry,
IJavaScriptProject project) |
LibrarySuperType(IPath classPathEntry,
IJavaScriptProject project,
java.lang.String superTypeName) |
Modifier and Type | Method and Description |
---|---|
int |
ValidationParticipant.aboutToBuild(IJavaScriptProject project)
Notifies this participant that a validation is about to start and provides it the opportunity to
create missing source folders for generated source files.
|
void |
ValidationParticipant.cleanStarting(IJavaScriptProject project)
Notifies this participant that a clean is about to start and provides it the opportunity to
delete generated source files.
|
boolean |
ValidationParticipant.isActive(IJavaScriptProject project)
Returns whether this participant is active for a given project.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InternetExplorerLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
FireFoxLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
InternetExplorerLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
FireFoxLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
InternetExplorerLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
FireFoxLibInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
InternetExplorerLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
FireFoxLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
InternetExplorerLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
FireFoxLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
InternetExplorerLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
FireFoxLibInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerUILibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerLibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
FireFoxUiInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerUILibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerLibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
FireFoxUiInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerUILibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
InternetExplorerLibInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
FireFoxUiInitializer.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
Modifier and Type | Method and Description |
---|---|
void |
ASTParser.setProject(IJavaScriptProject project)
Sets the JavaScript project used when resolving bindings.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptProject |
IEvaluationContext.getProject()
Returns the JavaScript project this evaluation context was created for.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptProject |
IRuntimeClasspathEntry.getJavaProject()
Returns the JavaScript project associated with this runtime includepath entry
or
null if none. |
static IJavaScriptProject |
JavaRuntime.getJavaProject(ILaunchConfiguration configuration)
Return the
IJavaScriptProject referenced in the specified configuration or
null if none. |
Modifier and Type | Method and Description |
---|---|
boolean |
JREContainerInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project)
The container can be updated if it refers to an existing VM.
|
static java.lang.String[] |
JavaRuntime.computeDefaultRuntimeClassPath(IJavaScriptProject jproject)
Computes the default application includepath entries for the given
project.
|
static IRuntimeClasspathEntry[] |
JavaRuntime.computeUnresolvedRuntimeClasspath(IJavaScriptProject project)
Computes and returns the default unresolved runtime includepath for the
given project.
|
java.lang.String |
JREContainerInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
static IVMInstall |
JavaRuntime.getVMInstall(IJavaScriptProject project)
Returns the VM assigned to build the given JavaScript project.
|
void |
JREContainerInitializer.initialize(IPath containerPath,
IJavaScriptProject project) |
static IRuntimeClasspathEntry |
JavaRuntime.newProjectRuntimeClasspathEntry(IJavaScriptProject project)
Returns a new runtime includepath entry for the given project.
|
static IRuntimeClasspathEntry |
JavaRuntime.newRuntimeContainerClasspathEntry(IPath path,
int classpathProperty,
IJavaScriptProject project)
Returns a runtime includepath entry for the given container path with the given
includepath property to be resolved in the context of the given JavaScript project.
|
void |
JREContainerInitializer.requestJsGlobalScopeContainerUpdate(IPath containerPath,
IJavaScriptProject project,
IJsGlobalScopeContainer containerSuggestion) |
Modifier and Type | Method and Description |
---|---|
boolean |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
boolean |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.canUpdateJsGlobalScopeContainer(IPath containerPath,
IJavaScriptProject project) |
protected IJsGlobalScopeContainer |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getContainer(IPath containerPath,
IJavaScriptProject project) |
protected IJsGlobalScopeContainer |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getContainer(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
java.lang.String |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.getDescription(IPath containerPath,
IJavaScriptProject project) |
ImageDescriptor |
BasicBrowserLibraryContainerUIExtension.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
ImageDescriptor |
BasicBrowserLibraryContainerUIExtension.getImage(IPath containerPath,
java.lang.String element,
IJavaScriptProject project) |
void |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.initialize(IPath containerPath,
IJavaScriptProject project) |
void |
BasicBrowserLibraryJsGlobalScopeContainerInitializer.initialize(IPath containerPath,
IJavaScriptProject project) |
Modifier and Type | Field and Description |
---|---|
protected IJavaScriptProject |
JavaScriptLibrariesAction.project |
Modifier and Type | Method and Description |
---|---|
IJavaScriptProject |
ProjectLibraryRoot.getProject() |
Modifier and Type | Method and Description |
---|---|
static SelectionDialog |
JavaScriptUI.createPackageDialog(Shell parent,
IJavaScriptProject project,
int style)
Creates a selection dialog that lists all packages of the given JavaScript project.
|
static SelectionDialog |
JavaScriptUI.createPackageDialog(Shell parent,
IJavaScriptProject project,
int style,
java.lang.String filter)
Creates a selection dialog that lists all packages of the given JavaScript project.
|
static java.lang.String |
JavaScriptElementLabels.getContainerEntryLabel(IPath containerPath,
IJavaScriptProject project)
Returns the label of a classpath container
|
protected java.lang.Object[] |
StandardJavaScriptElementContentProvider.getPackageFragmentRoots(IJavaScriptProject project)
Evaluates all children of a given
IJavaScriptProject . |
static java.lang.String |
PreferenceConstants.getPreference(java.lang.String key,
IJavaScriptProject project)
Returns the value for the given key in the given context.
|
static java.net.URL |
JavaScriptUI.getProjectJSdocLocation(IJavaScriptProject project)
Returns the Javadoc location for a JavaScript project or
null if no
location is available. |
static void |
JavaScriptUI.setProjectJSdocLocation(IJavaScriptProject project,
java.net.URL url)
Sets the Javadoc location for a JavaScript project.
|
Constructor and Description |
---|
ProjectLibraryRoot(IJavaScriptProject project) |
Modifier and Type | Method and Description |
---|---|
static RenameSupport |
RenameSupport.create(IJavaScriptProject project,
java.lang.String newName,
int flags)
Creates a new rename support for the given
IJavaScriptProject . |
Modifier and Type | Method and Description |
---|---|
IJavaScriptProject |
JavaContentAssistInvocationContext.getProject()
Returns the project of the compilation unit that content assist is invoked in,
null if none. |
Constructor and Description |
---|
CompletionProposalCollector(IJavaScriptProject project)
Creates a new instance ready to collect proposals.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptProject |
NewContainerWizardPage.getJavaProject()
Returns the JavaScript project of the currently selected package fragment root or
null
if no package fragment root is configured. |
IJavaScriptProject |
JavaCapabilityConfigurationPage.getJavaProject()
Returns the JavaScript project that was passed in
#init(IJavaScriptProject, IPath, IIncludePathEntry[], boolean) or null if the
page has not been initialized yet. |
abstract IJavaScriptProject |
ClasspathAttributeConfiguration.ClasspathAttributeAccess.getJavaProject()
Returns the JavaScript project the current attribute is part of.
|
IJavaScriptProject |
NewJavaProjectWizardPage.getNewJavaProject()
Returns the JavaScript project handle by converting the result of
getProjectHandle() into a JavaScript project. |
Modifier and Type | Method and Description |
---|---|
static IIncludePathEntry[] |
BuildPathDialogAccess.chooseContainerEntries(Shell shell,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to choose new classpath container classpath entries.
|
static LibrarySuperType |
BuildPathDialogAccess.chooseSuperType(Shell shell,
org.eclipse.wst.jsdt.internal.ui.wizards.buildpaths.CPListElement[] cpEntries,
LibrarySuperType initialSelection,
IJavaScriptProject project) |
static IIncludePathEntry |
BuildPathDialogAccess.configureContainerEntry(Shell shell,
IIncludePathEntry initialEntry,
IJavaScriptProject project,
IIncludePathEntry[] currentClasspath)
Shows the UI to configure a classpath container classpath entry.
|
void |
JavaCapabilityConfigurationPage.init(IJavaScriptProject jproject,
IIncludePathEntry[] defaultEntries,
boolean defaultsOverrideExistingClasspath)
Initializes the page with the project and default classpath.
|
void |
IJsGlobalScopeContainerPageExtension.initialize(IJavaScriptProject project,
IIncludePathEntry[] currentEntries)
Method
initialize() is called before IJsGlobalScopeContainerPage.setSelection
to give additional information about the context the classpath container entry is configured in. |
void |
BaseLibraryWizardPage.initialize(IJavaScriptProject project,
IIncludePathEntry[] currentEntries) |
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.