|
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.pattern.ui.internal.editor.DefaultPatternModificationNotification
public class DefaultPatternModificationNotification
Field Summary |
---|
Fields inherited from interface org.eclipse.egf.pattern.ui.internal.editor.IPatternModificationNotification |
---|
ADDED, REMOVED, RENAMED, SAVED, SET |
Constructor Summary | |
---|---|
DefaultPatternModificationNotification()
|
Method Summary | |
---|---|
static DefaultPatternModificationNotification |
createNotification(int eventType_p,
Object notifier_p,
Object oldValue_p,
Object newValue_p)
Create a new notification. |
int |
getEventType()
Get the type of change that has occurred. |
Object |
getNewValue()
Get the new value after the change occurred. |
Object |
getNotifier()
Get the object affected by the change. |
Object |
getOldValue()
Get the value before the change occurred. |
PatternHandler.PatternData |
getPatternData()
Get pattern data scope attached to the event. |
void |
setEventType(int type_p)
Set the type of change that has occurred. |
void |
setNewValue(Object newValue_p)
Set the new value implied by the change. |
void |
setNotifier(Object notifier_p)
Set the object affected by the change. |
void |
setOldValue(Object oldValue_p)
Set the value before the change occurred. |
void |
setPatternData(PatternHandler.PatternData patternData_p)
Set pattern data scope for this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPatternModificationNotification()
Method Detail |
---|
public void setEventType(int type_p)
type_p
- the type of change that has occurred.public int getEventType()
IPatternModificationNotification
getEventType
in interface IPatternModificationNotification
IPatternModificationNotification.getEventType()
public void setNewValue(Object newValue_p)
newValue_p
- The new value.public Object getNewValue()
IPatternModificationNotification
getNewValue
in interface IPatternModificationNotification
IPatternModificationNotification.getNewValue()
public void setNotifier(Object notifier_p)
notifier_p
- null to reset.public Object getNotifier()
IPatternModificationNotification
getNotifier
in interface IPatternModificationNotification
IPatternModificationNotification.getNotifier()
public void setOldValue(Object oldValue_p)
oldValue_p
- The value before the change occurred.public Object getOldValue()
IPatternModificationNotification
getOldValue
in interface IPatternModificationNotification
IPatternModificationNotification.getOldValue()
public void setPatternData(PatternHandler.PatternData patternData_p)
patternData_p
- public PatternHandler.PatternData getPatternData()
IPatternModificationNotification
getPatternData
in interface IPatternModificationNotification
IPatternModificationNotification.getPatternData()
public static DefaultPatternModificationNotification createNotification(int eventType_p, Object notifier_p, Object oldValue_p, Object newValue_p)
eventType_p
- notifier_p
- oldValue_p
- newValue_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.