当前位置: 首页>>代码示例>>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;未经允许,请勿转载。