Java Code Examples for org.eclipse.emf.common.notify.NotificationChain#add()
The following examples show how to use
org.eclipse.emf.common.notify.NotificationChain#add() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GGraphImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GGRAPH__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 2
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 3
Source File: AbapGitStagingImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetUnstagedObjects(IUnstagedObjects newUnstagedObjects, NotificationChain msgs) { IUnstagedObjects oldUnstagedObjects = unstagedObjects; unstagedObjects = newUnstagedObjects; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IAbapgitstagingPackage.ABAP_GIT_STAGING__UNSTAGED_OBJECTS, oldUnstagedObjects, newUnstagedObjects); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 4
Source File: GPortImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GPORT__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 5
Source File: AbapGitCommitMessageImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetCommitter(ICommitter newCommitter, NotificationChain msgs) { ICommitter oldCommitter = committer; committer = newCommitter; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IAbapgitstagingPackage.ABAP_GIT_COMMIT_MESSAGE__COMMITTER, oldCommitter, newCommitter); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 6
Source File: GModelRootImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetCanvasBounds(GBounds newCanvasBounds, NotificationChain msgs) { GBounds oldCanvasBounds = canvasBounds; canvasBounds = newCanvasBounds; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GMODEL_ROOT__CANVAS_BOUNDS, oldCanvasBounds, newCanvasBounds); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 7
Source File: GIssueMarkerImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetSize(GDimension newSize, NotificationChain msgs) { GDimension oldSize = size; size = newSize; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GISSUE_MARKER__SIZE, oldSize, newSize); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 8
Source File: GIssueMarkerImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GISSUE_MARKER__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 9
Source File: AbapGitStagingImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetIgnoredObjects(IIgnoredObjects newIgnoredObjects, NotificationChain msgs) { IIgnoredObjects oldIgnoredObjects = ignoredObjects; ignoredObjects = newIgnoredObjects; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IAbapgitstagingPackage.ABAP_GIT_STAGING__IGNORED_OBJECTS, oldIgnoredObjects, newIgnoredObjects); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 10
Source File: GGraphImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetSize(GDimension newSize, NotificationChain msgs) { GDimension oldSize = size; size = newSize; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GGRAPH__SIZE, oldSize, newSize); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 11
Source File: GButtonImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GBUTTON__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 12
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetLayoutOptions(GLayoutOptions newLayoutOptions, NotificationChain msgs) { GLayoutOptions oldLayoutOptions = layoutOptions; layoutOptions = newLayoutOptions; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__LAYOUT_OPTIONS, oldLayoutOptions, newLayoutOptions); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 13
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetEdgePlacement(GEdgePlacement newEdgePlacement, NotificationChain msgs) { GEdgePlacement oldEdgePlacement = edgePlacement; edgePlacement = newEdgePlacement; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__EDGE_PLACEMENT, oldEdgePlacement, newEdgePlacement); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 14
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetSize(GDimension newSize, NotificationChain msgs) { GDimension oldSize = size; size = newSize; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__SIZE, oldSize, newSize); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 15
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 16
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetLayoutOptions(GLayoutOptions newLayoutOptions, NotificationChain msgs) { GLayoutOptions oldLayoutOptions = layoutOptions; layoutOptions = newLayoutOptions; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__LAYOUT_OPTIONS, oldLayoutOptions, newLayoutOptions); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 17
Source File: GLabelImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetPosition(GPoint newPosition, NotificationChain msgs) { GPoint oldPosition = position; position = newPosition; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GLABEL__POSITION, oldPosition, newPosition); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 18
Source File: GLabelImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetEdgePlacement(GEdgePlacement newEdgePlacement, NotificationChain msgs) { GEdgePlacement oldEdgePlacement = edgePlacement; edgePlacement = newEdgePlacement; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GraphPackage.GLABEL__EDGE_PLACEMENT, oldEdgePlacement, newEdgePlacement); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 19
Source File: DiagramElementImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public NotificationChain basicSetSemanticElement(SemanticProxy newSemanticElement, NotificationChain msgs) { SemanticProxy oldSemanticElement = semanticElement; semanticElement = newSemanticElement; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WfnotationPackage.DIAGRAM_ELEMENT__SEMANTIC_ELEMENT, oldSemanticElement, newSemanticElement); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
Example 20
Source File: ShapeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * * @generated */ public NotificationChain basicSetSize(Dimension newSize, NotificationChain msgs) { Dimension oldSize = size; size = newSize; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, WfnotationPackage.SHAPE__SIZE, oldSize, newSize); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }