Ticket #314 (closed Enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Once association is created Edit mode should be entered automatically

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.1
Component: DeepaMehta Standard Distribution Version: 4.0.12
Keywords: Cc: dgf, Malte, joern, tsc
Complexity: 2 Area: GUI / Usability
Module: deepamehta-webclient

Description

Analog to topic creation.

Change History

comment:1 Changed 8 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 8 years ago by jri

  • Cc joern added

comment:3 Changed 8 years ago by Jörg Richter

  • Status changed from accepted to closed
  • Resolution set to fixed

Webclient: creating assoc enters Edit mode (#314).

Once an association is created the Edit mode is entered automatically.

Close ticket 314.

COMPATIBILITY NOTES:

1) dm4c.show_association() has changed semantics:
the optional 2nd parameter "action" (string) replaces the "refresh_canvas" (boolean) parameter.
"action" controls the display of the detail panel. Specify "none" (default), "show", or "edit".
The dm4c.show_association() signature is now analog to dm4c.show_topic().

=> If your plugin calls dm4c.show_association() with 2 parameters it must be adapted.
Drop the 2nd parameter and possibly call dm4c.canvas.refresh() manually.

2) TopicmapRenderer?'s add_association() has changed semantics:
the optional 2nd parameter "do_select" (boolean) replaces the "refresh_canvas" parameter.
If "do_select" is true the new association is selected. The canvas is not refreshed.
The add_association() signature is now analog to add_topic().

Only if your plugin provides a custom TopicmapRenderer? implementation it must possibly be adapted.

Note: See TracTickets for help on using tickets.