⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 connection.java

📁 对eclipse gef进行封装,可以生成图形化编辑器
💻 JAVA
字号:
/**
 * <copyright>
 * </copyright>
 *
 * $Id: Connection.java,v 1.4 2006/12/30 02:45:06 niegy Exp $
 */
package com.primeton.studio.gef.core;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Connection</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.primeton.studio.gef.core.Connection#getSourceNode <em>Source Node</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.Connection#getTargetNode <em>Target Node</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.Connection#getLineType <em>Line Type</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.Connection#getPriority <em>Priority</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.primeton.studio.gef.core.CorePackage#getConnection()
 * @model abstract="true"
 * @generated
 */
public interface Connection extends Element {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String copyright = "";

	/**
	 * Returns the value of the '<em><b>Source Node</b></em>' reference.
	 * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Source Node</em>' reference isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Node</em>' reference.
	 * @see #setSourceNode(NodeElement)
	 * @see com.primeton.studio.gef.core.CorePackage#getConnection_SourceNode()
	 * @model resolveProxies="false"
	 * @generated
	 */
    NodeElement getSourceNode();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.Connection#getSourceNode <em>Source Node</em>}' reference.
	 * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source Node</em>' reference.
	 * @see #getSourceNode()
	 * @generated
	 */
    void setSourceNode(NodeElement value);

	/**
	 * Returns the value of the '<em><b>Target Node</b></em>' reference.
	 * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Target Node</em>' reference isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
	 * @return the value of the '<em>Target Node</em>' reference.
	 * @see #setTargetNode(NodeElement)
	 * @see com.primeton.studio.gef.core.CorePackage#getConnection_TargetNode()
	 * @model resolveProxies="false"
	 * @generated
	 */
    NodeElement getTargetNode();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.Connection#getTargetNode <em>Target Node</em>}' reference.
	 * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Target Node</em>' reference.
	 * @see #getTargetNode()
	 * @generated
	 */
    void setTargetNode(NodeElement value);

	/**
	 * Returns the value of the '<em><b>Line Type</b></em>' attribute.
	 * The literals are from the enumeration {@link com.primeton.studio.gef.core.TLineType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Line Type</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Line Type</em>' attribute.
	 * @see com.primeton.studio.gef.core.TLineType
	 * @see #setLineType(TLineType)
	 * @see com.primeton.studio.gef.core.CorePackage#getConnection_LineType()
	 * @model required="true"
	 * @generated
	 */
	TLineType getLineType();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.Connection#getLineType <em>Line Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Line Type</em>' attribute.
	 * @see com.primeton.studio.gef.core.TLineType
	 * @see #getLineType()
	 * @generated
	 */
	void setLineType(TLineType value);

	/**
	 * Returns the value of the '<em><b>Priority</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Priority</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Priority</em>' attribute.
	 * @see #setPriority(int)
	 * @see com.primeton.studio.gef.core.CorePackage#getConnection_Priority()
	 * @model dataType="org.eclipse.emf.ecore.xml.type.Int"
	 * @generated
	 */
	int getPriority();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.Connection#getPriority <em>Priority</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Priority</em>' attribute.
	 * @see #getPriority()
	 * @generated
	 */
	void setPriority(int value);

} // Connection

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -