当前位置: 首页>>代码示例>>Java>>正文


Java DiPackage.DOCUMENT_ROOT__LABELED_SHAPE属性代码示例

本文整理汇总了Java中org.eclipse.dd.di.DiPackage.DOCUMENT_ROOT__LABELED_SHAPE属性的典型用法代码示例。如果您正苦于以下问题:Java DiPackage.DOCUMENT_ROOT__LABELED_SHAPE属性的具体用法?Java DiPackage.DOCUMENT_ROOT__LABELED_SHAPE怎么用?Java DiPackage.DOCUMENT_ROOT__LABELED_SHAPE使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.eclipse.dd.di.DiPackage的用法示例。


在下文中一共展示了DiPackage.DOCUMENT_ROOT__LABELED_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__LABELED_SHAPE属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。