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

📄 nodeelement.java

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

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Node Element</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getParent <em>Parent</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getTargetConnections <em>Target Connections</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getSourceConnections <em>Source Connections</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getLocation <em>Location</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getSize <em>Size</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#isCollapsed <em>Collapsed</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getNodeType <em>Node Type</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#isGrouped <em>Grouped</em>}</li>
 *   <li>{@link com.primeton.studio.gef.core.NodeElement#getNodeLabel <em>Node Label</em>}</li>
 * </ul>
 * </p>
 *
 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement()
 * @model abstract="true"
 * @generated
 */
public interface NodeElement extends Node {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	String copyright = "";

	/**
	 * Returns the value of the '<em><b>Parent</b></em>' containment reference.
	 * The default value is <code>""</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Parent</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Parent</em>' containment reference.
	 * @see #setParent(NodeElement)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_Parent()
	 * @model containment="true"
	 * @generated
	 */
	NodeElement getParent();

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

	/**
	 * Returns the value of the '<em><b>Target Connections</b></em>' reference list.
	 * The list contents are of type {@link com.primeton.studio.gef.core.Connection}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Target Connections</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target Connections</em>' reference list.
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_TargetConnections()
	 * @model type="com.primeton.studio.gef.core.Connection" resolveProxies="false"
	 * @generated
	 */
	EList getTargetConnections();

	/**
	 * Returns the value of the '<em><b>Source Connections</b></em>' containment reference list.
	 * The list contents are of type {@link com.primeton.studio.gef.core.Connection}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Source Connections</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Connections</em>' containment reference list.
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_SourceConnections()
	 * @model type="com.primeton.studio.gef.core.Connection" containment="true"
	 * @generated
	 */
	EList getSourceConnections();

	/**
	 * Returns the value of the '<em><b>Location</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Location</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Location</em>' containment reference.
	 * @see #setLocation(Location)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_Location()
	 * @model containment="true" required="true"
	 * @generated
	 */
	Location getLocation();

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

	/**
	 * Returns the value of the '<em><b>Size</b></em>' containment reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Size</em>' containment reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Size</em>' containment reference.
	 * @see #setSize(Size)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_Size()
	 * @model containment="true" required="true"
	 * @generated
	 */
	Size getSize();

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

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

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.NodeElement#isCollapsed <em>Collapsed</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Collapsed</em>' attribute.
	 * @see #isCollapsed()
	 * @generated
	 */
	void setCollapsed(boolean value);

	/**
	 * Returns the value of the '<em><b>Node Type</b></em>' attribute.
	 * The default value is <code>""</code>.
	 * The literals are from the enumeration {@link com.primeton.studio.gef.core.TNodeType}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Node 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>Node Type</em>' attribute.
	 * @see com.primeton.studio.gef.core.TNodeType
	 * @see #setNodeType(TNodeType)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_NodeType()
	 * @model default="" required="true"
	 * @generated
	 */
	TNodeType getNodeType();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.NodeElement#getNodeType <em>Node Type</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Node Type</em>' attribute.
	 * @see com.primeton.studio.gef.core.TNodeType
	 * @see #getNodeType()
	 * @generated
	 */
	void setNodeType(TNodeType value);

	/**
	 * Returns the value of the '<em><b>Grouped</b></em>' attribute.
	 * The default value is <code>""</code>.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Grouped</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Grouped</em>' attribute.
	 * @see #setGrouped(boolean)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_Grouped()
	 * @model default="" dataType="org.eclipse.emf.ecore.xml.type.Boolean"
	 * @generated
	 */
	boolean isGrouped();

	/**
	 * Sets the value of the '{@link com.primeton.studio.gef.core.NodeElement#isGrouped <em>Grouped</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Grouped</em>' attribute.
	 * @see #isGrouped()
	 * @generated
	 */
	void setGrouped(boolean value);

	/**
	 * Returns the value of the '<em><b>Node Label</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Node Label</em>' reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Node Label</em>' reference.
	 * @see #setNodeLabel(NodeElementLabel)
	 * @see com.primeton.studio.gef.core.CorePackage#getNodeElement_NodeLabel()
	 * @model
	 * @generated
	 */
	NodeElementLabel getNodeLabel();

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

} // NodeElement

⌨️ 快捷键说明

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