/** * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children * that can be created under this object. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected void collectNewChildDescriptors ( Collection<Object> newChildDescriptors, Object object ) { super.collectNewChildDescriptors ( newChildDescriptors, object ); newChildDescriptors.add ( createChildParameter ( GlobalizePackage.Literals.GLOBALIZATION__DEFAULT_LOGON_CREDENTIALS, WorldFactory.eINSTANCE.createUsernamePasswordCredentials () ) ); newChildDescriptors.add ( createChildParameter ( GlobalizePackage.Literals.GLOBALIZATION__DEFAULT_LOGON_CREDENTIALS, WorldFactory.eINSTANCE.createPasswordCredentials () ) ); newChildDescriptors.add ( createChildParameter ( GlobalizePackage.Literals.GLOBALIZATION__GLOBALS, GlobalizeFactory.eINSTANCE.createGlobal () ) ); }
final Global global = GlobalizeFactory.eINSTANCE.createGlobal (); this.globalize.getGlobals ().add ( global ); global.setGlobal ( master.getImplementation () );