use of org.eclipse.emf.ecore.impl.ENotificationImpl in project openhab1-addons by openhab.
the class MBrickletOLED128x64Impl method basicSetTfConfig.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
public NotificationChain basicSetTfConfig(BrickletOLEDConfiguration newTfConfig, NotificationChain msgs) {
BrickletOLEDConfiguration oldTfConfig = tfConfig;
tfConfig = newTfConfig;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__TF_CONFIG, oldTfConfig, newTfConfig);
if (msgs == null) {
msgs = notification;
} else {
msgs.add(notification);
}
}
return msgs;
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project openhab1-addons by openhab.
the class MBrickletOLED128x64Impl method setPositionSuffix.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setPositionSuffix(String newPositionSuffix) {
String oldPositionSuffix = positionSuffix;
positionSuffix = newPositionSuffix;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__POSITION_SUFFIX, oldPositionSuffix, positionSuffix));
}
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project openhab1-addons by openhab.
the class MBrickletOLED128x64Impl method setInvert.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setInvert(boolean newInvert) {
boolean oldInvert = invert;
invert = newInvert;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__INVERT, oldInvert, invert));
}
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project openhab1-addons by openhab.
the class MBrickletOLED128x64Impl method setEnabledA.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setEnabledA(AtomicBoolean newEnabledA) {
AtomicBoolean oldEnabledA = enabledA;
enabledA = newEnabledA;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__ENABLED_A, oldEnabledA, enabledA));
}
}
use of org.eclipse.emf.ecore.impl.ENotificationImpl in project openhab1-addons by openhab.
the class MBrickletOLED128x64Impl method setIpConnection.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setIpConnection(IPConnection newIpConnection) {
IPConnection oldIpConnection = ipConnection;
ipConnection = newIpConnection;
if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_OLED12_8X64__IP_CONNECTION, oldIpConnection, ipConnection));
}
}
Aggregations