RCP Windows Builder not working [message #1802257] |
Tue, 05 February 2019 13:04 |
Bruce Edgerton Messages: 1 Registered: February 2019 |
Junior Member |
|
|
I am building an RCP application and I have added Windows Builder 1.9.2. When I open a part using windows builder and I select the Design Tab, nothing is displayed in the Windows Builder, all areas are blank (Components, properties and Palette). Is there anything in particular I need to do to get it working?
This is an example part I am loading:
public class HistoryBuilderPart {
private Button button;
@Inject
public HistoryBuilderPart() {
}
@PostConstruct
public void postConstruct(Composite parent, final Shell shell) {
button = new Button(parent, SWT.PUSH);
button.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
MessageDialog.openInformation(shell, "Dynamic", "Dynamics are working");
}
});
button.setText("Validate");
}
}
|
|
|
Powered by
FUDForum. Page generated in 0.03298 seconds