本文整理汇总了Java中net.opengis.gml.GridCoverageType类的典型用法代码示例。如果您正苦于以下问题:Java GridCoverageType类的具体用法?Java GridCoverageType怎么用?Java GridCoverageType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
GridCoverageType类属于net.opengis.gml包,在下文中一共展示了GridCoverageType类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getText
import net.opengis.gml.GridCoverageType; //导入依赖的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 = ((GridCoverageType)object).getId();
return label == null || label.length() == 0 ?
getString("_UI_GridCoverageType_type") :
getString("_UI_GridCoverageType_type") + " " + label;
}
示例2: notifyChanged
import net.opengis.gml.GridCoverageType; //导入依赖的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(GridCoverageType.class)) {
case GmlPackage.GRID_COVERAGE_TYPE__GRID_DOMAIN:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
示例3: createFeatureCollectionWithGridCoverage
import net.opengis.gml.GridCoverageType; //导入依赖的package包/类
private void createFeatureCollectionWithGridCoverage() {
FeatureCollectionDocument doc = FeatureCollectionDocument.Factory.newInstance();
FeaturePropertyType member = doc.addNewFeatureCollection().addNewFeatureMember();
XmlUtil.qualifySubstitutionGroup(member.addNewFeature(), GridCoverageDocument.type.getDocumentElementName(), GridCoverageType.type);
XmlUtil.qualifySubstitutionGroup(doc.getFeatureCollection(), SamplingFeatureCollectionDocument.type.getDocumentElementName());
logger.debug(doc.xmlText(options));
assertTrue(XMLBeansParser.validate(doc).isEmpty());
}
示例4: createGmlGridCoverageType
import net.opengis.gml.GridCoverageType; //导入依赖的package包/类
@Provides
@Override
public GridCoverageType createGmlGridCoverageType() {
return GridCoverageType.Factory.newInstance();
}
示例5: createGmlGridCoverageType
import net.opengis.gml.GridCoverageType; //导入依赖的package包/类
public GridCoverageType createGmlGridCoverageType();