eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder

Synchronize the SwtResourceManager with the JFace ResourceManager

Abierto
#486 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
97
Forks
34
Merge medio
21 h 52 min
PR fusionados (30 d)
25

Descripción

There is quite a lot of overlap between both classes. We should try to extend the JFace class in order to reduce the amount of duplicate code.

Following methods should be compatible:
`getColor(int)` -> `Display.getSystemColor(int)`
`getColor(int, int, int)`, `getColor(RGB)` -> `createColor(ColorDescriptor)`
`getImage(int)` -> `Display.getSystemImage(int)`
`getImage(String)`, `getImage(Class, String)`-> `createImage(ImageDescriptor)`
`getFont(...)` -> `createFont(FontDescriptor)`

The difficult method is going to be the `decorateImage()` method, which we use to quickly construct composite images. JFace doesn't provide a function for such a specific use-case.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.