|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.events.InternalBuilder
org.eclipse.core.resources.IncrementalProjectBuilder
org.ocleditor.internal.core.nature_builder.OclBuilder
Builder for .ocl files.
The builder will process files in the current project, and register its intent to process files in any referenced project. This means that even though the builder is not associated to a project, the fact that a project with this builder has a project reference means that the target project will also be processed.
IncrementalProjectBuilder
,
IResourceDelta
Field Summary |
Fields inherited from class org.eclipse.core.resources.IncrementalProjectBuilder |
AUTO_BUILD, FULL_BUILD, INCREMENTAL_BUILD |
Constructor Summary | |
OclBuilder()
Default constructor. |
Method Summary | |
void |
checkBuildType(int kind)
Prints builder kind trace messages to the console. |
void |
processDelta(org.eclipse.core.resources.IResourceDelta delta)
The IResourceDelta passed is processed by a
IResourceDeltaVisitor when the delta contains information
about changes in OCL files.
|
void |
processDelta4ReferencedProjects(org.eclipse.core.resources.IProject[] refedProjects)
Attempts to process OCL changes in another project where the builder is not registered. |
void |
processFull(org.eclipse.core.resources.IProject project)
Performs a FULL_BUILD by visiting all nodes in the resource
tree for the specified project.
|
void |
processFull4ReferencedProjects(org.eclipse.core.resources.IProject[] refedProjects)
Performs a full buils on any referenced projects. |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
Finds builder parameters defined in the plugin.xml. |
org.eclipse.core.resources.IProject[] |
watchReferecedProjects()
Returns an array of projects that are of interest for the next build. |
Methods inherited from class org.eclipse.core.resources.IncrementalProjectBuilder |
forgetLastBuiltState, getDelta, getProject, hasBeenBuilt, isInterrupted, needRebuild |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OclBuilder()
Method Detail |
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement config, java.lang.String propertyName, java.lang.Object data) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
IExecutableExtension.setInitializationData(IConfigurationElement, String, Object)
public void checkBuildType(int kind)
public org.eclipse.core.resources.IProject[] watchReferecedProjects()
public void processFull(org.eclipse.core.resources.IProject project)
FULL_BUILD
by visiting all nodes in the resource
tree for the specified project.
The OclFileDeltaVisitor
class is used to process the .ocl files.
public void processFull4ReferencedProjects(org.eclipse.core.resources.IProject[] refedProjects)
public void processDelta(org.eclipse.core.resources.IResourceDelta delta) throws org.eclipse.core.runtime.CoreException
IResourceDelta
passed is processed by a
IResourceDeltaVisitor
when the delta contains information
about changes in OCL files.
A null delta exists when the project is created.
Multiple visit invocation statements are included for the different
resource visitors provided in this resource programming demonstration package.
You may wish to invoke other visitors to further explore the IResourceDelta
.
org.eclipse.core.runtime.CoreException
IResourceDelta
public void processDelta4ReferencedProjects(org.eclipse.core.resources.IProject[] refedProjects) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |