Package net.cis.common.model.shipdevice

Examples of net.cis.common.model.shipdevice.SlotType


   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    SlotType labelValue = ((Slot)object).getSlotType();
    String label = labelValue == null ? null : labelValue.toString();
    return label == null || label.length() == 0 ?
      getString("_UI_Slot_type") :
      getString("_UI_Slot_type") + " " + label;
  }
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setSlotType(SlotType newSlotType) {
    SlotType oldSlotType = slotType;
    slotType = newSlotType == null ? SLOT_TYPE_EDEFAULT : newSlotType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, StructurePackage.SLOT__SLOT_TYPE, oldSlotType, slotType));
  }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setType(SlotType newType) {
    SlotType oldType = type;
    type = newType == null ? TYPE_EDEFAULT : newType;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, ShipdevicePackage.ABSTRACT_SHIP_DEVICE__TYPE, oldType, type));
  }
View Full Code Here

TOP

Related Classes of net.cis.common.model.shipdevice.SlotType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.