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


Java GridCoverageType類代碼示例

本文整理匯總了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;
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:14,代碼來源:GridCoverageTypeItemProvider.java

示例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);
}
 
開發者ID:markus1978,項目名稱:citygml4emf,代碼行數:19,代碼來源:GridCoverageTypeItemProvider.java

示例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());
}
 
開發者ID:52North,項目名稱:SES,代碼行數:10,代碼來源:SubstitutionGroupsTest.java

示例4: createGmlGridCoverageType

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

示例5: createGmlGridCoverageType

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


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