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


Java DiPackage.DOCUMENT_ROOT__SHAPE屬性代碼示例

本文整理匯總了Java中org.eclipse.dd.di.DiPackage.DOCUMENT_ROOT__SHAPE屬性的典型用法代碼示例。如果您正苦於以下問題:Java DiPackage.DOCUMENT_ROOT__SHAPE屬性的具體用法?Java DiPackage.DOCUMENT_ROOT__SHAPE怎麽用?Java DiPackage.DOCUMENT_ROOT__SHAPE使用的例子?那麽, 這裏精選的屬性代碼示例或許可以為您提供幫助。您也可以進一步了解該屬性所在org.eclipse.dd.di.DiPackage的用法示例。


在下文中一共展示了DiPackage.DOCUMENT_ROOT__SHAPE屬性的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: notifyChanged

/**
 * 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(DocumentRoot.class)) {
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
	case DiPackage.DOCUMENT_ROOT__EDGE:
	case DiPackage.DOCUMENT_ROOT__LABEL:
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
	case DiPackage.DOCUMENT_ROOT__NODE:
	case DiPackage.DOCUMENT_ROOT__PLANE:
	case DiPackage.DOCUMENT_ROOT__SHAPE:
	case DiPackage.DOCUMENT_ROOT__STYLE:
		fireNotifyChanged(new ViewerNotification(notification,
				notification.getNotifier(), true, false));
		return;
	}
	super.notifyChanged(notification);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:28,代碼來源:DocumentRootItemProvider.java

示例2: eInverseRemove

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd,
		int featureID, NotificationChain msgs) {
	switch (featureID) {
	case DiPackage.DOCUMENT_ROOT__MIXED:
		return ((InternalEList<?>) getMixed()).basicRemove(otherEnd, msgs);
	case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
		return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
				.eMap()).basicRemove(otherEnd, msgs);
	case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
		return ((InternalEList<?>) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
				.eMap()).basicRemove(otherEnd, msgs);
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
		return basicSetDiagramElement(null, msgs);
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
		return basicSetDiagram(null, msgs);
	case DiPackage.DOCUMENT_ROOT__EDGE:
		return basicSetEdge(null, msgs);
	case DiPackage.DOCUMENT_ROOT__LABEL:
		return basicSetLabel(null, msgs);
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
		return basicSetLabeledEdge(null, msgs);
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
		return basicSetLabeledShape(null, msgs);
	case DiPackage.DOCUMENT_ROOT__NODE:
		return basicSetNode(null, msgs);
	case DiPackage.DOCUMENT_ROOT__PLANE:
		return basicSetPlane(null, msgs);
	case DiPackage.DOCUMENT_ROOT__SHAPE:
		return basicSetShape(null, msgs);
	case DiPackage.DOCUMENT_ROOT__STYLE:
		return basicSetStyle(null, msgs);
	}
	return super.eInverseRemove(otherEnd, featureID, msgs);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:40,代碼來源:DocumentRootImpl.java

示例3: eIsSet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public boolean eIsSet(int featureID) {
	switch (featureID) {
	case DiPackage.DOCUMENT_ROOT__MIXED:
		return mixed != null && !mixed.isEmpty();
	case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
		return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
	case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
		return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
		return getDiagramElement() != null;
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
		return getDiagram() != null;
	case DiPackage.DOCUMENT_ROOT__EDGE:
		return getEdge() != null;
	case DiPackage.DOCUMENT_ROOT__LABEL:
		return getLabel() != null;
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
		return getLabeledEdge() != null;
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
		return getLabeledShape() != null;
	case DiPackage.DOCUMENT_ROOT__NODE:
		return getNode() != null;
	case DiPackage.DOCUMENT_ROOT__PLANE:
		return getPlane() != null;
	case DiPackage.DOCUMENT_ROOT__SHAPE:
		return getShape() != null;
	case DiPackage.DOCUMENT_ROOT__STYLE:
		return getStyle() != null;
	}
	return super.eIsSet(featureID);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:37,代碼來源:DocumentRootImpl.java

示例4: eGet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
	switch (featureID) {
	case DiPackage.DOCUMENT_ROOT__MIXED:
		if (coreType)
			return getMixed();
		return ((FeatureMap.Internal) getMixed()).getWrapper();
	case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
		if (coreType)
			return ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
					.eMap();
		else
			return getXMLNSPrefixMap();
	case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
		if (coreType)
			return ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
					.eMap();
		else
			return getXSISchemaLocation();
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
		return getDiagramElement();
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
		return getDiagram();
	case DiPackage.DOCUMENT_ROOT__EDGE:
		return getEdge();
	case DiPackage.DOCUMENT_ROOT__LABEL:
		return getLabel();
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
		return getLabeledEdge();
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
		return getLabeledShape();
	case DiPackage.DOCUMENT_ROOT__NODE:
		return getNode();
	case DiPackage.DOCUMENT_ROOT__PLANE:
		return getPlane();
	case DiPackage.DOCUMENT_ROOT__SHAPE:
		return getShape();
	case DiPackage.DOCUMENT_ROOT__STYLE:
		return getStyle();
	}
	return super.eGet(featureID, resolve, coreType);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:47,代碼來源:DocumentRootImpl.java

示例5: eSet

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
	switch (featureID) {
	case DiPackage.DOCUMENT_ROOT__MIXED:
		((FeatureMap.Internal) getMixed()).set(newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
		((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXMLNSPrefixMap())
				.eMap()).set(newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
		((EStructuralFeature.Setting) ((EMap.InternalMapView<String, String>) getXSISchemaLocation())
				.eMap()).set(newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
		setDiagramElement((DiagramElement) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
		setDiagram((Diagram) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__EDGE:
		setEdge((Edge) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__LABEL:
		setLabel((Label) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
		setLabeledEdge((LabeledEdge) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
		setLabeledShape((LabeledShape) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__NODE:
		setNode((Node) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__PLANE:
		setPlane((Plane) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__SHAPE:
		setShape((Shape) newValue);
		return;
	case DiPackage.DOCUMENT_ROOT__STYLE:
		setStyle((Style) newValue);
		return;
	}
	super.eSet(featureID, newValue);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:52,代碼來源:DocumentRootImpl.java

示例6: eUnset

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eUnset(int featureID) {
	switch (featureID) {
	case DiPackage.DOCUMENT_ROOT__MIXED:
		getMixed().clear();
		return;
	case DiPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
		getXMLNSPrefixMap().clear();
		return;
	case DiPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
		getXSISchemaLocation().clear();
		return;
	case DiPackage.DOCUMENT_ROOT__DIAGRAM_ELEMENT:
		setDiagramElement((DiagramElement) null);
		return;
	case DiPackage.DOCUMENT_ROOT__DIAGRAM:
		setDiagram((Diagram) null);
		return;
	case DiPackage.DOCUMENT_ROOT__EDGE:
		setEdge((Edge) null);
		return;
	case DiPackage.DOCUMENT_ROOT__LABEL:
		setLabel((Label) null);
		return;
	case DiPackage.DOCUMENT_ROOT__LABELED_EDGE:
		setLabeledEdge((LabeledEdge) null);
		return;
	case DiPackage.DOCUMENT_ROOT__LABELED_SHAPE:
		setLabeledShape((LabeledShape) null);
		return;
	case DiPackage.DOCUMENT_ROOT__NODE:
		setNode((Node) null);
		return;
	case DiPackage.DOCUMENT_ROOT__PLANE:
		setPlane((Plane) null);
		return;
	case DiPackage.DOCUMENT_ROOT__SHAPE:
		setShape((Shape) null);
		return;
	case DiPackage.DOCUMENT_ROOT__STYLE:
		setStyle((Style) null);
		return;
	}
	super.eUnset(featureID);
}
 
開發者ID:logicalhacking,項目名稱:SecureBPMN,代碼行數:50,代碼來源:DocumentRootImpl.java


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