|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.ocleditor.internal.core.nature_builder.OclNature
Simple implementation of a nature that customizes a project by adding the
OclBuilder to the list of builders found in a project description.
| Constructor Summary | |
OclNature()
Default constructor. |
|
| Method Summary | |
void |
configure()
Customizes the project by adding the OCL builder. |
void |
deconfigure()
Removes any nature customization and private resources as may be required. |
org.eclipse.core.resources.IProject |
getProject()
Returns local reference to associated project. |
void |
setProject(org.eclipse.core.resources.IProject pr)
Saves local reference to associated project. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OclNature()
| Method Detail |
public void configure()
throws org.eclipse.core.runtime.CoreException
configure in interface org.eclipse.core.resources.IProjectNatureorg.eclipse.core.runtime.CoreExceptionIProjectNature.configure()
public void deconfigure()
throws org.eclipse.core.runtime.CoreException
The OCL Builder is not removed here, but is removed automatically by the platform as the plugin.xml definition links the builder to the nature.
This works when the nature identifies the builder using a
entry.
deconfigure in interface org.eclipse.core.resources.IProjectNatureorg.eclipse.core.runtime.CoreExceptionIProjectNature.deconfigure()public org.eclipse.core.resources.IProject getProject()
getProject in interface org.eclipse.core.resources.IProjectNatureIProjectNature.getProject()public void setProject(org.eclipse.core.resources.IProject pr)
setProject in interface org.eclipse.core.resources.IProjectNatureIProjectNature.setProject(IProject)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||