Commit 5a1225bd authored by Andreas Bayha's avatar Andreas Bayha
Browse files

Fixed tool tip issue for windows systems.

refs 3280
parent 7ea7590d
AdvancedTreeViewerEditorBase.java 3bb67c52886069379765289885df3b23790b88c9 GREEN
AllocationDiagramEditorBase.java 3c03b9220f1c342ded673d6d1b2fd2c01b57fba6 GREEN
CommonDiagramEditorBase.java 3d83b0b5eb1081b0a85e88d291062f215a7ca74e GREEN
CommonDiagramEditorBase.java 438babd95dd7a185bd32246cb8180b00bb53f18a GREEN
ConstraintBasedProcessEditor.java ff7253ad26f25f681e09a36d0527b0214df08d30 RED
DiagramEditorBase.java 3d2bb40e18548ebca0dfdd78f094598e5ee298d1 GREEN
DiagramKeyHandler.java 9c59eca862c9f878da7cbf7c220f26b38737095c GREEN
......
......@@ -211,7 +211,9 @@ abstract class CommonDiagramEditorBase<T extends EObject> extends GEFEditorBase<
String hint = "";
if(model instanceof EObject && shouldDisplayCreateConnectionHint((EObject)model)) {
String key = Platform.getOS().equals(Platform.OS_LINUX) ? "Ctrl" : "Alt";
String key =
Platform.getOS().equals(Platform.OS_LINUX) ||
Platform.getOS().equals(Platform.OS_WIN32) ? "Ctrl" : "Alt";
String commonStr = " by pressing " + key + " and dragging";
if(model instanceof IConnector) {
hint = "Link two connectors" + commonStr + "from source to target";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment