|
Added
Link Here
|
| 1 |
package org.eclipse.sapphire.ui.diagram.def; |
| 2 |
|
| 3 |
import org.eclipse.sapphire.modeling.IModelElement; |
| 4 |
import org.eclipse.sapphire.modeling.ModelElementType; |
| 5 |
import org.eclipse.sapphire.modeling.Value; |
| 6 |
import org.eclipse.sapphire.modeling.ValueProperty; |
| 7 |
import org.eclipse.sapphire.modeling.annotations.GenerateImpl; |
| 8 |
import org.eclipse.sapphire.modeling.annotations.Label; |
| 9 |
import org.eclipse.sapphire.modeling.xml.annotations.XmlBinding; |
| 10 |
import org.eclipse.sapphire.ui.def.ISapphirePartDef; |
| 11 |
|
| 12 |
@GenerateImpl |
| 13 |
|
| 14 |
public interface IDiagramNodeDef |
| 15 |
|
| 16 |
extends IModelElement, ISapphirePartDef |
| 17 |
|
| 18 |
{ |
| 19 |
ModelElementType TYPE = new ModelElementType( IDiagramNodeDef.class ); |
| 20 |
|
| 21 |
// *** Id *** |
| 22 |
|
| 23 |
@Label( standard = "ID" ) |
| 24 |
@XmlBinding( path = "id" ) |
| 25 |
|
| 26 |
ValueProperty PROP_ID = new ValueProperty( TYPE, "Id" ); |
| 27 |
|
| 28 |
Value<String> getId(); |
| 29 |
void setId( String id ); |
| 30 |
|
| 31 |
// *** ToolPaletteLabel *** |
| 32 |
|
| 33 |
@Label( standard = "tool palette label" ) |
| 34 |
@XmlBinding( path = "toolPaletteLabel" ) |
| 35 |
|
| 36 |
ValueProperty PROP_TOOL_PALETTE_LABEL = new ValueProperty( TYPE, "ToolPaletteLabel" ); |
| 37 |
|
| 38 |
Value<String> getToolPaletteLabel(); |
| 39 |
void setToolPaletteLabel( String paletteLabel ); |
| 40 |
|
| 41 |
// *** ToolPaletteDesc *** |
| 42 |
|
| 43 |
@Label( standard = "tool palette description" ) |
| 44 |
@XmlBinding( path = "toolPaletteDesc" ) |
| 45 |
|
| 46 |
ValueProperty PROP_TOOL_PALETTE_DESC = new ValueProperty( TYPE, "ToolPaletteDesc" ); |
| 47 |
|
| 48 |
Value<String> getToolPaletteDesc(); |
| 49 |
void setToolPaletteDesc( String paletteDesc ); |
| 50 |
|
| 51 |
// *** Property *** |
| 52 |
|
| 53 |
@Label( standard = "property" ) |
| 54 |
@XmlBinding( path = "property" ) |
| 55 |
|
| 56 |
ValueProperty PROP_PROPERTY = new ValueProperty( TYPE, "Property" ); |
| 57 |
|
| 58 |
Value<String> getProperty(); |
| 59 |
void setProperty( String property ); |
| 60 |
|
| 61 |
// *** DynamicLabelProperty *** |
| 62 |
|
| 63 |
@Label( standard = "dynamic label property" ) |
| 64 |
@XmlBinding( path = "dynamic-label/property" ) |
| 65 |
|
| 66 |
ValueProperty PROP_DYNAMIC_LABEL_PROPERTY = new ValueProperty( TYPE, "DynamicLabelProperty" ); |
| 67 |
|
| 68 |
Value<String> getDynamicLabelProperty(); |
| 69 |
void setDynamicLabelProperty( String dynamicLabelProperty ); |
| 70 |
|
| 71 |
} |