Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » child windows in rcp application(can't understand theirs' purpuse)
child windows in rcp application [message #1711535] Fri, 16 October 2015 18:01 Go to next message
Alex Mising name is currently offline Alex Mising nameFriend
Messages: 3
Registered: July 2009
Junior Member
Hello. I'm trying to build a simple rcp application with several windows. I tried to add several windows in application model and then open by click on a button. A button has listener with the following code::
final MWindow child = window.getWindows().get(0); //Getting the first child window
button.addSelectionListener(new SelectionAdapter() {
	@Override
	public void widgetSelected(SelectionEvent e) {
		child.setVisible(true);
	}
});


This code works only once - when I click the button first time. After closing the child window there is no way to open it any more... What is the proper way to work with child windows? Thank you.
Re: child windows in rcp application [message #1711787 is a reply to message #1711535] Mon, 19 October 2015 16:49 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

e4 has its own dedicated forum at
http://www.eclipse.org/forums/index.php/f/12/ (or
news://news.eclipse.org/eclipse.e4). Please get your Q&A there instead
Previous Topic:Non-Closeable Views are closeable via Menu
Next Topic:Eclipse 4 RCP Users, Roles and Security
Goto Forum:
  


Current Time: Tue Apr 16 11:02:31 GMT 2024

Powered by FUDForum. Page generated in 0.50946 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top