Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Problem opening file outside of my target project workspace
Problem opening file outside of my target project workspace [message #1751125] Wed, 04 January 2017 16:11
Dick Balaska is currently offline Dick BalaskaFriend
Messages: 2
Registered: June 2011
Location: Guilford, CT, USA
Junior Member
I have an editor that extends TextEditor in Mars.2. This works great on files in my project workspace. But if I try to open a system include file, it all falls apart. This happens whether I open it in code from from the File -> Open File menu.
For both opens, I creates/initializes my TextEditor. But on the failing open, it decides to also open a StatusTextEditor which then tips over with

org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.SWT.error(
	at org.eclipse.swt.widgets.Widget.error(
	at org.eclipse.swt.widgets.Widget.checkWidget(
	at org.eclipse.swt.widgets.Control.setFocus(
	at org.eclipse.swt.widgets.Composite.setFocus(
	at org.eclipse.swt.widgets.Composite.setFocus(
	at org.eclipse.ui.texteditor.StatusTextEditor.setFocus(

It does not attempt to create a StatusTextEditor (and why would it?) on files in my workspace. Help?
Previous Topic:decorator in outline view
Next Topic:What is the best practice to access a relational database from within my plug-in?
Goto Forum:

Current Time: Sat Jul 24 07:50:14 GMT 2021

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

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

Back to the top