|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.ocleditor.internal.ui.document.DocumentChanger
| Constructor Summary | |
DocumentChanger(org.eclipse.ui.texteditor.IDocumentProvider provider,
org.eclipse.ui.texteditor.ITextEditor editor)
Creates the document changer using the given provider and the given editor. |
|
| Method Summary | |
void |
addMethodContext(org.eclipse.jdt.core.IMethod method)
Adds a method context at the end of the OCL document. |
void |
addTypeContext(org.eclipse.jdt.core.IType type)
Adds a type context at the end of the OCL document. |
void |
remove(IOclElement element)
Removes an OCL element from the document. |
void |
setInput(java.lang.Object input)
Sets the input of the document changer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DocumentChanger(org.eclipse.ui.texteditor.IDocumentProvider provider,
org.eclipse.ui.texteditor.ITextEditor editor)
| Method Detail |
public void setInput(java.lang.Object input)
public void addTypeContext(org.eclipse.jdt.core.IType type)
IDocumentChanger
addTypeContext in interface IDocumentChangertype - represents the type.public void addMethodContext(org.eclipse.jdt.core.IMethod method)
IDocumentChanger
addMethodContext in interface IDocumentChangermethod - represents the method.public void remove(IOclElement element)
IDocumentChanger
remove in interface IDocumentChangerelement - the OCL element.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||