|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.common.ui.toolkit.viewers.AbstractStructuredContentProvider
org.eclipse.egf.pattern.ui.internal.editor.page.AbstractPatternPageContentProvider
org.eclipse.egf.pattern.ui.internal.editor.page.implementation.MethodPatternCodeViewer.MethodPatternCodeContentProvider
protected class MethodPatternCodeViewer.MethodPatternCodeContentProvider
Method pattern code content provider.
Constructor Summary | |
---|---|
protected |
MethodPatternCodeViewer.MethodPatternCodeContentProvider()
|
Method Summary | |
---|---|
protected void |
doDispose()
Do dispose provider. |
protected void |
doHandleElementsAdded(Object addedElements_p)
Do handle added elements. |
protected void |
doHandleElementsRemoved(Object removedElements_p)
Do handle removed elements. |
protected void |
doHandleElementUpdated(Object oldInput_p,
Object newInput_p)
Do update element. |
Object[] |
getElements(Object inputElement_p)
|
protected ListViewer |
getViewer()
Get viewer. |
protected void |
methodNameChanged(EOperation method_p,
String oldMethodName_p,
String newMethodName_p)
Method name changed. |
protected void |
methodRemoved(EOperation removedMethod_p)
Method removed. |
void |
notifyChanged(IPatternModificationNotification notification_p)
Notify that a change to the pattern model has occurred. |
protected void |
parameterSwitched(MethodActionHandler patternCodeAction_p)
Parameter value of handled action has been modified. |
void |
swap(int elementPosition1_p,
int elementPosition2_p)
Swap elements according to given element positions. |
Methods inherited from class org.eclipse.egf.pattern.ui.internal.editor.page.AbstractPatternPageContentProvider |
---|
dispose, getElement, getInitialInput, handleElementAdded, handleElementRemoved, handleElementUpdated, handleViewer, inputChanged, isDisposed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MethodPatternCodeViewer.MethodPatternCodeContentProvider()
Method Detail |
---|
protected ListViewer getViewer()
AbstractPatternPageContentProvider
getViewer
in class AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.getViewer()
protected void doDispose()
AbstractPatternPageContentProvider
doDispose
in class AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.doDispose()
protected void doHandleElementUpdated(Object oldInput_p, Object newInput_p)
AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.getElement(Object, Class)
to get it.
doHandleElementUpdated
in class AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.doHandleElementUpdated(java.lang.Object,
java.lang.Object)
protected void doHandleElementsAdded(Object addedElements_p)
AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.getElement(Object, Class)
to get it.
doHandleElementsAdded
in class AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.doHandleElementsAdded(java.lang.Object)
protected void doHandleElementsRemoved(Object removedElements_p)
AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.getElement(Object, Class)
to get it.
doHandleElementsRemoved
in class AbstractPatternPageContentProvider
AbstractPatternPageContentProvider.doHandleElementsRemoved(java.lang.Object)
public void swap(int elementPosition1_p, int elementPosition2_p)
IOrderedContentProvider
elementPosition1_p
is moved to elementPosition2_p
and elementPosition2_p
is moved to elementPosition1_p
.
swap
in interface IOrderedContentProvider
IOrderedContentProvider.swap(int, int)
public Object[] getElements(Object inputElement_p)
org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
public void notifyChanged(IPatternModificationNotification notification_p)
IPatternModificationListener
notifyChanged
in interface IPatternModificationListener
notification_p
- a description of the change.IPatternModificationListener.notifyChanged(org.eclipse.egf.pattern.ui.internal.editor.IPatternModificationNotification)
protected void parameterSwitched(MethodActionHandler patternCodeAction_p)
patternCodeAction_p
- A not null action handler.protected void methodNameChanged(EOperation method_p, String oldMethodName_p, String newMethodName_p)
method_p
- oldMethodName_p
- newMethodName_p
- protected void methodRemoved(EOperation removedMethod_p)
removedMethod_p
-
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.