Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to access to a Dialog from another classes
icon5.gif  How to access to a Dialog from another classes [message #1702460] Wed, 22 July 2015 13:11
Luca Coraggio is currently offline Luca CoraggioFriend
Messages: 2
Registered: August 2014
Junior Member
Hi, i've a class that extends Dialog that represents my view part. From another class (controller) i need to referentiate the Dialog actually opened/shown. How i can do that?
In other cases i've reached a view in this mode:
PlatformUI.getWorkbench()
         .getActiveWorkbenchWindow().getActivePage()
	  .findView(MyView.ID); 


But in this case the View is extended from ViewPart. In the actual situation my class extends Dialog and the above code retrieves me nothing
Previous Topic:How to replace the standard toolbar of RCP application
Next Topic:StyledText.setWordWrap() Behavior Issues
Goto Forum:
  


Current Time: Tue Sep 24 04:26:36 GMT 2024

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

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

Back to the top