How to open a file in external editor programmatically in eclipse plugin development?

What are the methods how to get parent composite from the view in Eclipse plugin development?

  • how to access the parent composite from any method other than createpartcontrol() method in Eclipse JAVA plugin project.

  • Answer:

    1. You shouldn't do it 2. You can always save it in a field or static variable when inside createPartControl 3. Doing so may hamper the GC and you may start getting SWT leaks.

Ankur Sharma at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.