Announcement Announcement Module
Collapse
No announcement yet.
setting title of dialogpage dynamically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • setting title of dialogpage dynamically

    Hello

    I'm trying to alter the title of a dialog page on the fly:

    protected JComponent createControl() {
    JPanel view = new JPanel(new BorderLayout());
    page = new FormBackedDialogPage(form);
    view.add(new
    JScrollPane(DialogPageUtils.createStandardView(pag e,
    form.getCommitCommand(),
    form.getRevertCommand())),
    BorderLayout.CENTER);
    ...
    public void onApplicationEvent(ApplicationEvent event) {
    page.setTitle("new title");
    ...

    page.setTitle has no effect on the TitlePane created by DialogPageUtils.createStandardView

    Would it be possible to have a addTitleMonitor added to DialogPageUtils.createTitlePane?

    BR
    Carsten
Working...
X