assertj / assertj/assertj-swing

Provide support for lazy-loading JMenus (issue 207)

Abierto
#35 1 comentario 0 reacciones 0 asignados Ver en GitHub
import from fest-swing Improvement Major
Lenguaje dominante
Java
Estrellas
121
Forks
52
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

_Issue by **[Alex Ruiz](http://jira.codehaus.org/secure/ViewProfile.jspa?name=alexruiz)** from Sun, 1 Mar 2009 15:10:34 -0600_
_Originally opened as http://jira.codehaus.org/browse/FEST-4_

---

From Csabi:

I have a MenuListener which reconstructs it's submenus in #menuSelected. The problem is that menuItemWithPath tries to find the last menu item from the path given to it without gradually activating previous menu items.

I think that menuItemWithPath should activate each menu item from the path given to it, one after the other, just like a human user would do.

The situation is similar in the case of trees. Nodes could be added upon expansion of a parent node, for example. I haven't checked if FEST currently takes into account this possibility, but I think it doesn't. Whenever paths are involved JTreeFixture should proceed as follows: it should gradually make the path visible, for example, given the path (A, B, C, D) it should make visible the paths (A), then (A, B), then (A, B, C), and finally the entire path, (A, B, C, D).

Thanks,

Csabi


Original report: Issue 207 (Google Code)

---

votes (original issue): 0
watches (original issue): 0

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza siguiendo menuItemWithPath y los puntos de entrada del manejo de rutas de JTreeFixture; después, inspecciona cómo MenuListener#menuSelected expone los submenús creados de forma diferida. El cambio estará terminado cuando las rutas de menú se activen progresivamente para que los JMenus y los nodos del árbol creados de forma diferida estén disponibles en cada paso, incluidos los recorridos como (A, B, C, D).

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
desktop, testing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.