本文整理汇总了Java中net.opengis.gml.PointArrayPropertyType类的典型用法代码示例。如果您正苦于以下问题:Java PointArrayPropertyType类的具体用法?Java PointArrayPropertyType怎么用?Java PointArrayPropertyType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PointArrayPropertyType类属于net.opengis.gml包,在下文中一共展示了PointArrayPropertyType类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: notifyChanged
import net.opengis.gml.PointArrayPropertyType; //导入依赖的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(PointArrayPropertyType.class)) {
case GmlPackage.POINT_ARRAY_PROPERTY_TYPE__POINT:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
示例2: basicSetPointMembers
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetPointMembers(PointArrayPropertyType newPointMembers, NotificationChain msgs) {
PointArrayPropertyType oldPointMembers = pointMembers;
pointMembers = newPointMembers;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS, oldPointMembers, newPointMembers);
if (msgs == null) msgs = notification; else msgs.add(notification);
}
return msgs;
}
示例3: setPointMembers
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setPointMembers(PointArrayPropertyType newPointMembers) {
if (newPointMembers != pointMembers) {
NotificationChain msgs = null;
if (pointMembers != null)
msgs = ((InternalEObject)pointMembers).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS, null, msgs);
if (newPointMembers != null)
msgs = ((InternalEObject)newPointMembers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS, null, msgs);
msgs = basicSetPointMembers(newPointMembers, msgs);
if (msgs != null) msgs.dispatch();
}
else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS, newPointMembers, newPointMembers));
}
示例4: eSet
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBER:
getPointMember().clear();
getPointMember().addAll((Collection<? extends PointPropertyType>)newValue);
return;
case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS:
setPointMembers((PointArrayPropertyType)newValue);
return;
}
super.eSet(featureID, newValue);
}
示例5: eUnset
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBER:
getPointMember().clear();
return;
case GmlPackage.MULTI_POINT_TYPE__POINT_MEMBERS:
setPointMembers((PointArrayPropertyType)null);
return;
}
super.eUnset(featureID);
}
示例6: createGmlPointArrayPropertyType
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
@Provides
@Override
public PointArrayPropertyType createGmlPointArrayPropertyType() {
return PointArrayPropertyType.Factory.newInstance();
}
示例7: getPointMembers
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PointArrayPropertyType getPointMembers() {
return pointMembers;
}
示例8: createGmlPointArrayPropertyType
import net.opengis.gml.PointArrayPropertyType; //导入依赖的package包/类
public PointArrayPropertyType createGmlPointArrayPropertyType();