Search code examples
javaeclipse-rcpworkbencheclipse-rap

Remove or disable the "X" close button shown on a RAP/RCP EditorPart


Im working on a RAP application that shows both ViewParts and EditorParts. Im trying to find a way to prevent "All" Editor parts from closing. Is there a way to either remove or disable the "X" close button shown on a Editor part?


Solution

  • This is possible through implementing a presentation layer - see http://wiki.eclipse.org/RCP_Custom_Look_and_Feel and http://e-rcp.blogspot.ca/2007/09/prevent-that-rcp-editor-is-closed.html.