Skip to content

Help with replacing XWT #775

Answered by ptziegler
EnricoBragante asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think it makes sense to have this functionality directly within WindowBuilder. However, you can use the org.eclipse.wb.core.java.rootProcessors extension point to inject your own logic. You need to contribute your own implementation of IRootProcessor which, form what I remember, should be called whenever the Java code has been parsed by WindowBuilder.

If you then apply the ObjectInfoVisitor on the root node, you should go through all UI elements that make up the Java class. This information you can collect and store in whatever format you want.

Would this fit into your workflow?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@EnricoBragante
Comment options

@ptziegler
Comment options

@EnricoBragante
Comment options

@ptziegler
Comment options

Answer selected by EnricoBragante
@EnricoBragante
Comment options

@ptziegler
Comment options

@EnricoBragante
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants