|
Lines 12-17
Link Here
|
| 12 |
* Konstantin Komissarchik - initial implementation and ongoing maintenance |
12 |
* Konstantin Komissarchik - initial implementation and ongoing maintenance |
| 13 |
* Gregory Amerson - [358295] Need access to selection in list property editor |
13 |
* Gregory Amerson - [358295] Need access to selection in list property editor |
| 14 |
* Gregory Amerson - [377136] Add Sapphire.Diagram.Node to possible contexts for Sapphire.Add |
14 |
* Gregory Amerson - [377136] Add Sapphire.Diagram.Node to possible contexts for Sapphire.Add |
|
|
15 |
* Gregory Amerson - [346172] Support zoom, print, and save as image actions in the diagram editor |
| 15 |
****************************************************************************** |
16 |
****************************************************************************** |
| 16 |
--> |
17 |
--> |
| 17 |
|
18 |
|
|
Lines 216-221
Link Here
|
| 216 |
<group>Sapphire.Diagram.Appearance</group> |
217 |
<group>Sapphire.Diagram.Appearance</group> |
| 217 |
</action> |
218 |
</action> |
| 218 |
<action> |
219 |
<action> |
|
|
220 |
<id>Sapphire.Diagram.Zoom.In</id> |
| 221 |
<label>zoom In</label> |
| 222 |
<image>org/eclipse/sapphire/ui/actions/ZoomIn.gif</image> |
| 223 |
<description>Zoom in the diagram.</description> |
| 224 |
<location>after:Sapphire.Diagram.Layout</location> |
| 225 |
<group>Sapphire.Diagram.Zoom</group> |
| 226 |
<context>Sapphire.Diagram.Editor</context> |
| 227 |
<context>Sapphire.Diagram.Header</context> |
| 228 |
</action> |
| 229 |
<action> |
| 230 |
<id>Sapphire.Diagram.Zoom.Out</id> |
| 231 |
<label>zoom out</label> |
| 232 |
<image>org/eclipse/sapphire/ui/actions/ZoomOut.gif</image> |
| 233 |
<description>Zoom out the diagram.</description> |
| 234 |
<location>after:Sapphire.Diagram.Zoom.In</location> |
| 235 |
<group>Sapphire.Diagram.Zoom</group> |
| 236 |
<context>Sapphire.Diagram.Editor</context> |
| 237 |
<context>Sapphire.Diagram.Header</context> |
| 238 |
</action> |
| 239 |
<action> |
| 240 |
<id>Sapphire.Diagram.Zoom.Actual</id> |
| 241 |
<label>zoom actual</label> |
| 242 |
<image>org/eclipse/sapphire/ui/actions/ZoomActual.gif</image> |
| 243 |
<description>Zoom the diagram to actual size.</description> |
| 244 |
<location>after:Sapphire.Diagram.Zoom.Out</location> |
| 245 |
<group>Sapphire.Diagram.Zoom</group> |
| 246 |
<context>Sapphire.Diagram.Editor</context> |
| 247 |
<context>Sapphire.Diagram.Header</context> |
| 248 |
</action> |
| 249 |
<action> |
| 219 |
<id>Sapphire.Diagram.Node.Default</id> |
250 |
<id>Sapphire.Diagram.Node.Default</id> |
| 220 |
<context>Sapphire.Diagram.Node</context> |
251 |
<context>Sapphire.Diagram.Node</context> |
| 221 |
<label>default action</label> |
252 |
<label>default action</label> |
|
Lines 247-252
Link Here
|
| 247 |
<location>after:Sapphire.Diagram.SelectAll</location> |
278 |
<location>after:Sapphire.Diagram.SelectAll</location> |
| 248 |
<group>Sapphire.Diagram.SelectAll</group> |
279 |
<group>Sapphire.Diagram.SelectAll</group> |
| 249 |
</action> |
280 |
</action> |
|
|
281 |
<action> |
| 282 |
<id>Sapphire.Diagram.Save.As.Image</id> |
| 283 |
<label>save as image</label> |
| 284 |
<image>org/eclipse/sapphire/ui/actions/SaveAsImage.gif</image> |
| 285 |
<description>Save the diagram as an image.</description> |
| 286 |
<location>after:Sapphire.Diagram.SelectAllNodes</location> |
| 287 |
<group>Sapphire.Diagram.Export</group> |
| 288 |
<context>Sapphire.Diagram.Editor</context> |
| 289 |
<context>Sapphire.Diagram.Header</context> |
| 290 |
</action> |
| 291 |
<action> |
| 292 |
<id>Sapphire.Diagram.Print</id> |
| 293 |
<label>Print</label> |
| 294 |
<image>org/eclipse/sapphire/ui/actions/Print.gif</image> |
| 295 |
<description>Print the diagram.</description> |
| 296 |
<location>after:Sapphire.Diagram.Save.As.Image</location> |
| 297 |
<group>Sapphire.Diagram.Export</group> |
| 298 |
<context>Sapphire.Diagram.Editor</context> |
| 299 |
<context>Sapphire.Diagram.Header</context> |
| 300 |
</action> |
| 250 |
|
301 |
|
| 251 |
<action-handler> |
302 |
<action-handler> |
| 252 |
<action>Sapphire.Browse</action> |
303 |
<action>Sapphire.Browse</action> |
|
Lines 396-402
Link Here
|
| 396 |
<action>Sapphire.Diagram.SelectAllNodes</action> |
447 |
<action>Sapphire.Diagram.SelectAllNodes</action> |
| 397 |
<impl>org.eclipse.sapphire.ui.diagram.actions.DiagramSelectAllNodesActionHandler</impl> |
448 |
<impl>org.eclipse.sapphire.ui.diagram.actions.DiagramSelectAllNodesActionHandler</impl> |
| 398 |
<context>Sapphire.Diagram.Editor</context> |
449 |
<context>Sapphire.Diagram.Editor</context> |
| 399 |
</action-handler> |
450 |
</action-handler> |
|
|
451 |
<action-handler> |
| 452 |
<action>Sapphire.Diagram.Zoom.In</action> |
| 453 |
<context>Sapphire.Diagram.Editor</context> |
| 454 |
<context>Sapphire.Diagram.Header</context> |
| 455 |
<impl>org.eclipse.sapphire.ui.diagram.actions.ZoomInDiagramActionHandler</impl> |
| 456 |
</action-handler> |
| 457 |
<action-handler> |
| 458 |
<action>Sapphire.Diagram.Zoom.Out</action> |
| 459 |
<context>Sapphire.Diagram.Editor</context> |
| 460 |
<context>Sapphire.Diagram.Header</context> |
| 461 |
<impl>org.eclipse.sapphire.ui.diagram.actions.ZoomOutDiagramActionHandler</impl> |
| 462 |
</action-handler> |
| 463 |
<action-handler> |
| 464 |
<action>Sapphire.Diagram.Zoom.Actual</action> |
| 465 |
<context>Sapphire.Diagram.Editor</context> |
| 466 |
<context>Sapphire.Diagram.Header</context> |
| 467 |
<impl>org.eclipse.sapphire.ui.diagram.actions.ZoomActualDiagramActionHandler</impl> |
| 468 |
</action-handler> |
| 400 |
<action-handler-factory> |
469 |
<action-handler-factory> |
| 401 |
<action>Sapphire.Add</action> |
470 |
<action>Sapphire.Add</action> |
| 402 |
<impl>org.eclipse.sapphire.ui.form.editors.masterdetails.internal.OutlineNodeAddActionHandlerFactory</impl> |
471 |
<impl>org.eclipse.sapphire.ui.form.editors.masterdetails.internal.OutlineNodeAddActionHandlerFactory</impl> |