/** * @param newSmallIcon */ protected void internalSetSmallIconInList(String newSmallIcon) { IconType newValue = null; if(getIcons().size() > 0) { newValue = (IconType) getIcons().get(0); newValue.setSmallIcon(newSmallIcon); } else { newValue = CommonFactory.eINSTANCE.createIconType(); newValue.setSmallIcon(newSmallIcon); getIcons().add(newValue); } }
/** * @param newLargeIcon */ protected void internalSetLargeIconInList(String newLargeIcon) { IconType newValue = null; if(getIcons().size() > 0) { newValue = (IconType) getIcons().get(0); newValue.setLargeIcon(newLargeIcon); } else { newValue = CommonFactory.eINSTANCE.createIconType(); newValue.setLargeIcon(newLargeIcon); getIcons().add(newValue); } }
/** * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s * describing all of the children that can be created under this object. <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getWebServiceDescription_PortComponents(), WsddFactory.eINSTANCE.createPortComponent())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getWebServiceDescription_DescriptionType(), WscommonFactory.eINSTANCE.createDescriptionType())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getWebServiceDescription_DisplayNameType(), WscommonFactory.eINSTANCE.createDisplayNameType())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getWebServiceDescription_IconType(), CommonFactory.eINSTANCE.createIconType())); }
/** * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s * describing all of the children that can be created under this object. <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add(createChildParameter(CommonPackage.eINSTANCE.getDescriptionGroup_Icons(), CommonFactory.eINSTANCE.createIconType())); newChildDescriptors.add(createChildParameter(CommonPackage.eINSTANCE.getDescriptionGroup_DisplayNames(), CommonFactory.eINSTANCE.createDisplayName())); newChildDescriptors.add(createChildParameter(CommonPackage.eINSTANCE.getDescriptionGroup_DisplayNames(), WscommonFactory.eINSTANCE.createDisplayNameType())); newChildDescriptors.add(createChildParameter(CommonPackage.eINSTANCE.getDescriptionGroup_Descriptions(), CommonFactory.eINSTANCE.createDescription())); newChildDescriptors.add(createChildParameter(CommonPackage.eINSTANCE.getDescriptionGroup_Descriptions(), WscommonFactory.eINSTANCE.createDescriptionType())); }
/** * @param newLargeIcon */ protected void internalSetLargeIconType(String newLargeIcon) { IconType newValue = null; if(getIconType() != null) { newValue = getIconType(); newValue.setLargeIcon(newLargeIcon); } else { newValue = CommonFactory.eINSTANCE.createIconType(); newValue.setLargeIcon(newLargeIcon); setIconType(newValue); } }
/** * @param newSmallIcon */ protected void internalSetSmallIconType(String newSmallIcon) { IconType newValue = null; if(getIconType() != null) { newValue = getIconType(); newValue.setSmallIcon(newSmallIcon); } else { newValue = CommonFactory.eINSTANCE.createIconType(); newValue.setSmallIcon(newSmallIcon); setIconType(newValue); } }
/** * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s * describing all of the children that can be created under this object. <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) { super.collectNewChildDescriptors(newChildDescriptors, object); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_WsdlPort(), WsddFactory.eINSTANCE.createWSDLPort())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_ServiceImplBean(), WsddFactory.eINSTANCE.createServiceImplBean())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_Handlers(), WsddFactory.eINSTANCE.createHandler())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_DescriptionType(), WscommonFactory.eINSTANCE.createDescriptionType())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_DisplayNameType(), WscommonFactory.eINSTANCE.createDisplayNameType())); newChildDescriptors.add(createChildParameter(WsddPackage.eINSTANCE.getPortComponent_IconType(), CommonFactory.eINSTANCE.createIconType())); }
IconType newIcon = factory.createIconType(); if (setLang)
IconType newIcon = factory.createIconType(); if (setLang)
IconType newIcon = factory.createIconType(); if (setLang)
IconType newIcon = factory.createIconType(); if (setLang)
IconType iconNew = factory.createIconType(); if (setLang)
IconType iconNew = factory.createIconType(); if (setLang)
IconType iconNew = factory.createIconType(); if (setLang)
IconType iconNew = factory.createIconType(); if (setLang)