Package | Description |
---|---|
oracle.ide |
Contains classes that allow addins access to the IDE integration objects.
|
oracle.ide.ceditor |
The
Code Editor package contains the code editing
implementation of the JDeveloper IDE. |
oracle.ide.cmd |
Contains classes implementing several JDeveloper commands.
|
oracle.ide.compiler |
Contains classes that allow addins some level of control on the IDE build system.
|
oracle.ide.dependency |
Provides information about the dependencies between files in an application.
|
oracle.ide.dependency.index |
Provides the ability to store and retrieve dependency information using the
index.
|
oracle.ide.dialogs.filter | |
oracle.ide.explorer |
Contains the interfaces and classes addins use to provide a structured
view of data contained in nodes displayed in a navigator or an editor.
|
oracle.ide.externaltools |
Contains interfaces and classes that allow external tools in
the IDE to be invoked, manipulated and extended by extensions.
|
oracle.ide.file |
Classes and interfaces used to track changes to files.
|
oracle.ide.index |
Classes used to build and query indexes of source files.
|
oracle.ide.index.file | |
oracle.ide.layout |
Contains interfaces and classes addins can implement or extend to provide
preferred layouts for their own specialized editors.
|
oracle.ide.model |
Contains interfaces and classes implementing JDeveloper's data model.
|
oracle.ide.model.panels | |
oracle.ide.persistence |
Contains API classes for the persistence of search indexes.
|
oracle.ide.resourcebundle |
Provides a designtime abstraction around locating and managing resource bundles
used by visual and non-visual editors.
|
oracle.ide.runner |
Contains classes that allow addins some level of control on the IDE runner system.
|
oracle.ide.status | |
oracle.ide.task.locking | |
oracle.jdeveloper.appoverview | |
oracle.jdeveloper.audit.analyzer |
The base classes for writing analyzers.
|
oracle.jdeveloper.audit.model |
The base classes for defining the Audit object model.
|
oracle.jdeveloper.audit.service |
The API classes for invoking Audit programatically, and a few Audit common
API classes.
|
oracle.jdeveloper.audit.transform |
The base classes for defining transformations on the Audit object
model.
|
oracle.jdeveloper.browse | |
oracle.jdeveloper.builder |
This package contains the base implementations for the set of
classes used for creating new objects.
|
oracle.jdeveloper.builder.cls |
The
cls package provides classes and interfaces for generating Java classes. |
oracle.jdeveloper.builder.folder | |
oracle.jdeveloper.cmd | |
oracle.jdeveloper.cmt |
The Component Model Tool, an API for manipulating Java source code.
|
oracle.jdeveloper.compiler | |
oracle.jdeveloper.controller | |
oracle.jdeveloper.controls |
The
controls package contains GUI classes used by the builder classes. |
oracle.jdeveloper.db.dependency | |
oracle.jdeveloper.deploy.contrib | |
oracle.jdeveloper.deploy.dmf | |
oracle.jdeveloper.deploy.dt | |
oracle.jdeveloper.deploy.ear | |
oracle.jdeveloper.deploy.war | |
oracle.jdeveloper.dialogs |
The
Dialogs package contains commonly used dialogs. |
oracle.jdeveloper.engine | |
oracle.jdeveloper.file | |
oracle.jdeveloper.java |
Public API for the java model.
|
oracle.jdeveloper.java.clients.uieditor | |
oracle.jdeveloper.java.dependency |
Provides dependency information for Java.
|
oracle.jdeveloper.java.locator |
Public implementations of the JavaClassLocator interface.
|
oracle.jdeveloper.java.provider |
Public implementations of the JavaFileProvider interface.
|
oracle.jdeveloper.jsp.libraries | |
oracle.jdeveloper.jsp.utils | |
oracle.jdeveloper.library |
The
Libraries package provides the library API used
by JDeveloper. |
oracle.jdeveloper.model |
Contains interfaces and classes implementing the Java specific portions of
JDeveloper's data model.
|
oracle.jdeveloper.offlinedb |
Database API extension for saving database object definitions in XML files.
|
oracle.jdeveloper.offlinedb.model |
Classes that define an offline database's settings and properties.
|
oracle.jdeveloper.offlinedb.wizard |
Wizard and dialogs that can used when working with the offline database.
|
oracle.jdeveloper.runner |
Contains classes that allow addins some level of control on the JDeveloper runner system.
|
oracle.jdeveloper.test | |
oracle.jdeveloper.usage | |
oracle.jdeveloper.util | |
oracle.jdeveloper.vcs.changelist | |
oracle.jdeveloper.vcs.spi |
Contains extension-level service provider interfaces for version control system integraton.
|
oracle.jdeveloper.vcs.util |
Contains assorted stateless utilities for version control system integraton.
|
oracle.jdeveloper.webapp.build | |
oracle.jdeveloper.webapp.design | |
oracle.jdeveloper.webapp.facelets | |
oracle.jdeveloper.webapp.utils | |
oracle.jdeveloper.wizard.common |
Contains classes used by wizards.
|
oracle.jdevimpl.audit.core | |
oracle.jdevimpl.audit.model |
Modifier and Type | Method and Description |
---|---|
static Project |
Ide.getActiveProject()
Returns the currently active
Project . |
static Project |
Ide.getDefaultProject()
Gets the default project node
|
Project |
Context.getProject()
Provides a reference to the Project data associated with this
Context.
|
Modifier and Type | Method and Description |
---|---|
static void |
Ide.setActiveProject(Project project)
Sets the active project
|
static void |
IdeCore.setActiveProjectOverride(Project project)
Sets the overridden value of the active workspace.
|
void |
Context.setProject(Project project)
Set a reference to the Project data associated with this
Context.
|
Constructor and Description |
---|
Context(View view,
Workspace workspace,
Project project,
Node node)
Constructor.
|
Context(Workspace workspace,
Project project)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Editors.editNode(Workspace workspace,
Project project,
Node node,
int offset,
int length,
boolean spanLines)
Open a editor for a specified node.
|
Constructor and Description |
---|
UndoableEditCommand(java.lang.String name,
TextNode node,
Project project,
Workspace workspace)
Creates an undoable edit wrapper command without an IDE context that
manages the initial selection.
|
UndoableEditCommand(java.lang.String name,
TextNode node,
Project project,
Workspace workspace,
boolean initialSelection)
Creates an undoable edit wrapper command without an IDE context.
|
UndoableEditCommand(java.lang.String name,
TextNode node,
Project project,
Workspace workspace,
int selectionStart,
int selectionEnd)
Constructor callable from threads other than the event thread.
|
Modifier and Type | Method and Description |
---|---|
static Project |
NewWorkspaceCommand.createProject(Context context,
Workspace workspace)
Provides the UI for creating a project in the given workspace
|
Modifier and Type | Method and Description |
---|---|
static void |
AddContentCommand.addToProject(Node[] nodes,
Project project,
java.lang.String contentSetKey)
Deprecated.
|
static void |
AddContentCommand.addToProject(Node node,
Project project,
java.lang.String contentSetKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
CopyListener.initialize(Project project)
This method allows the listener implementation to initialize any
data that will be used by every single call to handleCopy().
|
void |
BuildSystemListener2.projectBuildFinished(Workspace workspace,
Project project)
Called by the build after the build of a project or the
build of one or more project files has finished.
|
void |
BuildSystemListener2.projectBuildWillStart(Workspace workspace,
Project project)
Called by the build before the build of a project or the
build of one or more project files is started.
|
void |
BuildSystemListener2.projectCleanFinished(Workspace workspace,
Project project)
Called by the build after the clean of a project or the
clean of one or more project files has finished.
|
void |
BuildSystemListener2.projectCleanWillStart(Workspace workspace,
Project project)
Called by the build before the clean of a project or the
clean of one or more project files is started.
|
Modifier and Type | Method and Description |
---|---|
Project |
SourceReference.getProject()
Get the project containing the source file this reference appears in.
|
Project |
SourceDeclaration.getProject()
Get the project containing the source file this declaration appears in.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Project> |
Scope.getProjects()
Get the set of projects that are in scope.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Scope.isIncluded(Project project,
ContentSet content,
java.net.URL url)
Determine whether a URL in included in this scope.
|
boolean |
Scope.isIncluded(Project project,
java.net.URL url)
Determine whether a URL in included in this scope.
|
static void |
SourceUtils.openSourceFile(Workspace workspace,
Project project,
java.net.URL url)
Open a source file in the code editor.
|
static void |
SourceUtils.openSourceFile(Workspace workspace,
Project project,
java.net.URL url,
int startOffset,
int endOffset)
Open a source file in the code editor.
|
Constructor and Description |
---|
Scope(Project project) |
Scope(Project project,
java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
Project |
IndexReference.getProject() |
Project |
IndexDeclaration.getProject() |
Modifier and Type | Method and Description |
---|---|
protected ContentSet |
IndexReferenceProvider.getContentSet(Context context,
Project project,
Declaration declaration)
Get the content set that should be searched for references to a
declaration.
|
Constructor and Description |
---|
IndexDeclaration(java.lang.String id,
Workspace workspace,
Project project,
java.net.URL url,
int startOffset,
int endOffset) |
IndexReference(Workspace workspace,
Project project,
java.net.URL url,
int startOffset,
int endOffset) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryOptionsPanel.setProject(Project project)
Deprecated.
Sets the project so that we can prevent display of files that already exist
in the project.
|
Modifier and Type | Field and Description |
---|---|
protected Project |
Explorer.defaultProject |
Modifier and Type | Method and Description |
---|---|
static Project |
ContextUtils.getProject(Context ctx) |
Modifier and Type | Method and Description |
---|---|
Project |
ContentSetScope.getProject()
Get the project for this scope, or
null if the scope is not
associated with a project. |
Project |
ContentSetRoot.getProject()
Get the project for this root, or
null if this root is not
associated with a project. |
protected Project |
ProjectCache.loadProject(Project project)
Gets the project in order to load it.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Project> |
ProjectCache.getDirectDependencies(Project project)
Get the projects that a project directly depends on.
|
java.util.Collection<Project> |
ProjectCache.getDownstreamDependencies(Project project)
Get the downstream dependencies of a project.
|
java.util.Collection<Project> |
ProjectCache.getTransitiveDependencies(Project project)
Get the transitive closure of the projects a project depends on.
|
Modifier and Type | Method and Description |
---|---|
Path |
ProjectCache.getContentPath(Project project)
Get the project content path.
|
Path |
ProjectCache.getContentPath(Project project,
java.lang.String contentSetKey)
Get the project content path for a specific content set.
|
static java.util.Collection<ContentSetRoot> |
ContentSetRoot.getContentSetRoots(Project project)
Get the content set roots for a project.
|
static java.util.Collection<ContentSetRoot> |
ContentSetRoot.getContentSetRoots(Project project,
ContentSet contentSet)
Get the content set roots for a specific content set of a project.
|
static java.util.Collection<ContentSetRoot> |
ContentSetRoot.getContentSetRootsContaining(Project project,
java.net.URL url)
Returns the content set roots in the project that contain a specific URL.
|
java.util.Collection<Project> |
ProjectCache.getDirectDependencies(Project project)
Get the projects that a project directly depends on.
|
java.util.Collection<Project> |
ProjectCache.getDownstreamDependencies(Project project)
Get the downstream dependencies of a project.
|
static ContentSetRoot |
ContentSetRoot.getInstance(Project project,
FileSet fileSet) |
static ContentSetScope |
ContentSetScope.getInstance(Workspace workspace,
Project project)
Get an instance of this class for the entire project content.
|
static ContentSetKey |
ContentSetKey.getInstance(Workspace workspace,
Project project)
Get a key for the entire contents of a project.
|
static ContentSetScope |
ContentSetScope.getInstance(Workspace workspace,
Project project,
java.lang.String contentSetKey)
Get an instance of this class for a specific content set in a project.
|
static ContentSetKey |
ContentSetKey.getInstance(Workspace workspace,
Project project,
java.lang.String contentSetKey)
Get a key for a specific content set in a project.
|
protected Path |
ProjectCache.getPath(Project project,
java.lang.String key)
Get a path from the cache.
|
protected java.lang.String |
ProjectCache.getProjectKey(Project project,
java.lang.String key)
Get the key used to store data in the cache.
|
java.lang.String[] |
ProjectCache.getTechnologyScopeKeys(Project project)
Get the technology scope keys used by a project.
|
java.util.Collection<Project> |
ProjectCache.getTransitiveDependencies(Project project)
Get the transitive closure of the projects a project depends on.
|
protected static long |
ProjectCache.getUserTimestamp(Project project)
Get the timestamp when a project was last invalidated, or
-1 if
the project has never been invalidated. |
static void |
ProjectCache.invalidate(Project project)
Invalidate the project cache for a specific project.
|
protected boolean |
ProjectCache.isValid(Project project,
ProjectCache.CacheEntry entry)
Determine if a cached entry is still valid.
|
protected Project |
ProjectCache.loadProject(Project project)
Gets the project in order to load it.
|
protected void |
ProjectCache.putPath(Project project,
java.lang.String key,
Path path)
Put a path in the cache.
|
Modifier and Type | Method and Description |
---|---|
static void |
ProjectCache.invalidate(java.util.Collection<Project> projects)
Invalidate the project cache for a set of projects.
|
Modifier and Type | Method and Description |
---|---|
Project |
IndexingContext.getProject()
Get the project being indexed.
|
Modifier and Type | Method and Description |
---|---|
abstract Index |
IndexManager.getIndex(Project project)
Deprecated.
|
abstract Index |
IndexManager.getIndex(Project project,
ContentSet content)
Deprecated.
|
abstract Index |
IndexManager.getIndex(Project project,
java.net.URL url)
Deprecated.
|
abstract Index |
IndexManager.getIndex(Project project,
URLPath path)
Deprecated.
|
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project)
Get the index for the given project.
|
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project,
ContentSet content)
Get the index for the given
ContentSet in the scope of the given
project. |
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project,
FileSet fileSet)
Get the index for the given
FileSet in the scope of the given
project. |
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project,
Path path)
Get the index for the given
Path in the scope of the given
project. |
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project,
java.net.URL url)
Get the index for the given URL in the scope of the given project.
|
abstract Index |
IndexManager.getIndex(Workspace workspace,
Project project,
URLPath path)
Get the index for the given
URLPath in the scope of the given
project. |
void |
IndexingListener.indexUpdate(Workspace workspace,
Project project,
java.util.Collection<java.net.URL> urls)
Called when a set of files are about to be updated in the index.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
FileChangeManager.addFileChangeListener(Workspace workspace,
Project project,
FileChangeListener listener)
Deprecated.
Add a
FileChangeListener for the given workspace and project. |
void |
FileChangeListener.filesChanged(Workspace workspace,
Project project,
java.util.Collection<FileChange> changes)
Deprecated.
One or more files have changed.
|
abstract void |
FileChangeManager.removeFileChangeListener(Workspace workspace,
Project project,
FileChangeListener listener)
Deprecated.
Remove a
FileChangeListener for the given workspace and project. |
Modifier and Type | Method and Description |
---|---|
static Project |
AbstractLayoutListener.getProject(java.lang.String viewId,
Layout layout) |
Modifier and Type | Method and Description |
---|---|
Project |
Workspace.currentActiveProject()
|
Project |
Workspace.getActiveProject() |
Project |
Preferences.getDefaultProject()
Deprecated.
Returns the default project.
|
Project |
ProjectChangeEvent.getProject() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Project> |
Workspace.projects()
Returns a collection of
Project instances which are children of
this Workspace. |
java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> |
TechnologyScopeManager.NullDetector.technologyScopesOfProjectBatch(Workspace workspace,
java.util.Collection<Project> project) |
java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> |
TechnologyScopeDetector.technologyScopesOfProjectBatch(Workspace workspace,
java.util.Collection<Project> project) |
Modifier and Type | Method and Description |
---|---|
static boolean |
OwnerMap.addToOwnerMap(Project project,
Node node,
Node ownerContainer)
Deprecated.
Adds the specified node to the project, making ownerContainer the
owner of the node.
|
boolean |
ContentSetProvider.canExtendURLPath(Project project)
Returns
true if the ContentSetProvider allows a URL
to be added to the ContentSet's URLPath in the given Project
context. |
abstract Element |
ElementRecognizer.create(java.net.URL url,
Project project)
Creates an instance of the design-time node associated with the
specified
url . |
java.util.Collection<java.lang.String> |
TechnologyScopeManager.NullDetector.detectTechnologyScopeIds(Workspace workspace,
Project project) |
java.util.Collection<java.lang.String> |
TechnologyScopeDetector.detectTechnologyScopeIds(Workspace workspace,
Project project)
Given a project, scans and finds the technology scopes relevant to the
project
|
java.util.Collection<java.lang.String> |
TechnologyScopeManager.NullDetector.detectTechnologyScopeIdsOfProjectChanges(Workspace workspace,
Project project) |
java.util.Collection<java.lang.String> |
TechnologyScopeDetector.detectTechnologyScopeIdsOfProjectChanges(Workspace workspace,
Project project)
Given a workspace and a project, return the set of technology scope id
that the project must add to initialize the proper features.
|
java.util.Collection<java.lang.String> |
TechnologyScopeManager.NullDetector.detectTechnologyScopeIdsOfURL(Project project,
java.net.URL url) |
java.util.Collection<java.lang.String> |
TechnologyScopeDetector.detectTechnologyScopeIdsOfURL(Project project,
java.net.URL url)
Given a workspace and a project, returns the set of technology scope ids that
the project must have.
|
PatternFilters |
WorkingSet.excludeChildren(Project project,
java.util.List<java.net.URL> children)
Hides each of the supplied URLs in the working set.
|
boolean |
WorkingSet.excludeProject(Project project)
Deprecated.
Use #excludeProject(Project, Set)
|
boolean |
WorkingSet.excludeProject(Project project,
java.util.Set<java.net.URL> workspaceChildren)
Hides a Project from the WorkingSet.
|
static Element |
ElementFactory.findOrCreate(java.net.URL url,
Project project)
Returns an
Element associated with the identifier . |
protected static PropertyStorage |
SharedPropertiesAdapter.getActivePropertyStorage(Project project,
java.lang.String dataKey)
Returns a PropertyStorage object that wraps either the workspace
shared properties or the project properties, depending on where
the properties identified by
dataKey are stored. |
protected static PropertyStorage |
SharedPropertiesAdapter.getActivePropertyStorage(Project project,
Workspace workspace,
java.lang.String dataKey)
Returns a PropertyStorage object that wraps either the workspace
shared properties or the project properties, depending on where
the properties identified by
dataKey are stored. |
static PatternFilters |
WorkingSet.getCurrentWorkingSetFilters(Project project)
|
static WorkingSets |
WorkingSets.getInstance(Project project)
Deprecated.
Since 11.0. Working sets are now stored at the application
level, not at the project level, so use
WorkingSets.getInstance(Workspace) . |
static OwnerMap |
OwnerMap.getInstance(Project project)
Deprecated.
|
static DependencyConfiguration |
DependencyConfiguration.getInstance(Project project) |
PatternFilters |
WorkingSet.getOrCreatePatternFilters(Project project)
Gets the working set pattern filters for the supplied project; if none
exists, they are created.
|
PatternFilters |
WorkingSet.getPatternFilters(Project project)
Gets the working set pattern filters that apply to the supplied project.
|
abstract PropertyStorage |
SharedPropertiesManager.getPropertyStorage(Project project,
java.lang.String propertyDataKey)
Returns a PropertyStorage object that wraps either the workspace
shared properties or the project properties, depending on where
the properties identified by
propertyDataKey are stored. |
abstract PropertyStorage |
SharedPropertiesManager.getPropertyStorage(Project project,
Workspace parentWorkspace,
java.lang.String propertyDataKey)
Returns a PropertyStorage object that wraps either the workspace
shared properties or the project properties, depending on where
the properties identified by
propertyDataKey are stored. |
PatternFilters |
WorkingSet.includeChildren(Project project,
java.util.List<java.net.URL> children,
boolean addChildrenExclusively)
Makes each of the supplied URLs visible in the working set.
|
boolean |
WorkingSet.includeProject(Project project)
Adds the project to the list of projects that are visible in the
working set.
|
static void |
ProjectContent.initializeContentSets(Project project) |
boolean |
WorkingSet.isExcluded(Project project)
Indicates whether or not the project is hidden from this working set.
|
boolean |
WorkingSet.isIncluded(Project project)
Indicates whether or not the project is visible in this working set.
|
abstract boolean |
SharedPropertiesManager.isUsingSharedProperties(Project project,
java.lang.String propertyDataKey)
Indicates whether the supplied project is getting the properties
identified by
propertyDataKey from the Workspace or from
the Project. |
void |
ProjectChangeListener.projectClosed(Project project) |
void |
ProjectChangeListener.projectCopied(Project original,
Project copy) |
void |
ProjectChangeListener.projectOpened(Project project) |
java.util.Collection<java.lang.String> |
TechnologyScopeManager.Scanner.scanForNewTechnologies(java.util.Collection<java.net.URL> roots,
Project project) |
void |
Workspace.setActiveProject(Project activeProject)
Set the active project.
|
abstract void |
SharedPropertiesManager.setUsesSharedProperties(Project project,
java.lang.String propertyDataKey,
boolean usesShared)
Controls whether or not the supplied project gets the properties
identified by
propertyDataKey from the Workspace or from
the Project. |
Modifier and Type | Method and Description |
---|---|
static WorkingSet |
WorkingSets.getOrCreateWorkingSet(Workspace workspace,
java.lang.String name,
java.util.List<Project> includeProjects,
java.util.Map<java.net.URL,java.util.List<java.net.URL>> projectUrlToFileUrls)
Gets or creates a working set with the name given.
|
void |
WorkingSet.includeOnly(java.util.List<Project> projects) |
java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> |
TechnologyScopeManager.NullDetector.technologyScopesOfProjectBatch(Workspace workspace,
java.util.Collection<Project> project) |
java.util.Map<Project,java.util.concurrent.ConcurrentLinkedQueue<java.net.URL>> |
TechnologyScopeDetector.technologyScopesOfProjectBatch(Workspace workspace,
java.util.Collection<Project> project) |
Modifier and Type | Method and Description |
---|---|
protected static Project |
ProjectSettingsTraversablePanel.getProject(Namespace data)
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
ProgressBarTechnologyScanner.scanForNewTechnologies(java.util.Collection<java.net.URL> roots,
Project project) |
static void |
ProjectPropertiesDialog.showDialog(Context context,
java.awt.Frame parent,
Project project,
java.lang.String[] selectionPath)
Opens the Project Properties dialog for editing the specified
Project , using the specified Frame as the parent
and setting the dialog's initially selected panel to the one
specified by the selectionPath . |
static void |
ProjectPropertiesDialog.showDialog(Context context,
Project project)
Opens the Project Properties dialog for editing the specified
Project , using the IDE's main window as the parent frame. |
static void |
ProjectPropertiesDialog.showDialog(java.awt.Frame parent,
Project project,
java.lang.String[] selectionPath)
Deprecated.
since 11.0. Use
ProjectPropertiesDialog.showDialog(Context,Frame,Project,String[]) . |
static void |
ProjectPropertiesDialog.showDialog(Project project)
Deprecated.
since 11.0. Use
ProjectPropertiesDialog.showDialog(Context,Project) . |
Modifier and Type | Method and Description |
---|---|
static Storage |
Storages.getProjectStorage(Project project)
Deprecated.
|
static Storage |
Storages.getProjectStorage(Workspace workspace,
Project project)
Get a storage instance for a project.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
AbstractBundleSelectionValidator.jarExistsInProject(java.net.URL url,
Project proj) |
void |
ResourceBundlePropertyEditor.setProject(Project project)
Sets the project for the property editor.
|
void |
ResourceBundleOptionsPanel.setProject(Project project) |
static boolean |
ResourceBundlePropertyEditor.useResourceBundlePropertyEditor(Project project)
Determines if the
ResourceBundlePropertyEditor should be
used based on whether the project has auto-synchronization for resource
bundles turned on. |
Modifier and Type | Method and Description |
---|---|
Project |
RunProcess.getProject()
Returns the
Project associated with the RunProcess. |
Project |
RunLogPage.getProject()
Returns the
Project associated with this log page. |
static Project |
RunProcess.getProject(Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
StarterFactoryDescription.areRulesSatisfied(Project project,
Node node)
Determine if the rules, if any, of the StarterFactory registration
are satisfied by the incoming project to be run/debugged.
|
boolean |
DebuggerExtender.canCreateCustomBreakpoint(java.lang.String customBreakpointType,
Workspace workspace,
Project project)
Called by the debugger to ask the DebuggerExtender if new breakpoints
of a certain type can be created for the incoming workspace and project
|
java.lang.String |
RunProcess.canGetStarterForTarget(Project project,
Node node,
java.lang.Class starterFactorySubClass,
java.util.List errors)
Tests whether the given node is runnable in the context of the project
and the required StarterFactory.
|
abstract AbstractStarterFactory[] |
Runner.getRegisteredStarterFactories(Project project,
Node targetNode,
java.lang.Class starterFactoryClass)
Returns an array of StarterFactories that have been registered for the
class of the Node (exactly), and that are instanceof the specified StarterFactory class.
|
abstract Navigable[] |
Runner.getRunConfigurationLaunchNavigables(Project project) |
abstract Navigable[] |
Runner.getRunConfigurationMacroNavigables(Project project) |
abstract Navigable[] |
Runner.getRunConfigurationToolNavigables(Project project) |
protected RunnableItem[] |
RunProcess.getRunnableItemsForTarget(Project project,
Node node,
java.lang.Class starterFactorySubClass)
Given a Project, Node and StarterFactory class, find all the RunnableItems
that can be used to run the Node
|
abstract AbstractStarterFactory[] |
Runner.getStarterFactoriesForTarget(Project project,
Node targetNode,
java.lang.Class starterFactoryClass)
Returns an array of StarterFactories that have been registered for the
class of the Node or one of its super classes, and that are instanceof
the specified StarterFactory class.
|
protected Starter |
RunProcess.getStarterForTarget(Project project,
Node node,
java.lang.Class starterFactorySubClass)
Tests whether the given node is runnable and returns the
starter that can start the process.
|
boolean |
StarterFactoryDescription.isAcceptableNode(Project project,
Node node)
Determine if the Node of the target that needs to be started is
acceptable.
|
boolean |
StarterFactoryDescription.isAcceptableProject(Project project)
Determine if the project of the target that needs to be started is
acceptable.
|
abstract boolean |
Runner.isRunning(Project project)
This methods checks if any application in the specified
project are running. |
abstract java.net.URL |
Debugger.parseStackTraceLine(Workspace workspace,
Project project,
java.lang.String stackTraceLine) |
abstract void |
Debugger.redefineClasses(Project project,
java.util.Map nameToGuts)
Tells the debugger to redefine some classes that have been
recompiled.
|
abstract boolean |
Debugger.showSourceFileForStackTraceLine(Workspace workspace,
Project project,
java.lang.String stackTraceLine) |
abstract boolean |
Debugger.showSourceFileForStackTraceLine(Workspace workspace,
Project project,
java.net.URL urlWithLine) |
abstract boolean |
Runner.terminate(Project project,
boolean force)
This methods requests the runner to terminate all processe running
under the specified
project . |
Modifier and Type | Method and Description |
---|---|
IssueList |
StatusManager.addAssistListener(java.net.URL file,
Project project,
Workspace workspace,
AssistListener listener,
View view)
Adds an assist listener to a file.
|
IssueList |
StatusManager.addIssueListener(java.net.URL file,
Project project,
Workspace workspace,
IssueListener listener,
View view)
Adds an issue listener to a file.
|
boolean |
StatusManager.addStalenessListener(java.net.URL file,
Project project,
Workspace workspace,
StalenessListener listener)
Adds a staleness listener to a file.
|
Status |
StatusManager.addStatusListener(java.net.URL file,
Project project,
Workspace workspace,
StatusListener listener)
Adds a status listener to a file.
|
void |
StatusManager.removeAssistListener(java.net.URL file,
Project project,
Workspace workspace,
AssistListener listener)
Removes an assist listener from a file.
|
void |
StatusManager.removeIssueListener(java.net.URL file,
Project project,
Workspace workspace,
IssueListener listener)
Removes an issue listener from a file.
|
void |
StatusManager.removeStalenessListener(java.net.URL file,
Project project,
Workspace workspace,
StalenessListener listener)
Removes a staleness listener from a file.
|
void |
StatusManager.removeStatusListener(java.net.URL file,
Project project,
Workspace workspace,
StatusListener listener)
Removes a status listener from a file.
|
void |
IssueListener.statusChanged(java.net.URL file,
Project project,
Workspace workspace,
IssueList issues)
Reports that the status of a file changed.
|
void |
AssistListener.statusChanged(java.net.URL file,
Project project,
Workspace workspace,
IssueList assists)
Reports that the status of a file changed.
|
void |
StatusListener.statusChanged(java.net.URL file,
Project project,
Workspace workspace,
Status status)
Reports that the status of a file changed.
|
void |
StalenessListener.statusStale(java.net.URL file,
Project project,
Workspace workspace)
Reports that the status of a file has been marked stale.
|
Constructor and Description |
---|
ProjectLock(Workspace w,
Project p)
No references to Workspace or Project will be stored, only the URLs will be
retained.
|
ResourceLock(Workspace workspace,
Project project,
Node n)
Note that the Workspace and Project in which the resource
resides are required, although only the resource itself will
be locked.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JavaCategoryDataProvider.accept(Project project,
java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
Project |
AuditContext.getProject()
Gets the project currently being traversed, or null if the root or a
workspace is currently being traversed.
|
Modifier and Type | Method and Description |
---|---|
<T extends ModelAdapter> |
AuditTaskContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the adapter for the model corresponding to a workspace, project, and
url.
|
<T extends ModelAdapter> |
AuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter for the model corresponding to a workspace, project,
and url.
|
<T extends ModelAdapter> |
AuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Deprecated.
|
<T extends ModelAdapter> |
AuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
|
Modifier and Type | Method and Description |
---|---|
Project |
TechnologyScopeDependency.getProject() |
Project |
ModelAdapter.getProject()
Gets the project containing this model.
|
Project |
Location.getProject()
Gets the project containing this location.
|
Project |
FileDependency.getProject()
Gets the project target of this dependency.
|
Modifier and Type | Method and Description |
---|---|
static void |
DependencyFileChangeListener.addDependency(Dependency dependency,
java.util.Collection<java.lang.String> names,
Project project,
Workspace workspace) |
static void |
DependencyFileChangeListener.addDependency(Dependency dependency,
java.lang.String name,
Project project,
Workspace workspace) |
static void |
DependencyFileChangeListener.addDependency(Dependency dependency,
java.net.URL file,
Project project,
Workspace workspace) |
static void |
DependencyFileChangeListener.filesChanged(java.util.Collection<java.net.URL> files,
Project project,
Workspace workspace) |
ContentCache |
ModelFactory.getContentSetCache(Project project,
Workspace workspace)
Gets the
ContentCache for a workspace, or a project in a workspace. |
<T extends ModelAdapter> |
ModelFactory.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace)
Gets the model adapter of a type corresponding to a URL, or null if none.
|
java.util.Collection<ModelAdapter> |
ModelFactory.getModelAdapters(Element element,
java.net.URL url,
Project project,
Workspace workspace)
Gets the models corresponding to an
Element or URL . |
void |
ContentRootFactory.getProjectRoots(Workspace workspace,
Project project,
IntersectedFilters projectContentFilters,
IntersectedFilters auxiliaryContentFilters,
java.util.Collection<ContentRoot> roots)
Gets content roots for a project.
|
boolean |
ModelType.isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
Gets whether a root element is auditable in the context of a directory,
project, and workspace.
|
static void |
DependencyFileChangeListener.removeDependency(Dependency dependency,
java.util.Collection<java.lang.String> names,
Project project,
Workspace workspace) |
static void |
DependencyFileChangeListener.removeDependency(Dependency dependency,
java.lang.String name,
Project project,
Workspace workspace) |
static void |
DependencyFileChangeListener.removeDependency(Dependency dependency,
java.net.URL file,
Project project,
Workspace workspace) |
Constructor and Description |
---|
ContainerModelAdapter(ModelFactory factory,
ModelType type,
ContainerModelAdapter workspace,
Project project) |
DependencyFileChangeListener(Project project,
Workspace workspace) |
FileDependency(java.net.URL file,
Project project,
Workspace workspace)
Creates a file dependency on a file.
|
ModelAdapter(ModelFactory factory,
ModelType type,
ContainerModelAdapter workspace,
Project project)
Creates a model adapter that adapts a
Project node. |
StructureDependency(Project project,
HashStructureAdapter scope,
java.lang.String... properties)
Creates a dependency on properties of a
HashStructureAdapter of a
Project . |
StructureDependency(Project project,
java.lang.String... properties)
Creates a dependency on properties of a
Project . |
TechnologyScopeDependency(Project project)
Creates a dependency from a source to technologies added to the technology
scope of a project that would trigger loading of an unloaded Audit hook.
|
TechnologyScopeDependency(Project project,
java.lang.String... technologies)
Creates a dependency from a source to specified technologies added to or
removed from the technology scope of a project.
|
TechnologyScopeListener(Project project) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Auditor.addConstruct(java.lang.Object construct,
java.net.URL file,
Project project,
Workspace workspace)
Adds the location corresponding to a construct to the set of locations to
be audited.
|
abstract boolean |
Auditor.addElement(Element element,
Node node,
Project project,
Workspace workspace)
Adds the location corresponding to an
Element to the set of
locations to be audited. |
abstract boolean |
Auditor.addElements(Element[] elements,
Node node,
Project project,
Workspace workspace)
|
abstract boolean |
Auditor.addNode(Node node,
Project project,
Workspace workspace)
Adds the location corresponding to a
Node to the set of
locations to be audited. |
abstract boolean |
Auditor.addUrl(java.net.URL url,
Project project,
Workspace workspace)
Adds the location corresponding to a URL to the set of locations to
be audited.
|
abstract boolean |
Auditor.isAuditable(Element element,
Node node,
Project project,
Workspace workspace)
Gets whether an
Element is auditable. |
Modifier and Type | Method and Description |
---|---|
Project |
TransformContext.getProject()
Gets the project containing the model to be transformed.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
TransformAdapter.makeWritable(Node node,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
Project |
JavaBrowseContext.getProject()
We may need the project so that we can fetch the various compiler
options.
|
Modifier and Type | Method and Description |
---|---|
Project |
SourceModel.getProject() |
Project |
AbstractBuilderModel.getProject() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
AbstractBuilderModel.getDefaultRelativeDirectory(Project project) |
void |
SourceModel.setProject(Project newProj) |
void |
InterfaceSelectionPanel.setProject(Project project)
Sets the active project.
|
void |
AbstractBuilderModel.setProject(Project project) |
Constructor and Description |
---|
InterfaceSelectionPanel(Project project)
Constructs a new interface-selection panel.
|
Modifier and Type | Method and Description |
---|---|
protected Project |
AbstractGenerator.getProject() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
ClassBuilderModel.getDefaultRelativeDirectory(Project project) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
EmptyFolderBuilderModel.getDefaultRelativeDirectory(Project project) |
Modifier and Type | Method and Description |
---|---|
static Project |
NewEmptyProjectCommand.createProject(java.net.URL projectURL)
Clones the default project (if possible) to a new project with the
supplied URL.
|
static Project |
NewEmptyProjectCommand.createProjectInWorkspace(java.net.URL projectURL,
Workspace workspace)
|
static Project |
NewEmptyProjectCommand.createProjectInWorkspace(java.net.URL projectURL,
Workspace workspace,
java.lang.String defaultPackage)
|
Modifier and Type | Method and Description |
---|---|
void |
NewEmptyProjectCommand.ProjectInitializer.initializeProject(Project proj,
Workspace workspace) |
static void |
NewEmptyProjectCommand.initializeProjectSettings(Project project,
Workspace workspace,
java.lang.String defaultPackage)
Configures the supplied project with default compiler, build, and
content options; sets the project package based on the supplied
package name and the default application package from teh supplied
workspace.
|
static void |
NewEmptyProjectCommand.setProjectPackage(java.lang.String pkgName,
Project newProject,
Workspace wksp) |
Modifier and Type | Method and Description |
---|---|
Project |
CmtPackages.getProject() |
Project |
CmtMessage.getProject() |
Modifier and Type | Method and Description |
---|---|
Element |
CmtElementRecognizer.create(java.net.URL url,
Project project)
Creates an instance of the design-time node associated with the
specified
url . |
static CmtComponents |
CmtComponentManager.getCmtComponents(Project prj) |
void |
CmtPropertyEditor2.setProject(Project project) |
Modifier and Type | Method and Description |
---|---|
static OjcConfiguration |
OjcConfiguration.getOjcConfiguration(Project project,
java.lang.String configName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
NodeActionController.queueContainer(Element element,
Project project,
Workspace workspace,
IdeAction action,
java.util.Map<URLKey,oracle.jdeveloper.controller.NodeActionController.NodeHandler> queue) |
Modifier and Type | Field and Description |
---|---|
protected Project |
PackagePopup._project |
Modifier and Type | Method and Description |
---|---|
Project |
ClassPopup.getProject() |
Project |
ClassPicker.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
PackagePopup.setProject(Project project) |
void |
PackagePicker.setProject(Project proj) |
void |
ClassPopup.setProject(Project proj) |
void |
ClassPicker.setProject(Project proj) |
Constructor and Description |
---|
ClassPicker(Project proj) |
ClassPopup(Project proj) |
PackagePicker(Project proj) |
PackagePopup(Project project) |
Modifier and Type | Method and Description |
---|---|
Project |
PlSqlDeclaration.getProject() |
Project |
DBObjectDeclarationFactory.getProject(DBObjectProvider pro,
Context context)
Gets the Project that the given provider is in, or null if the
provider doesn't belong to a Project.
|
Project |
DBObjectDeclarationFactory.DeclarationHelper.getProject(T pro,
Context context)
Gets the Project that the given provider is in, or null if the
provider doesn't belong to a Project.
|
Modifier and Type | Method and Description |
---|---|
abstract <T> Processor<T> |
ProjectLibraryDependencyProcessors.getProcessor(Dependable dependable,
Project project,
java.lang.Class<T> representation,
Context context)
Create a
Processor for a single dependency from a Project. |
abstract <T> StatefulProcessor<T> |
ProjectLibraryDependencyProcessors.getStatefulProcessor(Dependable dependable,
Project project,
java.lang.Class<T> representation,
Context context)
Create a
StatefulProcessor for a single dependency from a Project. |
Modifier and Type | Method and Description |
---|---|
oracle.bali.xml.addin.XMLSourceNode |
XmlDescriptorFactory.findOrCreateXmlSourceNode(XmlDescriptorInfo descriptor,
Project project) |
abstract oracle.bali.xml.addin.XMLSourceNode |
DescriptorFactory.findOrCreateXmlSourceNode(XmlDescriptorInfo descriptor,
Project project) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
Deployment.getProjectProfiles(Project project)
Deprecated.
Use DeploymentProfiles.getProfiles() instead.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Project> |
EarProfileRecognizer.SpiData.getProjectIterator() |
protected java.util.Iterator<Project> |
EarProfileRecognizer.getProjects(Cookie cookie)
Get projects in the Workspace.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<ProfileBuilder> |
EarProfileRecognizer.getContainedProfileBuilders(java.util.Iterator<Project> projectsIter,
Cookie cookie) |
Modifier and Type | Method and Description |
---|---|
void |
WarProfile.migrateLegacyLibrariesToFileGroup(Project project)
This method migrates all LibraryFileGroup instances contained
within the profile whose internal name is "legacy-libraries" to
a LibraryFileGroup.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode)
Browses for a single class or package.
|
static java.lang.String[] |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
boolean isMultiSelect)
Browses for one or more classes or packages.
|
static java.lang.String[] |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
boolean isMultiSelect,
ClassPackageBrowserFilterV2 filter)
Browses for one or more classes or packages.
|
static java.lang.String[] |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
boolean isMultiSelect,
ClassPackageBrowserFilterV2 filter,
java.lang.String initialSelection)
Browses for one or more classes or packages.
|
static java.lang.String |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
ClassPackageBrowserFilterV2 filter)
Browses for a single class or package.
|
static java.lang.String[] |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
int needs,
boolean isMultiSelect,
ClassPackageBrowserFilterV2 filter)
Deprecated.
The
needs parameter is obsolete. |
static java.lang.String[] |
ClassPackageBrowserV2.browseClassOrPackage(java.awt.Component parent,
Project proj,
int mode,
int needs,
boolean isMultiSelect,
ClassPackageBrowserFilterV2 filter,
java.lang.String[] initialSelection)
Deprecated.
The
needs and initialSelection
parameters are obsolete. |
static boolean |
ClassPackageListBrowser.browseClassPackageList(java.awt.Component parent,
java.lang.String title,
Project project,
boolean packages,
boolean classes,
java.util.List list,
java.lang.String helpID) |
static boolean |
ClassPackageListBrowser.browseClassPackageList(java.lang.String title,
Project project,
boolean packages,
boolean classes,
java.util.List list) |
static boolean |
ClassPackageListBrowser.browseClassPackageList(java.lang.String title,
Project project,
boolean packages,
boolean classes,
java.util.List list,
java.lang.String helpID) |
Constructor and Description |
---|
ClassPackageListBrowser(Project project,
int mode,
java.util.List list)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
static Node |
EngineUtils.createNode(Project project,
java.lang.String packageName,
java.lang.String fileName)
Create a Node in the given project using the given package and file names.
|
static boolean |
EngineUtils.fileExists(Project project,
java.lang.String packageName,
java.lang.String className)
Determine whether or not a file for the given class name in the given
package already exists.
|
static JavaNode |
EngineUtils.getJavaNode(Project project,
java.lang.String className) |
static java.net.URL |
EngineUtils.getProjectSourceDir(Project project) |
static java.net.URL[] |
EngineUtils.getProjectSourceDirs(Project project) |
static SourceClass |
EngineUtils.getSourceClass(JavaSourceNode javaSrcNode,
Project project) |
static Workspace |
EngineUtils.guessWorkspace(Project project)
We should never try and 'guess' the workspace.
|
static java.lang.String |
EngineUtils.makeFilePath(Project project,
java.lang.String packageName,
java.lang.String fileName)
Deprecated.
use makeFileURL instead
-------------------------------------------------------------------------
|
static java.net.URL |
EngineUtils.makeFileURL(Project project,
java.lang.String pkgName,
java.lang.String fileName)
Create an URL for a given file name in a given package of a
given Project.
|
static void |
EngineUtils.updateProjectAndNotify(Project project,
java.lang.Object origin,
java.lang.String[] libs,
java.net.URL sourceDir)
Helper method that adds one or more libraries, and/or adds a
source directory to a project, and notifies propery observers
of the library of the side-effects.
|
static void |
EngineUtils.updateProjectAndNotify(Project project,
java.lang.Object origin,
java.lang.String[] libs,
java.net.URL sourceDir,
java.net.URL classDir) |
static void |
EngineUtils.updateProjectAndNotify(Project project,
java.lang.Object origin,
java.lang.String[] libs,
java.net.URL sourceDir,
java.net.URL classDir,
boolean notifyAlways) |
Constructor and Description |
---|
ClassEngine(Project project,
java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
Project |
ProjectOutputScope.getProject()
Get the project for this scope.
|
Modifier and Type | Method and Description |
---|---|
Path |
JavaProjectCache.getAdditionalClassPath(Project project)
Get the additional class path for a project.
|
java.util.List<LibraryPaths> |
JavaProjectCache.getExportLibraryPaths(Project project)
Get the library paths for export libraries of a project.
|
static ProjectOutputScope |
ProjectOutputScope.getInstance(Workspace workspace,
Project project) |
Path |
JavaProjectCache.getJavaContentPath(Project project)
Get the path for Java source content.
|
protected oracle.jdeveloper.file.JavaProjectCache.CachedJdk |
JavaProjectCache.getJdk(Project project,
java.lang.String key) |
LibraryPaths |
JavaProjectCache.getJdkPaths(Project project)
Get the JDK paths for a project.
|
protected java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> |
JavaProjectCache.getLibraries(Project project,
java.lang.String key) |
java.util.List<LibraryPaths> |
JavaProjectCache.getLibraryPaths(Project project)
Get the library paths for all libraries used by a project.
|
protected void |
JavaProjectCache.putJdk(Project project,
java.lang.String key,
oracle.jdeveloper.file.JavaProjectCache.CachedJdk jdk) |
protected void |
JavaProjectCache.putLibraries(Project project,
java.lang.String key,
java.util.Collection<oracle.jdeveloper.file.JavaProjectCache.CachedLibrary> libraries) |
Modifier and Type | Field and Description |
---|---|
protected Project |
JavaManager._project
The project associated with this JavaManager (if it is project
based and not URL based.)
|
Modifier and Type | Method and Description |
---|---|
static Project |
JavaManager.getDefiningProject(Context context,
java.net.URL url)
Finds the project that defines the specified URL.
The method searches the currentProject , the jdk libraries, the project's libraries, it will repeat
the same search for the upstream dependencies and if it still not found, it will search all the other projects
in the workspace. |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Project> |
JavaManager.getDependencies(Project project) |
Modifier and Type | Method and Description |
---|---|
static JavaManager |
JavaManager.getAnyInstance(Project project)
Fetch a JavaManager instance in a fail-safe manner.
|
static JavaManager |
JavaManager.getAnyInstance(Workspace workspace,
Project project)
Fetch a
JavaManager instance in a fail-safe manner in cases where
the workspace or project may be unknown. |
static JavaManager |
JavaManager.getAnyJavaManager(Project project)
Fetch a JavaManager instance in a fail-safe manner.
|
static java.util.List<Project> |
JavaManager.getDependencies(Project project) |
static JavaManager |
JavaManager.getInstance(Project project)
Fetch a JavaManager instance for the given project.
|
static JavaManager |
JavaManager.getInstance(Workspace workspace,
Project project)
Fetch a
JavaManager instance for the given workspace and project. |
static JavaManager |
JavaManager.getJavaManager(Project project)
Fetch a JavaManager instance for the given project.
|
static boolean |
JavaManager.isDefinedIn(Project project,
java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
static CustomJavaManager |
CustomJavaManager.newInstance(Project project,
URLPath systemURLPath)
Gets a new CustomJavaManager for the given project and backup URL
path.
|
Constructor and Description |
---|
FieldDeclaration(java.lang.String id,
Workspace workspace,
Project project,
SourceElement element,
java.lang.String fqClassName,
java.lang.String fieldName) |
MethodDeclaration(java.lang.String id,
Workspace workspace,
Project project,
SourceElement element,
java.lang.String fqClassName,
java.lang.String methodName,
java.util.Collection<java.lang.String> parameters) |
ResourceKeyDeclaration(java.lang.String id,
Workspace workspace,
Project project,
SourceElement element,
java.lang.String fqClassName,
java.lang.String resourceKeyName) |
Modifier and Type | Method and Description |
---|---|
protected static URLPath |
ProjectClassLocator.getAddedClassPathFor(Project project)
Utility routine to fetch the added classpath for the given project.
|
static java.util.Collection |
ProjectClassLocator.getDependentsFor(Project project)
Utility routine to fetch the dependents for the given project.
|
protected static ProjectClassLocator |
ProjectClassLocator.getInstance(Project project)
Deprecated.
|
protected static ProjectClassLocator |
ProjectClassLocator.getInstance(Workspace workspace,
Project project)
Get the class locator instance for a project.
|
protected static ProjectClassLocator |
ProjectClassLocator.getInstanceInterruptibly(Project project)
Deprecated.
|
protected static ProjectClassLocator |
ProjectClassLocator.getInstanceInterruptibly(Workspace workspace,
Project project)
Get the class locator instance for a project.
|
protected static Library |
ProjectClassLocator.getJDKFor(Project project)
Utility routine to fetch the JDK for the given project.
|
protected static URLPath |
ProjectClassLocator.getModuleConfigClassPathFor(Project project)
Utility routine to fetch the module config classpath for the given project.
|
protected static java.net.URL |
ProjectClassLocator.getOutputURLFor(Project project)
Utility routine to fetch the output URL for the given project.
|
static BaseClassLocator |
JdevClassLocatorFactory.getProjectLocator(Project project)
Deprecated.
Use {@link #getProjectLocator(Workspace,Project) instead.
|
static BaseClassLocator |
JdevClassLocatorFactory.getProjectLocator(Workspace workspace,
Project project)
Fetch a
BaseClassLocator instance for the given project for
locating source and class files. |
static BaseClassLocator |
JdevClassLocatorFactory.getProjectLocatorInterruptibly(Project project)
Deprecated.
Use {@link #getProjectLocatorInterruptibly(Workspace,Project) instead.
|
static BaseClassLocator |
JdevClassLocatorFactory.getProjectLocatorInterruptibly(Workspace workspace,
Project project)
Fetch a
BaseClassLocator instance for the given project for
locating source and class files. |
static Path |
ProjectClassLocator.getSourcePath(Project project)
Get the source path for a project.
|
static URLPath |
ProjectClassLocator.getSourcePathFor(Project project)
Deprecated.
Using a URLPath to represent a source path does not properly
handle filters. Use
ProjectClassLocator.getSourcePath(Project) instead. |
Modifier and Type | Method and Description |
---|---|
static ProjectFileProvider |
ProjectFileProvider.getInstance(Project project)
Deprecated.
|
static ProjectFileProvider |
ProjectFileProvider.getInstance(Project project,
java.lang.Object key)
Deprecated.
|
static ProjectFileProvider |
ProjectFileProvider.getInstance(Workspace workspace,
Project project)
Static factory method for fetching an instance of
ProjectFileProvider for the given project. |
static ProjectFileProvider |
ProjectFileProvider.getInstance(Workspace workspace,
Project project,
java.lang.Object key)
Static factory method for fetching an instance of
ProjectFileProvider for the given project. |
Constructor and Description |
---|
ProjectFileProvider(ProviderContext e,
Project project)
Constructs a new
ProjectFileProvider instance using
the given project to locate Java source and class files. |
ProjectFileProvider(ProviderContext e,
Project project,
java.util.Map cache) |
Modifier and Type | Method and Description |
---|---|
void |
JspLibraryUtils.addTagLibrary(JspLibrary library,
Project project) |
static java.net.URL[] |
JspLibraryUtils.getDeployedJarFiles(Project project)
Returns list of file URLs of all JAR files that are deployed to project's
WEB-INF/lib folder as part of JSP Tag Library installations.
|
static java.util.Collection<java.net.URL> |
JspLibraryUtils.getLibraryUrls(JspLibrary lib,
Project project)
Gets the URLs of all library JARs the tag library depends on, including
the JAR containing the TLD file.
|
static java.util.List<JspLibrary> |
JspLibraryUtils.getPackagedLibraries(Project project)
Gets all JspLibraries whose corresponding TLD file is packaged in a JAR file.
|
static java.util.List<java.lang.String> |
JspLibraryUtils.getPackagedLibrariesJarPaths(Project project)
Gets URL paths of all JAR files in the project that contain JspLibrary TLDs.
|
static java.util.List<java.net.URL> |
JspLibraryUtils.getPackagedLibrariesJarURLs(Project project)
Gets URLs of all JAR files in the project that contain JspLibrary TLDs.
|
static java.util.List<java.net.URL> |
JspLibraryUtils.getPackagedLibrariesURLs(Project project)
Gets URLs of all TLD files inside JARs of the project's JspLibraries.
|
static java.util.List<JspLibrary> |
JspLibraryUtils.getTagLibraries(Project project)
Gets all JspLibraries available in the project.
|
static java.util.List<JspLibrary> |
JspLibraryUtils.getTagLibraries(java.lang.String uri,
Project project) |
static JspLibrary |
JspLibraryUtils.getTagLibrary(java.lang.String uri,
Project project) |
static JspLibrary |
JspLibraryUtils.getTagLibrary(java.net.URL tldURL,
Project project) |
static java.util.List<JspLibrary> |
JspLibraryUtils.getTldLibraries(Project project)
Gets all JspLibraries available in the project defined by TLD files.
|
static URLPath |
JspLibraryUtils.removeDeployedJars(URLPath urlPath,
Project project)
Removes JAR file entries from the given URL path that have already been
deployed to project's WEB-INF/lib folder.
|
static void |
JspLibraryUtils.removeTagLibrary(JspLibrary library,
Project project)
Removing the tag library reference will not remove underlining resource.
|
Modifier and Type | Method and Description |
---|---|
static void |
JSPTagUtils.addTagLibMap(Project prj,
oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri,
java.lang.String taglibLocation)
Inserts new explicit tag-lib entry in the web.xml file.
|
static void |
JSPTagUtils.addTld(JspLibrary jspLib,
Project prj)
Deprecated.
use updateProjectWithTagLibrary() method to add tag library to
the project. It will do all needed actions.
|
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project,
boolean ignoreExistingURIs) |
static JspLibrary[] |
JSPTagUtils.configureProjectWithTagLibrary(JspLibrary jspLib,
Project project,
boolean ignoreExistingURI)
Adds given library to the project, and setting up all required dependencies which may include:
java libraries, other tag libraries, and craation and configuration of deployment files.
|
static void |
War.createForProject(Project prj) |
static boolean |
War.exists(Project prj)
Check to see if a WEB-INF directory exists in project
|
static JspLibrary |
JSPTagUtils.getJspLibrary(java.lang.String libraryName,
Project project)
If a tag library with given name is used in the project, returns that
library.
|
static JspLibrary |
JSPTagUtils.getJspLibraryByURI(java.lang.String uri,
Project project)
If a tag library with given URI is used in the project, returns that
library.
|
static java.net.URL |
JSPTagUtils.getWebInfLibURL(Project project)
Returns the current WEB-INF/lib directory of the project.
|
static java.net.URL |
JSPTagUtils.getWebInfURL(Project project)
Returns the current WEB-INF directory of the project.
|
static void |
JSPTagUtils.removeTagLibMap(Project prj,
oracle.jdeveloper.xml.j2ee.war.WebAppNode webAppNode,
java.lang.String taglibUri)
Removes explicit tag-lib entry from the web.xml file.
|
static void |
JSPTagUtils.updateProjectWithTagLibraries(JspLibrary[] jspLibs,
Project project) |
static void |
JSPTagUtils.updateProjectWithTagLibrary(JspLibrary jspLib,
Project project)
Updates project with the current Jsplibrary.
|
Modifier and Type | Method and Description |
---|---|
Project |
ProjectLibrary.getProject() |
Project |
ProjectLibraryChangeEvent.getProject()
The project whose classpath has changed.
|
Project |
LibraryOverrideContext.getProject()
Get the project referencing the library, or
null if the library
is referenced at the application level. |
Modifier and Type | Method and Description |
---|---|
Library |
LibraryReference.getLibrary(Project project)
Finds the Library instance in the given Project context.
|
abstract boolean |
ProjectLibraryChangeListener.needClasspathNotification(Project project)
Allows a listener to have a say as to whether this project is of interest
for notification.
|
void |
ProjectLibraryChangeListener.projectClosed(Project project)
An echo of the underlying ProjectChangeListener.projectClosed().
|
void |
JLibraryManager.projectLibrariesChanged(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.Set<java.net.URL> addedJars,
java.util.Set<java.net.URL> deletedJars) |
void |
ProjectLibraryChangeListener.projectOpened(Project project)
An echo of the underlying ProjectChangeListener.projectOpened().
|
void |
DynamicLibraryProvider.updateClassPath(Project project,
URLPath classPath)
Is called when we are building the classpath for a project.
|
Constructor and Description |
---|
LibraryOverrideContext(Workspace workspace,
Project project,
JLibrary library) |
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.List<java.net.URL> addedJars,
java.util.List<java.net.URL> removedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath) |
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.List<java.net.URL> addedJars,
java.util.List<java.net.URL> removedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath,
java.util.Map<java.lang.String,java.lang.Integer> addedLibs,
java.util.Map<java.lang.String,java.lang.Integer> deletedLibs) |
ProjectLibraryChangeEvent(Project project,
java.util.Set<java.net.URL> modifiedJars,
java.util.Set<java.net.URL> jarsAddedToClasspath,
java.util.Set<java.net.URL> jarsRemovedFromClasspath)
Creates a new event object.
|
Modifier and Type | Method and Description |
---|---|
static Project[] |
PathsConfiguration.getDependentProjects(Context context)
This gets the list of dependent projects for the project in the
context.
|
static Project[] |
PathsConfiguration.getDependentProjects(Project deepestProject)
This gets the list of dependent projects for the project in the
context.
|
Project |
JProjectTechnologyEvent.getProject()
Returns the
JProject in which the technology change occurred. |
Project |
JavaProjectEvent.getProject() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Project> |
JDevDependencyCache.getProjectsUsing(Context context,
java.lang.String... fqClassNames)
Uses dependency information to determine which projects in the Application
could refer to one or more of the Java classes with the given fully
qualified names.
|
Modifier and Type | Method and Description |
---|---|
static void |
JProjectUtil.addLibraries(Project proj,
java.lang.Object[] libraries)
Adds the specified libraries to a project, and fires PropertyChangeEvents
if the project's classpath, sourcepath, or docpath changed.
|
static void |
JProjectUtil.execturePathChange(Project project,
java.lang.Runnable runnable)
Deprecated.
Use project.applyBatchChanges
Executes a runnable and sends property path changed events.
Example Usage:
Runnable changePathRunnable = new Runnable() { project.addLibrary(...); project.setOutputDirectory(...); }; JProjectUtil.execturePathChange(changePathRunnable); |
static java.lang.String |
JavaProject.generateDefaultPackageName(Project project)
Returns a valid package name based on the project name.
|
static Project[] |
PathsConfiguration.getDependentProjects(Project deepestProject)
This gets the list of dependent projects for the project in the
context.
|
static JavaProject |
JavaProject.getInstance(Project project) |
static J2eeSettings |
J2eeSettings.getInstance(Project project)
Retrieves an instance of
J2eeSettings for the specified
project. |
static PathsConfiguration |
PathsConfiguration.getInstance(Project project)
Retrieves an instance of
PathsConfiguration for the specified
project. |
static JavaProject |
JavaProject.getInstance(Project project,
HashStructure hash) |
static J2eeSettings |
J2eeSettings.getInstance(Project project,
PropertyStorage propertyData) |
static PathsConfiguration |
PathsConfiguration.getInstance(Project project,
PropertyStorage propertyData) |
java.lang.String |
JspSourceNode.getPackage(Project project) |
java.lang.String |
PackagedSource.getPackage(Project project)
Returns the package for the source file.
|
java.lang.String |
JavaSourceNode.getPackage(Project project) |
static java.net.URL |
JProjectUtil.getProjectBasePath(Project project)
Retrieves the URL that denotes the base path that should be used when
creating new source files.
|
java.net.URL |
TechnologySpecificSupportProvider.getProjectOutputDirectory(Project project) |
void |
ContentSetPanel.loadFrom(Project project,
ContentSet contentSet)
Initializes the panel from the supplied
Project
and ContentSet . |
static void |
JProjectUtil.removeLibraries(Project proj,
java.lang.Object[] libraries)
Removes the specified libraries from a project, and fires
PropertyChangeEvents if the project's classpath, sourcepath,
or docpath changed.
|
static void |
JProjectUtil.setOutputDirectory(Project project,
java.net.URL outputDirectory)
Sets the location for a project's generated class files.
|
Constructor and Description |
---|
JProjectTechnologyEvent(Project project,
java.lang.String technologyKey)
Constructs a new
JProjectTechnologyEvent object. |
Modifier and Type | Method and Description |
---|---|
static void |
OfflineDBUtil.ensureTechScope(Project proj)
Ensures that the database technology scope is added to the given project.
|
static OfflineDBObjectProvider |
OfflineDBObjectProvider.findOrCreateProvider(Project p,
java.net.URL url)
Finds an existing, or creates a new, OfflineDBObjectProvider instance
for the given URL.
|
static OfflineDBObjectProvider |
OfflineDBObjectProvider.findProvider(Project project,
BaseObjectID objID)
Iterates through the project's providers, and see if any contain a matching
object id.
|
static OfflineDBObjectProvider |
OfflineDBObjectProvider.findProvider(Project p,
java.lang.String id)
Deprecated.
|
static OfflineDBObjectProvider |
OfflineDBObjectProvider.findProviderByID(Project p,
java.lang.String id)
Finds a provider by its ID in the given Project.
|
static OfflineDBObjectProvider |
OfflineDBObjectProvider.findProviderByName(Project p,
java.lang.String name)
Finds an Offline Database with the given name in the context of the given
Project.
|
static java.util.Iterator<OfflineDBObjectProvider> |
OfflineDBObjectProvider.getProviderIterator(Project p)
Returns an iterator over the providers in a project.
|
static java.util.Iterator<OfflineDBObjectProvider> |
OfflineDBObjectProvider.getProviderIterator(Project p,
boolean incProjDeps)
Returns an iterator over the providers in a project.
|
static java.lang.String |
OfflineDBObjectProvider.getUniqueProviderName(Project p,
java.lang.String name)
Returns a unique provier name for the given provider within the project
based on the given base name.
|
static java.util.List<OfflineDBObjectProvider> |
OfflineDBObjectProvider.listDBObjectProviders(Project p)
Lists the providers that already exist on the given project's offline
database source path.
|
static java.util.List<OfflineDBObjectProvider> |
OfflineDBObjectProvider.listDBObjectProviders(Project p,
boolean incProjDeps)
Lists the providers that already exist on the given project's offline
database source path.
|
static java.lang.Iterable<java.net.URL> |
OfflineDBObjectProvider.listDBObjectProviderURLs(Project p,
boolean incProjDeps)
Lists the URLs of any OfflineDBObjectProviders in the given project.
|
Modifier and Type | Method and Description |
---|---|
static OfflineDBProjectSettings |
OfflineDBProjectSettings.createDatabaseSettings(Project proj)
Create default settings on the given project.
|
static OfflineDBProjectSettings |
OfflineDBProjectSettings.createDatabaseSettings(Project proj,
boolean userSettings,
boolean defaultProject)
Creates offline database settings for the given project and sets them
in the common data appropriately.
|
static void |
OfflineDBProjectSettings.ensureContentSetDefaults(ContentSet contentSet,
Project proj) |
static OfflineDBProjectSettings |
OfflineDBProjectSettings.getDatabaseSettings(Project project)
Given a project, returns the offline database settings stored for that
project.
|
static OfflineDBProjectSettings |
OfflineDBProjectSettings.getDatabaseSettings(Project proj,
HashStructure props)
Given a PropertyStorage object, returns the offline database settings.
|
Modifier and Type | Method and Description |
---|---|
static OfflineDBObjectProvider |
ProviderWizard.chooseProvider(Project p,
boolean allowProviderCreate)
Prompts the user to choose an offline database in the given Project,
optionally they can be allowed to create a new one.
|
static OfflineDBObjectProvider |
ProviderWizard.chooseProvider(Project p,
boolean allowProviderCreate,
boolean onlyShowProjDeps)
Prompts the user to choose an offline database in the given Project,
optionally they can be allowed to create a new one.
|
static OfflineDBObjectProvider |
ProviderWizard.chooseProvider(Project p,
boolean allowProviderCreate,
DBObjectProvider pro)
Allow the user to choose an offline provider that is compatible with the
given provider settings from the given project (including its dependencies),
The supplied provider will be used as the base for the offline database.
|
static OfflineDBObjectProvider |
ProviderWizard.chooseProvider(Project p,
OfflineDBObjectProvider pro)
Allow the user to choose an offline provider that is compatible with the
given provider from the given project (including its dependencies).
|
static OfflineDBObjectProvider |
ProviderWizard.chooseProvider(Project p,
ProviderSettings settings,
java.net.URL url)
Allow the user to choose an offline provider that is compatible with the
given provider settings from the given project (including its dependencies).
|
static OfflineDBObjectProvider |
ProviderWizard.createProvider(Project p,
ProviderSettings settings)
Creates a new offline database.
|
static OfflineDBObjectProvider |
ProviderWizard.createProvider(Project p,
java.lang.String name,
DBObjectProvider db)
Creates a new offline database.
|
Modifier and Type | Method and Description |
---|---|
Project |
JRunProcess.getJProject()
Returns the current
Project associated with the
JRunProcess . |
Project |
JRunProcess.getJProject(Context context) |
Modifier and Type | Method and Description |
---|---|
static void |
RunConfigurations.addRunConfiguration(Project project,
RunConfiguration runConfiguration)
Deprecated.
Use the version that takes project and workspace parameters
|
static void |
RunConfigurations.addRunConfiguration(Project project,
Workspace workspace,
RunConfiguration runConfiguration)
Add a RunConfiguration to the collection of defined configurations for the project
|
static java.net.URL |
Source.askSourceFinders(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String filename)
Iterate over the configured SourceFinders to see if one of them can locate the source
|
static java.net.URL |
Source.findOpenSourceStub(Workspace workspace,
Project project,
java.lang.String fullClassName)
Returns the URL for a source stub that has already been opened.
|
java.net.URL |
SourceFinder.findSourceFile(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String filename)
Returns the
URL to a source file, or null if the
source can not be found. |
static java.net.URL |
Source.findSourceFile(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String filename)
Returns the URL for the source file that has the given package and filename.
|
static java.net.URL |
Source.findURLForClass(Workspace workspace,
Project project,
java.lang.String fullClassName)
Return the URL for the source file of the named class
|
static java.net.URL |
Source.findURLForClassSource(Project project,
java.lang.String fullClassName)
Return the URL for the source file of the named class
|
static java.net.URL |
Source.findURLForClassSource(Workspace workspace,
Project project,
java.lang.String fullClassName)
Return the URL for the source file of the named class
|
static java.net.URL |
Source.findURLForClassStub(Project project,
java.lang.String fullClassName)
Return the URL for the source file of the named class
|
static java.net.URL |
Source.findURLForClassStub(Workspace workspace,
Project project,
java.lang.String fullClassName)
Return the URL for the source stub of the named class
|
static java.lang.String |
RunConfigurations.getActiveName(Project project,
Workspace workspace)
Returns the active name.
|
static java.lang.String |
RunConfigurations.getActiveName(Project project,
Workspace workspace,
boolean useWorkspacePropertyStorage)
Returns the active name.
|
static RunConfiguration |
RunConfigurations.getActiveRunConfiguration(Project project)
Deprecated.
Use version that takes Project and Workspace
|
static RunConfiguration |
RunConfigurations.getActiveRunConfiguration(Project project,
Workspace workspace)
Returns the currently active RunConfiguration for the supplied project
|
static RunConfiguration |
RunConfigurations.getActiveRunConfiguration(Project project,
Workspace workspace,
boolean useWorkspacePropertyStorage)
Returns the currently active RunConfiguration for the supplied project
|
static java.lang.String |
RunConfiguration.getDefaultName(Project project)
Return the default name for a run configuration
|
static RunConfigurations |
RunConfigurations.getInstance(Project project,
boolean useWorkspacePropertyStorage)
Return the singleton instance, constructing it if necessary
|
static RunConfigurations |
RunConfigurations.getInstance(Project project,
Workspace workspace,
boolean useWorkspacePropertyStorage)
Deprecated.
use version that takes PropertyStorage rather than Project and Workspace
|
static Node[] |
Source.getOpenedFiles(Workspace workspace,
Project project)
Returns the files that are currently open in an editor.
|
static java.lang.String |
Source.getPackageFromNode(Node node,
Project project)
Returns the package for the given node.
|
static Node[] |
Source.getProjectFileList(Project project)
Returns the files in the given project.
|
static RunConfiguration |
RunConfiguration.getRunConfiguration(Project project,
java.lang.String configName)
Deprecated.
|
static RunConfiguration |
RunConfigurations.getRunConfigurationByName(Project project,
java.lang.String name)
Returns the named runconfiguration for the supplied project.
|
static boolean |
RunConfigurations.isActiveRunConfiguration(Project project,
Workspace workspace,
RunConfiguration runConfiguration,
boolean useWorkspacePropertyStorage)
Returns whether the supplied RunConfiguration is the currently active RunConfiguration for
the supplied project.
|
static boolean |
Source.packageMatches(java.lang.String pkg,
Node node,
Project project)
Returns true if the given package matches the package for the
given node.
|
static void |
RunConfigurations.setActiveRunConfiguration(Project project,
RunConfiguration runConfiguration)
Deprecated.
Us the version that also takes a workspace parameter
|
static void |
RunConfigurations.setActiveRunConfiguration(Project project,
Workspace workspace,
RunConfiguration runConfiguration)
Sets the supplied RunConfiguration to be the active RunConfiguration fot the supplied project
|
static CodeEditor |
Source.showNodeInCodeEditor(Workspace workspace,
Project project,
Node node)
Displays a node in the code editor.
|
static Editor |
Source.showNodeInDefaultEditor(Workspace workspace,
Project project,
Node node)
Displays a node in its default editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
Node node,
int line,
boolean selectLine)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
Node node,
int line,
boolean selectLine,
boolean showInNavHistory)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String fullClassName,
java.lang.String filename,
int line,
boolean selectLine)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String fullClassName,
java.lang.String filename,
int line,
boolean selectLine,
java.lang.String sourceNotFoundMessage)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
java.lang.String pkg,
java.lang.String fullClassName,
java.lang.String filename,
int line,
boolean selectLine,
java.lang.String sourceNotFoundMessage,
oracle.jdevimpl.debugger.support.DebugVirtualMachine vm)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
java.net.URL url,
int line,
boolean selectLine)
Displays a source file in the code editor.
|
static boolean |
Source.showSourceFile(Workspace workspace,
Project project,
java.net.URL url,
int line,
boolean selectLine,
boolean showInNavHistory)
Displays a source file in the code editor.
|
static boolean |
Source.showUIDesigner(Workspace workspace,
Project project,
Node node)
Displays a source file in the UI designer.
|
static boolean |
Source.showUIDesigner(Workspace workspace,
Project project,
java.net.URL url)
Displays a source file in the UI designer.
|
Modifier and Type | Method and Description |
---|---|
Project |
JDevFixture.createJDevProject()
Creates or opens a project named "project.jpr" in the work directory with
no source path entries and an output directory.
|
Project |
JDevFixture.createJDevProject(java.lang.String path)
Creates or opens a project in the work directory with no source path entries
and an output directory.
|
Project |
JDevFixture.createJDevProject(java.lang.String path,
int sourcePathCount)
Creates or opens a project in the work directory with source path entries
and an output directory.
|
Project |
JDevFixture.createJDevProject(java.lang.String path,
java.net.URL contentsURL)
Creates or opens a project in the work directory with source path contents
and an output directory.
|
protected Project |
JDevFixture.createJDevProjectNoSave(java.lang.String path,
int sourcePathCount)
Creates or opens a project in the work directory with source path entries
and an output directory.
|
Project |
JDevFixture.createJDevProjectRelative(java.lang.String path,
java.lang.String contentsPath)
Creates or opens a project in the work directory with source path contents
from a relative path and an output directory.
|
protected Project |
JDevFixture.createProject(java.net.URL url) |
Project |
JDevFixture.updateJDevProject(Project project,
java.net.URL contentsURL)
Updates a project with the files located at the given contentsURL.
|
Project |
JDevFixture.updateJDevProjectRelative(Project project,
java.lang.String contentsPath)
Updates a project with the files located at the given relative contentsPath.
|
Modifier and Type | Method and Description |
---|---|
void |
JDevFixture.assertEquals(java.net.URL expectedRootURL,
Project actualProject)
Asserts that the expected contents of a project recursively equal the
actual contents of the project.
|
void |
JDevFixture.assertEqualsRelative(java.lang.String expectedPath,
Project actualProject)
Asserts that the expected contents of a directory recursively equal the
actual contents of the directory.
|
java.net.URL |
JDevFixture.createSourceDirectory(java.lang.String path,
Project project,
int entry)
Creates a directory under a source path entry of a project.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project)
Creates an empty file under the first project source path entry from a string.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project,
int entry)
Creates an empty file under a project source path entry from a string.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project,
int entry,
java.lang.String contents)
Creates a file under a project source path entry from a string.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project,
int entry,
java.net.URL contentsURL)
Creates a file under a project source path entry from a URL.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project,
java.lang.String contents)
Creates a file under the first project source path entry from a string.
|
Node |
JDevFixture.createSourceFile(java.lang.String path,
Project project,
java.net.URL contentsURL)
Creates a file under the first project source path entry from a URL.
|
Node |
JDevFixture.createSourceFileRelative(java.lang.String path,
Project project,
int entry,
java.lang.String contentsPath)
Creates a file under a project source path entry with contents from a
relative path.
|
Node |
JDevFixture.createSourceFileRelative(java.lang.String path,
Project project,
java.lang.String contentsPath)
Creates a file under the first project source path entry from a relative
path.
|
java.net.URL |
JDevFixture.createSourcePathEntry(int entry,
Project project)
Creates a source path entry in a project.
|
Node |
JDevFixture.getNode(java.lang.String path,
Project project,
int entry)
Gets a node created in a project by this fixture.
|
java.net.URL |
JDevFixture.getSourcePathEntry(Project project,
int entry)
Gets the URL of a source path entry of a project.
|
java.lang.String |
JDevFixture.translateSourcePathToWorkPath(java.lang.String path,
Project project,
int entry)
Translates a path relative to a project source path entry to a path relative
to the work directory.
|
Project |
JDevFixture.updateJDevProject(Project project,
java.net.URL contentsURL)
Updates a project with the files located at the given contentsURL.
|
Project |
JDevFixture.updateJDevProjectRelative(Project project,
java.lang.String contentsPath)
Updates a project with the files located at the given relative contentsPath.
|
Modifier and Type | Method and Description |
---|---|
protected Project |
UsageManager.getProject()
Get the project.
|
Constructor and Description |
---|
UsageManager(Project project)
Fetch the usage manager instance for the given project.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
Helpers.getClasses(Project prj,
java.net.URL sourceURL)
Get the fully qualified names of the top level classes
in the source of the incoming URL
|
static void |
Helpers.removeClasses(Project prj,
java.lang.String[] fqClassNames)
method removeClasses will delete on the specified project output directory
all the classes part of the specified top level class, including private,
package private and inner classes.
|
static void |
Helpers.removeClasses(Project prj,
java.net.URL sourceFile)
method removeClasses will delete on the specified project output directory
all the classes part of the specified sourceFile, including private,
package private and inner classes.
|
Modifier and Type | Method and Description |
---|---|
Project |
ChangeListItem.getProject() |
Project[] |
ChangeListEvent.getProjects() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Project> |
ChangeListItem.getProjects() |
Modifier and Type | Method and Description |
---|---|
ContentSet |
ChangeListProjectContent.getContentSet(Project project) |
protected java.util.Collection<VCSHashURL> |
ChangeListEventQueue.listProjectURLs(Project project,
ChangeListProjectContent projectContent,
VCSCancellable cancellable) |
void |
ChangeListEvent.setProjects(Project[] projects) |
Constructor and Description |
---|
ChangeListProjectContent(Project project) |
Constructor and Description |
---|
ChangeListItem(java.net.URL url,
java.util.Collection<Project> projects,
IconOverlay overlay) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
VCSApplicationSystem.canProjectHaveMember(Project project,
VCSApplicationSystem.ContentSetProxy proxy,
java.net.URL url) |
abstract java.util.Iterator<java.net.URL> |
VCSApplicationSystem.createProjectIterator(Project project,
VCSApplicationSystem.ListMode mode) |
protected abstract Node |
VCSTreeDockableWindow.findOrCreateNode(ChangeListItem changeListItem,
Project project) |
abstract ContentSet |
VCSApplicationSystem.ContentSetProxy.getContentSet(Project project) |
Modifier and Type | Method and Description |
---|---|
static Project[] |
VCSModelUtils.findCachedProjects()
Gets all open
Project type nodes cached in the NodeFactory . |
static Project[] |
VCSModelUtils.findCachedProjects(boolean openWorkspaces)
Deprecated.
replaced by
VCSModelUtils.findCachedProjects() . Workspaces no longer
need to be opened in order to discover their children. |
Modifier and Type | Method and Description |
---|---|
static java.net.URL[] |
VCSModelUtils.listProjectURLs(Project project,
VCSCancellable cancellable)
Lists all content URLs belonging to the given project, if open.
|
static java.net.URL[] |
VCSModelUtils.listProjectURLs(Project project,
VCSCancellable cancellable,
boolean includeDirectories)
Lists all content URLs belonging to the given project, if open.
|
Modifier and Type | Method and Description |
---|---|
boolean |
OJSPNextFeatureEnabler.isOJSPNextEnabled(Project project) |
boolean |
BuildFeatureManager.isOJSPNextEnabled(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
LoadResourcesFromClassLoaderFeatureEnabler.isFeatureEnabled(Project project) |
abstract void |
DTEManager.restartWebApp(Project project)
Restart the webapp in JSP VE design time(fake servlet container)
|
abstract void |
DTEManager.startWebAppAutoRestart(Project project)
By default the dte restarts the webapp whenever the web.xml or other configuration files are modified.
|
abstract void |
DTEManager.stopWebAppAutoRestart(Project project)
By default the dte restarts the webapp whenever the web.xml or other configuration files are modified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FaceletsConfigurationManager.addFaceletsSuffix(Project project,
java.lang.String suffix,
boolean makeDefault)
Add the suffix to the configuration parameter "javax.faces.FACELETS_VIEW_MAPPINGS"
If makeDefault is true, the suffix is prepended to the FACELETS_VIEW_MAPPINGS, so that
it is returned by getDefaultFaceletsSuffix()
|
abstract boolean |
FaceletsConfigurationHandler.addFaceletsSuffix(Project project,
java.lang.String suffix,
boolean makeDefault)
Add the suffix to the configuration parameter "javax.faces.FACELETS_VIEW_MAPPINGS"
If makeDefault is true, the suffix is prepended to the FACELETS_VIEW_MAPPINGS, so that
it is returned by getDefaultFaceletsSuffix()
|
void |
FaceletsConfigurationManager.configureProject(Project project)
Configure the Project for Facelets
|
abstract void |
FaceletsConfigurationHandler.configureProject(Project project)
Configure the Project for Facelets
|
java.lang.String |
FaceletsConfigurationManager.getDefaultFaceletsSuffix(Project project)
Determine the default Facelets Suffix, as defined for the Project
|
abstract java.lang.String |
FaceletsConfigurationHandler.getDefaultFaceletsSuffix(Project project)
Determine the default Facelets Suffix, as defined for the Project
|
java.util.Collection<java.lang.String> |
FaceletsConfigurationManager.getFaceletsIncludedSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter
"javax.faces.FACELETS_VIEW_MAPPINGS" and any other extensions that can be
included in a facelets page such as fragments
|
abstract java.util.Collection<java.lang.String> |
FaceletsConfigurationHandler.getFaceletsIncludedSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter
"javax.faces.FACELETS_VIEW_MAPPINGS" and any other extensions that can be
included in a facelets page such as fragments
|
java.util.Collection<java.lang.String> |
FaceletsConfigurationManager.getFaceletsSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter
"javax.faces.FACELETS_VIEW_MAPPINGS"
|
abstract java.util.Collection<java.lang.String> |
FaceletsConfigurationHandler.getFaceletsSuffixes(Project project)
Get the list of suffixes configured in the configuration parameter
"javax.faces.FACELETS_VIEW_MAPPINGS"
|
boolean |
FaceletsConfigurationManager.isConfiguredForFacelets(Project project)
Deprecated.
|
boolean |
FaceletsConfigurationManager.isFaceletsFile(Project project,
java.net.URL url)
Determine if the URL is a Facelets file.
|
boolean |
FaceletsConfigurationManager.isFaceletsFile(Project project,
java.net.URL url,
boolean checkDefaults)
Determine if the URL is a Facelets file.
|
abstract boolean |
FaceletsConfigurationHandler.isFaceletsFile(Project project,
java.net.URL url,
boolean checkDefaults)
Determine if the URL is a Facelets file.
|
boolean |
FaceletsConfigurationManager.isFaceletsSuffix(Project project,
java.lang.String suffix,
boolean checkDefaults)
Determine if the suffix corresponds to a Facelets view mapping suffix.
|
boolean |
FaceletsConfigurationHandler.isFaceletsSuffix(Project project,
java.lang.String suffix,
boolean checkDefaults)
Determine if the suffix corresponds to a Facelets view mapping suffix.
|
Modifier and Type | Method and Description |
---|---|
static void |
WebDocumentUtil.addTagLibrary(JspLibrary jspTagLibrary,
Project project,
oracle.bali.xml.model.AbstractModel model)
Configures JSP page and the project it belongs to to use given JSP
tag library.
|
static void |
WebDocumentUtil.addTagLibrary(java.lang.String jspLibraryURI,
Project project,
oracle.bali.xml.model.AbstractModel model) |
static QueryProgress |
IndexingUtils.findNodes(Project project,
java.lang.Class nodeClass,
ResultCallback<Node> callback)
Find Nodes of the given Node type in the web-app content set.
|
static QueryProgress |
IndexingUtils.findNodes(Project project,
URLFilter filter,
java.lang.Class[] nodeClasses,
ResultCallback<Node> callback) |
static QueryProgress |
IndexingUtils.findNodes(Project project,
URLFilter filter,
java.lang.Class nodeClass,
ResultCallback<Node> callback)
Find Nodes of the given Node type in the web-app content set whose URLs
satisfy given URL filter.
|
static QueryProgress |
IndexingUtils.findNodes(Project project,
URLFilter filter,
ResultCallback<Node> callback)
Find Nodes in the web-app content set whose URLs satisfy given URL filter.
|
static QueryProgress |
IndexingUtils.findURLs(Project project,
java.lang.Class nodeClass,
ResultCallback<java.net.URL> callback)
Find file URLs of the given Node type in the web-app content set.
|
static QueryProgress |
IndexingUtils.findURLs(Project project,
URLFilter filter,
java.lang.Class[] nodeClasses,
ResultCallback<java.net.URL> callback) |
static QueryProgress |
IndexingUtils.findURLs(Project project,
URLFilter filter,
java.lang.Class nodeClass,
ResultCallback<java.net.URL> callback)
Find Nodes of the given Node type in the web-app content set whose URLs
satisfy given URL filter.
|
static QueryProgress |
IndexingUtils.findURLs(Project project,
URLFilter filter,
ResultCallback<java.net.URL> callback)
Find file URLs in the web-app content set that satisfy given URL filter.
|
static java.lang.ClassLoader |
ProjectRunClassPathClassLoaderUtils.getClassLoader(Project project)
Returns a new ClassLoader for the given project, from a cached expanded URLPath.
|
static java.lang.ClassLoader |
ProjectRunClassPathClassLoaderUtils.getClassLoader(Project project,
java.lang.ClassLoader parent)
Returns a new ClassLoader for the given project and parent, from a cached expanded URLPath.
|
protected static ContentSet |
IndexingUtils.getContentSet(Project project) |
static URLPath |
ProjectRunClassPathClassLoaderUtils.getExpandedRunClassPath(Project project)
Returns (a copy of) the cached expanded URLPath dsecribing the Run ClassPath
for the given Project
|
Modifier and Type | Method and Description |
---|---|
boolean |
WizardFile.classExistsInProject(Project project) |
JavaSourceNode |
WizardFile.getSourceNode(Project project) |
void |
WizardFile.setDefaultClassName(Project project,
java.lang.String prefix) |
void |
WizardFile.setDefaultClassName(Project project,
java.lang.String prefix,
java.lang.String suffix) |
Modifier and Type | Method and Description |
---|---|
Project |
DefaultAuditContext.getProject() |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultAuditor.addConstruct(java.lang.Object construct,
java.net.URL url,
Project project,
Workspace workspace) |
boolean |
DefaultAuditor.addElement(Element element,
Node node,
Project project,
Workspace workspace) |
boolean |
DefaultAuditor.addElements(Element[] elements,
Node node,
Project project,
Workspace workspace) |
boolean |
DefaultAuditor.addNode(Node node,
Project project,
Workspace workspace) |
boolean |
DefaultAuditor.addUrl(java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModel(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditTaskContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultAuditContext.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
boolean |
DefaultAuditor.isAuditable(Element element,
Node node,
Project project,
Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
Project |
WorkspaceModelAdapter.getProject() |
Project |
RootModelAdapter.getProject() |
Project |
ProjectModelAdapter.getProject() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultModelFactory.addModelAdapters(java.util.Collection<ModelAdapter> models,
Element element,
java.net.URL url,
Project project,
Workspace workspace)
If the URL is not supplied, then the
Element must have been
supplied and is used to determine the URL(s). |
ContentCache |
DefaultModelFactory.getContentSetCache(Project project,
Workspace workspace) |
<T extends ModelAdapter> |
DefaultModelFactory.getModelAdapter(java.lang.Class<T> type,
java.net.URL url,
Project project,
Workspace workspace) |
java.util.Collection<ModelAdapter> |
DefaultModelFactory.getModelAdapters(Element element,
java.net.URL url,
Project project,
Workspace workspace) |
void |
DefaultModelFactory.getOrCreateModelAdapters(java.util.Collection<ModelAdapter> models,
Element element,
java.net.URL url,
Project project,
Workspace workspace)
The workspace/project/URL key is computed.
|
void |
ProjectContentRootFactory.getProjectRoots(Workspace workspace,
Project project,
IntersectedFilters projectContentFilters,
IntersectedFilters auxiliaryContentFilters,
java.util.Collection<ContentRoot> roots) |
void |
ApplicationContentRootFactory.getProjectRoots(Workspace workspace,
Project project,
IntersectedFilters projectContentFilters,
IntersectedFilters auxiliaryContentFilters,
java.util.Collection<ContentRoot> roots) |
boolean |
WorkspaceModelType.isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
Gets whether a root element is auditable in the context of a directory,
project, and workspace.
|
boolean |
RootModelType.isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
Gets whether a root element is auditable in the context of a directory,
project, and workspace.
|
boolean |
ProjectModelType.isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
Gets whether a root element is auditable in the context of a directory,
project, and workspace.
|
boolean |
DirectoryModelType.isAuditable(Element element,
ContentDirectory directory,
Project project,
Workspace workspace)
Gets whether a root element is auditable in the context of a directory,
project, and workspace.
|
Constructor and Description |
---|
ProjectModelAdapter(ModelFactory factory,
ModelType type,
ContainerModelAdapter workspace,
Project project)
Creates a project document.
|