當前位置: 首頁>>代碼示例>>Java>>正文


Java MultiPointType類代碼示例

本文整理匯總了Java中net.opengis.gml.MultiPointType的典型用法代碼示例。如果您正苦於以下問題:Java MultiPointType類的具體用法?Java MultiPointType怎麽用?Java MultiPointType使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


MultiPointType類屬於net.opengis.gml包,在下文中一共展示了MultiPointType類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getText

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * This returns the label text for the adapted class.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public String getText(Object object) {
	String label = ((MultiPointType)object).getId();
	return label == null || label.length() == 0 ?
		getString("_UI_MultiPointType_type") :
		getString("_UI_MultiPointType_type") + " " + label;
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:14,代碼來源:MultiPointTypeItemProvider.java

示例2: notifyChanged

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * This handles model notifications by calling {@link #updateChildren} to update any cached
 * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void notifyChanged(Notification notification) {
	updateChildren(notification);

	switch (notification.getFeatureID(MultiPointType.class)) {
		case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBER:
		case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS:
			fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
			return;
	}
	super.notifyChanged(notification);
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:20,代碼來源:MultiPointTypeItemProvider.java

示例3: basicSetMultiPoint

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public NotificationChain basicSetMultiPoint(MultiPointType newMultiPoint, NotificationChain msgs) {
	MultiPointType oldMultiPoint = multiPoint;
	multiPoint = newMultiPoint;
	if (eNotificationRequired()) {
		ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT, oldMultiPoint, newMultiPoint);
		if (msgs == null) msgs = notification; else msgs.add(notification);
	}
	return msgs;
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:15,代碼來源:MultiPointPropertyTypeImpl.java

示例4: setMultiPoint

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setMultiPoint(MultiPointType newMultiPoint) {
	if (newMultiPoint != multiPoint) {
		NotificationChain msgs = null;
		if (multiPoint != null)
			msgs = ((InternalEObject)multiPoint).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT, null, msgs);
		if (newMultiPoint != null)
			msgs = ((InternalEObject)newMultiPoint).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT, null, msgs);
		msgs = basicSetMultiPoint(newMultiPoint, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT, newMultiPoint, newMultiPoint));
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:19,代碼來源:MultiPointPropertyTypeImpl.java

示例5: eSet

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT:
			setMultiPoint((MultiPointType)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ACTUATE:
			setActuate((ActuateType)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ARCROLE:
			setArcrole((String)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__HREF:
			setHref((String)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__REMOTE_SCHEMA:
			setRemoteSchema((String)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ROLE:
			setRole((String)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__SHOW:
			setShow((ShowType)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__TITLE:
			setTitle((String)newValue);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__TYPE:
			setType((String)newValue);
			return;
	}
	super.eSet(featureID, newValue);
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:39,代碼來源:MultiPointPropertyTypeImpl.java

示例6: eUnset

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
	switch (featureID) {
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__MULTI_POINT:
			setMultiPoint((MultiPointType)null);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ACTUATE:
			unsetActuate();
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ARCROLE:
			setArcrole(ARCROLE_EDEFAULT);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__HREF:
			setHref(HREF_EDEFAULT);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__REMOTE_SCHEMA:
			setRemoteSchema(REMOTE_SCHEMA_EDEFAULT);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__ROLE:
			setRole(ROLE_EDEFAULT);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__SHOW:
			unsetShow();
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__TITLE:
			setTitle(TITLE_EDEFAULT);
			return;
		case GmlPackage.MULTI_POINT_PROPERTY_TYPE__TYPE:
			unsetType();
			return;
	}
	super.eUnset(featureID);
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:39,代碼來源:MultiPointPropertyTypeImpl.java

示例7: createGmlMultiPointType

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
@Provides
@Override
public MultiPointType createGmlMultiPointType() {
    return MultiPointType.Factory.newInstance();
}
 
開發者ID:moosbusch,項目名稱:xbLIDO,代碼行數:6,代碼來源:DefaultLidoModule.java

示例8: getMultiPoint

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public MultiPointType getMultiPoint() {
	return multiPoint;
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:9,代碼來源:MultiPointPropertyTypeImpl.java

示例9: createGmlMultiPointType

import net.opengis.gml.MultiPointType; //導入依賴的package包/類
public MultiPointType createGmlMultiPointType(); 
開發者ID:moosbusch,項目名稱:xbLIDO,代碼行數:2,代碼來源:GmlModule.java


注:本文中的net.opengis.gml.MultiPointType類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。