|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocleditor.internal.core.nature_builder.OclFileDeltaVisitor
Processes an IResourceDelta
to find .ocl files and
parses them. Designed to be invoked as a part of builder.
IResourceDelta
,
IResourceDeltaVisitor
Constructor Summary | |
OclFileDeltaVisitor()
|
Method Summary | |
void |
parseOclFile(org.eclipse.core.resources.IResource resource)
Parses the specified .ocl file and sets error markers. |
void |
processOclFile(org.eclipse.core.resources.IResource resource,
org.eclipse.core.resources.IContainer container)
Implements processing for a given .ocl resource. |
boolean |
visit(org.eclipse.core.resources.IResourceDelta delta)
Required implementation of the visit method. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OclFileDeltaVisitor()
Method Detail |
public boolean visit(org.eclipse.core.resources.IResourceDelta delta) throws org.eclipse.core.runtime.CoreException
IResourceDelta
is
processed by providing it a visitor using the accept()
method
and using this method in the visitor to process any events of interest.
Processing continues as long as this method returns true or when the end
of the IResourceDelta
has been reached.
visit
in interface org.eclipse.core.resources.IResourceDeltaVisitor
org.eclipse.core.runtime.CoreException
public void processOclFile(org.eclipse.core.resources.IResource resource, org.eclipse.core.resources.IContainer container)
public void parseOclFile(org.eclipse.core.resources.IResource resource)
resource
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |