Project

General

Profile

Feature #3969

Tooltip describing channel bendpoint creation/removal

Added by Johannes Eder 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/23/2020
Due date:
% Done:

100%

Estimated time:

Description

Create tooltip on channels which describes how bendpoints for re-routing can be created.

A bendpoint can be created via ctrl+left click. It can be removed via ctrl+right click.

History

#1 Updated by Florian Hölzl 6 months ago

  • Status changed from New to In Progress

I will implement an in-place help feature for graphical editors that I already wanted to do.
It will be more reliable than tooltips, which are not that perfect in JavaFX (strange delay and graphics).

#2 Updated by Florian Hölzl 6 months ago

  • Assignee changed from Florian Hölzl to Johannes Eder
  • % Done changed from 0 to 60

In the 3969 kernel branch there is now a feature for in-place help for graphical editors.

During the viewer initialization the help text can be set, e.g., ComponentStructureFXEditor.java

protected void customizeViewer() {
  DiagramViewerFeatures features = viewer.getFeatures();
  features.setIndicatorSpacing(new Dimension2D(12, 12));
  features.setBackgroundColor(LIGHTGRAY);
  features.setHelpText("A two-line\nhelptext.");
}

I did only implement the kernel part. Editor-specific must be done by somebody.

#3 Updated by Johannes Eder 6 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Johannes Eder to Alexander Diewald

#4 Updated by Alexander Diewald 6 months ago

  • Assignee changed from Alexander Diewald to Johannes Eder
  • Target version changed from AF3 2.18 - Feature Freeze to AF3 2.17 Release
  • % Done changed from 60 to 100

Merged. Please close.

#5 Updated by Johannes Eder 6 months ago

  • Status changed from Resolved to Closed
  • Assignee deleted (Johannes Eder)

Also available in: Atom PDF