Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 183320 Details for
Bug 330482
[diagram] Support diagram editing in Sapphire UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
First cut of the diagram def files
patch_diagram_def.txt (text/plain), 7.09 KB, created by
Shenxue Zhou
on 2010-11-17 12:14:12 EST
(
hide
)
Description:
First cut of the diagram def files
Filename:
MIME Type:
Creator:
Shenxue Zhou
Created:
2010-11-17 12:14:12 EST
Size:
7.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.sapphire.ui >Index: src/org/eclipse/sapphire/ui/diagram/def/IDiagramDef.java >=================================================================== >RCS file: src/org/eclipse/sapphire/ui/diagram/def/IDiagramDef.java >diff -N src/org/eclipse/sapphire/ui/diagram/def/IDiagramDef.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/sapphire/ui/diagram/def/IDiagramDef.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,40 @@ >+package org.eclipse.sapphire.ui.diagram.def; >+ >+import org.eclipse.sapphire.modeling.IModelElement; >+import org.eclipse.sapphire.modeling.ListProperty; >+import org.eclipse.sapphire.modeling.ModelElementList; >+import org.eclipse.sapphire.modeling.ModelElementType; >+import org.eclipse.sapphire.modeling.annotations.GenerateImpl; >+import org.eclipse.sapphire.modeling.annotations.Type; >+import org.eclipse.sapphire.modeling.xml.annotations.XmlListBinding; >+import org.eclipse.sapphire.modeling.xml.annotations.XmlRootBinding; >+ >+@GenerateImpl >+@XmlRootBinding( elementName = "definition" ) >+ >+public interface IDiagramDef >+ >+ extends IModelElement >+ >+{ >+ ModelElementType TYPE = new ModelElementType( IDiagramDef.class); >+ >+ // *** DiagramNodeDefs *** >+ >+ @Type( base = IDiagramNodeDef.class ) >+ @XmlListBinding( mappings = @XmlListBinding.Mapping( element = "node", type = IDiagramNodeDef.class ) ) >+ >+ ListProperty PROP_DIAGRAM_NODE_DEFS = new ListProperty( TYPE, "DiagramNodeDefs" ); >+ >+ ModelElementList<IDiagramNodeDef> getDiagramNodeDefs(); >+ >+ // *** DiagramLinkDefs *** >+ >+ @Type( base = IDiagramLinkDef.class ) >+ @XmlListBinding( mappings = @XmlListBinding.Mapping( element = "link", type = IDiagramLinkDef.class ) ) >+ >+ ListProperty PROP_DIAGRAM_LINK_DEFS = new ListProperty( TYPE, "DiagramLinkDefs" ); >+ >+ ModelElementList<IDiagramLinkDef> getDiagramLinkDefs(); >+ >+} >Index: src/org/eclipse/sapphire/ui/diagram/def/IDiagramLinkDef.java >=================================================================== >RCS file: src/org/eclipse/sapphire/ui/diagram/def/IDiagramLinkDef.java >diff -N src/org/eclipse/sapphire/ui/diagram/def/IDiagramLinkDef.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/sapphire/ui/diagram/def/IDiagramLinkDef.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,66 @@ >+package org.eclipse.sapphire.ui.diagram.def; >+ >+import org.eclipse.sapphire.modeling.IModelElement; >+import org.eclipse.sapphire.modeling.ModelElementType; >+import org.eclipse.sapphire.modeling.Value; >+import org.eclipse.sapphire.modeling.ValueProperty; >+import org.eclipse.sapphire.modeling.annotations.Label; >+import org.eclipse.sapphire.modeling.xml.annotations.XmlBinding; >+ >+public interface IDiagramLinkDef >+ >+ extends IModelElement >+ >+{ >+ ModelElementType TYPE = new ModelElementType( IDiagramLinkDef.class ); >+ >+ // *** Id *** >+ >+ @Label( standard = "ID" ) >+ @XmlBinding( path = "id" ) >+ >+ ValueProperty PROP_ID = new ValueProperty( TYPE, "Id" ); >+ >+ Value<String> getId(); >+ void setId( String id ); >+ >+ // *** Property *** >+ >+ @Label( standard = "property" ) >+ @XmlBinding( path = "property" ) >+ >+ ValueProperty PROP_PROPERTY = new ValueProperty( TYPE, "Property" ); >+ >+ Value<String> getProperty(); >+ void setProperty( String property ); >+ >+ // *** DynamicLabelProperty *** >+ >+ @Label( standard = "dynamic label property" ) >+ @XmlBinding( path = "dynamic-label/property" ) >+ >+ ValueProperty PROP_DYNAMIC_LABEL_PROPERTY = new ValueProperty( TYPE, "DynamicLabelProperty" ); >+ >+ Value<String> getDynamicLabelProperty(); >+ void setDynamicLabelProperty( String dynamicLabelProperty ); >+ >+ // *** SourceProperty *** >+ >+ @Label( standard = "source property" ) >+ @XmlBinding( path = "source/property" ) >+ >+ ValueProperty PROP_SOURCE_PROPERTY = new ValueProperty( TYPE, "SourceProperty" ); >+ >+ Value<String> getSourceProperty(); >+ void setSourceProperty( String sourceProperty ); >+ >+ // *** TargetProperty *** >+ >+ @Label( standard = "target property" ) >+ @XmlBinding( path = "target/property" ) >+ >+ ValueProperty PROP_TARGET_PROPERTY = new ValueProperty( TYPE, "TargetProperty" ); >+ >+ Value<String> getTargetProperty(); >+ void setTargetProperty( String targetProperty ); >+} >Index: src/org/eclipse/sapphire/ui/diagram/def/IDiagramNodeDef.java >=================================================================== >RCS file: src/org/eclipse/sapphire/ui/diagram/def/IDiagramNodeDef.java >diff -N src/org/eclipse/sapphire/ui/diagram/def/IDiagramNodeDef.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/sapphire/ui/diagram/def/IDiagramNodeDef.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,71 @@ >+package org.eclipse.sapphire.ui.diagram.def; >+ >+import org.eclipse.sapphire.modeling.IModelElement; >+import org.eclipse.sapphire.modeling.ModelElementType; >+import org.eclipse.sapphire.modeling.Value; >+import org.eclipse.sapphire.modeling.ValueProperty; >+import org.eclipse.sapphire.modeling.annotations.GenerateImpl; >+import org.eclipse.sapphire.modeling.annotations.Label; >+import org.eclipse.sapphire.modeling.xml.annotations.XmlBinding; >+import org.eclipse.sapphire.ui.def.ISapphirePartDef; >+ >+@GenerateImpl >+ >+public interface IDiagramNodeDef >+ >+ extends IModelElement, ISapphirePartDef >+ >+{ >+ ModelElementType TYPE = new ModelElementType( IDiagramNodeDef.class ); >+ >+ // *** Id *** >+ >+ @Label( standard = "ID" ) >+ @XmlBinding( path = "id" ) >+ >+ ValueProperty PROP_ID = new ValueProperty( TYPE, "Id" ); >+ >+ Value<String> getId(); >+ void setId( String id ); >+ >+ // *** ToolPaletteLabel *** >+ >+ @Label( standard = "tool palette label" ) >+ @XmlBinding( path = "toolPaletteLabel" ) >+ >+ ValueProperty PROP_TOOL_PALETTE_LABEL = new ValueProperty( TYPE, "ToolPaletteLabel" ); >+ >+ Value<String> getToolPaletteLabel(); >+ void setToolPaletteLabel( String paletteLabel ); >+ >+ // *** ToolPaletteDesc *** >+ >+ @Label( standard = "tool palette description" ) >+ @XmlBinding( path = "toolPaletteDesc" ) >+ >+ ValueProperty PROP_TOOL_PALETTE_DESC = new ValueProperty( TYPE, "ToolPaletteDesc" ); >+ >+ Value<String> getToolPaletteDesc(); >+ void setToolPaletteDesc( String paletteDesc ); >+ >+ // *** Property *** >+ >+ @Label( standard = "property" ) >+ @XmlBinding( path = "property" ) >+ >+ ValueProperty PROP_PROPERTY = new ValueProperty( TYPE, "Property" ); >+ >+ Value<String> getProperty(); >+ void setProperty( String property ); >+ >+ // *** DynamicLabelProperty *** >+ >+ @Label( standard = "dynamic label property" ) >+ @XmlBinding( path = "dynamic-label/property" ) >+ >+ ValueProperty PROP_DYNAMIC_LABEL_PROPERTY = new ValueProperty( TYPE, "DynamicLabelProperty" ); >+ >+ Value<String> getDynamicLabelProperty(); >+ void setDynamicLabelProperty( String dynamicLabelProperty ); >+ >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 330482
:
183320
|
183327
|
183361
|
183403
|
184197
|
184669
|
185156
|
185573
|
185574
|
185576
|
185679
|
186532
|
186776
|
186777