Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2019-09-10 13:28:33 +0000
committerPatrick Tessier2019-09-17 10:06:39 +0000
commit81f9352ef932e3b11457de32c695bc85cb2b733c (patch)
tree557e530b4b1967765b1a6501acb13d124bc2c1f6
parent4822b55a24f5c54c9af9e2719c6ed7e68d61a73a (diff)
downloadorg.eclipse.papyrus-81f9352ef932e3b11457de32c695bc85cb2b733c.tar.gz
org.eclipse.papyrus-81f9352ef932e3b11457de32c695bc85cb2b733c.tar.xz
org.eclipse.papyrus-81f9352ef932e3b11457de32c695bc85cb2b733c.zip
Bug 550902: [Doc] The papyrus embedded documentation must be the same
than the documentation on the wiki -Add Key Bindings documentation from wiki Change-Id: Ic190bc5c50f2505a604e83ec7790028dec05f26a Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/plugin.xml10
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/images/keyBindings/PreferencesPapyrusKeyBindings.jpgbin0 -> 126015 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindings.mediawiki94
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindingsDefinition-toc.xml6
4 files changed, 109 insertions, 1 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/plugin.xml b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/plugin.xml
index fc6e0dfff5d..3e9cd702500 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/plugin.xml
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/plugin.xml
@@ -20,6 +20,10 @@
primary="false">
</toc>
<toc
+ file="target/generated-eclipse-help/keyBindings-toc.xml"
+ primary="false">
+ </toc>
+ <toc
file="target/generated-eclipse-help/connectionDecorationCustomizationMain.xml"
primary="false">
</toc>
@@ -42,6 +46,10 @@
<toc
file="target/generated-eclipse-help/diagramPreferences-userDoc-toc.xml"
primary="false">
- </toc>
+ </toc>
+ <toc
+ file="target/generated-eclipse-help/keyBindingsDefinition-toc.xml"
+ primary="false">
+ </toc>
</extension>
</plugin>
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/images/keyBindings/PreferencesPapyrusKeyBindings.jpg b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/images/keyBindings/PreferencesPapyrusKeyBindings.jpg
new file mode 100644
index 00000000000..7d44bc4b8d8
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/images/keyBindings/PreferencesPapyrusKeyBindings.jpg
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindings.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindings.mediawiki
new file mode 100644
index 00000000000..4f104e544c5
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindings.mediawiki
@@ -0,0 +1,94 @@
+= List of Key bindings =
+
+== Key Bindings ==
+You may find them in Preferences > Keys
+
+[[File:images/keyBindings/PreferencesPapyrusKeyBindings.jpg]]
+
+== Delete key binding behaviors ==
+
+Delete should have some behaviors:
+
+{| class="wikitable" border="1" cellspacing="0"
+!
+! Delete From Model (DEL)
+! Delete From Diagram (SHIFT+DEL)
+! Example
+! Delete From Model Action (DEL)
+|-
+| View with semantic
+| style="text-align: center;" | Delete
+| style="text-align: center;" | Hide
+| style="text-align: center;" | Class
+| style="text-align: center;" |
+|-
+| View with no semantic, but representing a feature
+| style="text-align: center;" | Delete: remove the reference from the feature
+| style="text-align: center;" | Hide
+| style="text-align: center;" | Comment Link, Constraint Links (context and contrainedElement), DurationObservation and TimeObservation Link
+| style="text-align: center;" | Remove the link and remove the reference from the feature
+|-
+| View with no semantic
+| style="text-align: center;" | Hide
+| style="text-align: center;" | Hide
+| style="text-align: center;" | ?
+| style="text-align: center;" | Remove the link
+|-
+| View with semantic Read Only
+| style="text-align: center;" | Forbidden
+| style="text-align: center;" | Hide
+| style="text-align: center;" | PimitivesTypes::Integer
+| style="text-align: center;" |
+|-
+| Metaclass All Diagram (Read-Only)
+| style="text-align: center;" | Hide
+| style="text-align: center;" | Hide
+| style="text-align: center;" | Import Metaclass (Profile Diagram)
+| style="text-align: center;" | Keep the element imported, destroy the view of the metaclass
+|}
+
+== Mouse Key Bindings ==
+There is no easy way to list them (java hard coded)
+
+This table contains some of the mouse bindings:
+{| class="wikitable" border="1" cellspacing="0"
+! Binding
+! Location
+! Action
+|-
+| CTRL+Left Mouse Click
+| Diagram
+| Allow multi selection
+|-
+| Shift+Left Mouse Click
+| Diagram
+| Allow multi selection
+|-
+| Shift + Drag & Drop
+| Diagram
+| Move along a line (Horizontal/Vertical/Diagonal)
+|-
+| Double click
+| Diagram
+| Navigate to hyperlink(s)
+|-
+| Double click
+| Diagram
+| Open hyperlink dialog (If no hyperlink exists)
+|-
+| Ctrl + Mouse wheel
+| Diagram
+| Zoom in (Wheel Up) or out (Wheel Down)
+|-
+| Drag & Drop
+| Model Explorer to Diagram
+| Display the element
+|-
+| Ctrl + Drag & Drop
+| Model Explorer to Diagram
+| Display the element, including its child nodes
+|-
+| ...
+|
+|
+|}
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindingsDefinition-toc.xml b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindingsDefinition-toc.xml
new file mode 100644
index 00000000000..d9d856a8f6d
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.common.doc/resource/keyBindingsDefinition-toc.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<toc label="Papyrus Key Bindings" link_to="../org.eclipse.papyrus.infra.doc/toc.xml#PapyrusTipsAndTricks">
+ <topic label="Key Bindings">
+ <anchor id="KeyBindings"/>
+ <link toc="target/generated-eclipse-help/keyBindings-toc.xml"/></topic>
+</toc>

Back to the top