Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Unconditionally opening an editor
Unconditionally opening an editor [message #956208] Wed, 24 October 2012 10:20
Mauro Condarelli is currently offline Mauro CondarelliFriend
Messages: 428
Registered: September 2009
Senior Member
I probably chose the Wrong Path (tm) amd I'm ready to stand corrected,

I want to write an app dealing with a bunch of data I have on a database
(I handle those directly at SQL level).

I like the Forms toolkit and in particular the MasterDetails framework
and this forces me to go RCP and editor (is this right? I don't really
need all RCP framework, but MasterDetailsBlock needs a IManagedForm ant
this means a FormPage which is an EditorPart, so it seems to me I need
to go the RCP Editor way).

Now I don't have any IFile for the editor (obviously, data being in
database) and neither any "extension".

I know I can open an editor programmatically, but that seems to need a
IWorkbenchPage already opened.

I (kind of) solved the problem adding a View to my app and then forcedly
opening my editor in view.createPartControl().
I still need to find a way to get rid of the useless view.

This "solution" seems over-complex and suggests I'm not using eclipse
the way it is intended to be used.

Can someone suggest the Right Way to:

Build a standalone application.
Using Forms (or something very similar) as UI.
Starting up with a well-defined and wired-in connection to a database.

Previous Topic:Hide Key Bindings from Preference Page
Next Topic:Eclipse RCP Synchronyze getImageDescriptor
Goto Forum:

Current Time: Mon Dec 06 12:34:22 GMT 2021

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

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

Back to the top