Schlagwort: Window

RCP Application Set Title of Application Window

To dynamically set the title of a RCP application, the following code snippet is useful: private String fileName = "unknown.daf"; public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) { IWorkbenchWindowConfigurer windowConfigurer = configurer; String title = "DA-FormMaker – " + fileName; windowConfigurer.setTitle(title); return new ApplicationWorkbenchWindowAdvisor(configurer); } The window title can be set via the “_IWorkbenchWindowConfigurer”. You can get a …

weiterlesen »