close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 13 years ago

Last modified 12 years ago

#1480 new task

aditional functions in MenuManager

Reported by: Pedro Gea Owned by: Jorge
Priority: high Milestone: TOL Packages
Component: GuiTools Version: 3.1
Severity: major Keywords:
Cc:

Description

It is requested the implementation of 3 new members functions in MenuManager:

  • Real replaceMenuCommand( Text Name, NameBlock args ): similar to defineMenuCommand but replacing the option if it is already defined.
  • Real removeMenuCommand( Text Name ): remove a previously defined option.
  • Real findMenuCommand( Text Name ): return the index > 0 of the option is defined or 0 in other case.

Change History (4)

comment:1 Changed 13 years ago by Jorge

(In [4447]) refs #1244, #1364, #1480, cambios en los test para adaptarse a la reimplementación de MenuManager.

comment:2 Changed 13 years ago by Jorge

(In [4448]) refs #1244, #1364, #1480, reimplementación de MenuManager:

  • creación apropiada opciones de menu delegadas
  • redefinición de imagenes y opciones de menu
  • unificación de las etiquetas de menu, se usa el mismo método para crear etiquetas de submenu como etiquetas de tipo de dato.

comment:3 Changed 13 years ago by Jorge

(In [4477]) refs #1480, se corrige un error cuando se quiere asociar a un tipo de datos un opción ya creada y asociada a otro tipo.

comment:4 Changed 12 years ago by Jorge

(In [5017]) refs #1244, #1480 set the following functions as deprecated:

  • defineTypeLabel
  • delegateSubmenu
  • defineDelegatedSubmenus
Note: See TracTickets for help on using tickets.