Ticket #608 (closed Enhancement: fixed)

Opened 11 years ago

Last modified 11 years ago

Webclient: add events for "post delete type"

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.2
Component: DeepaMehta Standard Distribution Version: 4.1.3
Keywords: Cc: dgf, Malte
Complexity: 3 Area: Application Framework / API
Module: deepamehta-webclient

Description

The Webclient should fire 2 further events:

post_delete_topic_type(uri)
post_delete_association_type(uri)

These are needed in conjunction with #246 "Deleted types stay in menus".

Change History

comment:1 Changed 11 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 11 years ago by Jörg Richter

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

Webclient: fix deleting types (#246, #608).

Deleted types disappear from type menus (#246).

2 new client-side events (#608):

post_delete_topic_type
post_delete_association_type

Fired once a type has been deleted. The type URI is passed to the listener.

Webclient API has 2 new methods:

dm4c.do_delete_topic_type(type_uri)
dm4c.do_delete_association_type(type_uri)

REST client has 2 new methods:

dm4c.restc.delete_topic_type(type_uri)
dm4c.restc.delete_association_type(type_uri)

Close #246.
Close #608.

Note: See TracTickets for help on using tickets.