for ( final String repo : this.p2Platform.getRepositories () )
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public P2Platform getSharedPlatform () { if ( sharedPlatform != null && sharedPlatform.eIsProxy () ) { InternalEObject oldSharedPlatform = (InternalEObject)sharedPlatform; sharedPlatform = (P2Platform)eResolveProxy ( oldSharedPlatform ); if ( sharedPlatform != oldSharedPlatform ) { if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__SHARED_PLATFORM, oldSharedPlatform, sharedPlatform ) ); } } return sharedPlatform; }
/** * This returns the label styled text for the adapted class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object getStyledText ( Object object ) { String label = ( (P2Platform)object ).getName (); StyledString styledLabel = new StyledString (); if ( label == null || label.length () == 0 ) { styledLabel.append ( getString ( "_UI_P2Platform_type" ), StyledString.Style.QUALIFIER_STYLER ); //$NON-NLS-1$ } else { styledLabel.append ( getString ( "_UI_P2Platform_type" ), StyledString.Style.QUALIFIER_STYLER ).append ( " " + label ); //$NON-NLS-1$ //$NON-NLS-2$ } return styledLabel; }
for ( final String repo : this.p2Platform.getRepositories () )
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public P2Platform getLocalPlatform () { if ( localPlatform != null && localPlatform.eIsProxy () ) { InternalEObject oldLocalPlatform = (InternalEObject)localPlatform; localPlatform = (P2Platform)eResolveProxy ( oldLocalPlatform ); if ( localPlatform != oldLocalPlatform ) { InternalEObject newLocalPlatform = (InternalEObject)localPlatform; NotificationChain msgs = oldLocalPlatform.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__LOCAL_PLATFORM, null, null ); if ( newLocalPlatform.eInternalContainer () == null ) { msgs = newLocalPlatform.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__LOCAL_PLATFORM, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, DeploymentPackage.MSI_DEPLOYMENT_MECHANISM__LOCAL_PLATFORM, oldLocalPlatform, localPlatform ) ); } } return localPlatform; }