本文整理汇总了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;
}
示例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);
}
示例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;
}
示例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));
}
示例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);
}
示例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);
}
示例7: createGmlMultiPointType
import net.opengis.gml.MultiPointType; //导入依赖的package包/类
@Provides
@Override
public MultiPointType createGmlMultiPointType() {
return MultiPointType.Factory.newInstance();
}
示例8: getMultiPoint
import net.opengis.gml.MultiPointType; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public MultiPointType getMultiPoint() {
return multiPoint;
}
示例9: createGmlMultiPointType
import net.opengis.gml.MultiPointType; //导入依赖的package包/类
public MultiPointType createGmlMultiPointType();