Skip to main content



      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 09:11
Eclipse UserFriend
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: Sun Aug 31 15:35:20 EDT 2025

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

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

Back to the top