Bug 64276 - [RCP] Allow subclassing of IDEApplication
Summary: [RCP] Allow subclassing of IDEApplication
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 64275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-26 23:42 EDT by Michael Scharf CLA
Modified: 2019-09-06 15:29 EDT (History)
3 users (show)

See Also:


Attachments
Patch for IDEApplication to allow subclassing (1.37 KB, patch)
2004-05-26 23:44 EDT, Michael Scharf CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scharf CLA 2004-05-26 23:42:27 EDT
We have a product that needs the AWT and the SWT event loop to be the same 
(see Bug 39401).

In eclipse 2 we had to patch some code. With eclipse 3 we can simply run our 
own Application. In M8, IDEApplication was simple enough to copy it. In M9 
IDEApplication became more complex and we would prefer to subclass it instead 
of maintaining a copy. We simply nee two things:
- make the class non final
- extract the creation of the display into a protected method
Comment 1 Michael Scharf CLA 2004-05-26 23:44:54 EDT
Created attachment 11177 [details]
Patch for IDEApplication to allow subclassing
Comment 2 Debbie Wilson CLA 2004-05-27 09:57:45 EDT
*** Bug 64275 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2004-05-27 11:12:53 EDT
I know of other products building on the IDE stack that may want to do something
similar.

Although we are not prepared to open up IDEApplication as API for 3.0, I've
applied the patch under the condition that you will not complain if you get
broken by subsequent changes to this internal class <g>.

It would also be worth factoring out the workspace prompt and version check code
here into separate (internal) classes, to simplify the application class.
Moving to Andrew for this, time permitting for RC1.
Comment 4 Michael Scharf CLA 2004-05-27 14:42:51 EDT
Thanks! I won't complain about changes, unless there remains a run method ;-).

Factoring out the workspace promt would be a good idea....
Comment 5 Andrew Eidsness CLA 2004-07-15 10:28:53 EDT
When the workspace launch prompt is factored out it would be a good idea to 
think about ways that clients might want to reuse and enhance the dialog.  Bug 
57440 describes an enhancement that would add a 'More Info' button to provide 
usage information on past workspaces.
Comment 6 Boris Bokowski CLA 2009-11-26 16:16:03 EST
Prakash is now responsible for watching bugs in the [RCP] component area.
Comment 7 Eclipse Webmaster CLA 2019-09-06 15:29:57 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.