[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-core-dev] eclipse as a general application framework
|
Thanks, Jeff and Nick. Now I think I understand your suggestions.
Basically, I can leave everything intact, but create my own domain model
and use the ui for presentation. As long as I don't use the "resources", no
information will be written to the local file system. This is good (I think
I didn't understand the relationship between the resources and the ui). The
only thing that might be missing is the functionality built into the ui
(jface?) that is tied up with the resources. I think I can live with that.
Thanks again.
shaohua
Nick_Edgar@xxxxxxx
Sent by: To: platform-core-dev@xxxxxxxxxxx
platform-core-dev-admin@e cc:
clipse.org Subject: Re: [platform-core-dev] eclipse as a general application
framework
12/06/01 09:20 AM
Please respond to
platform-core-dev
Masn,
I recommend trying Jeff's suggestion. Here are some concrete steps you
could try out:
- Open a new Resource perspective using Perspective / Open / Resource
- close all views in the perspective one by one
- choose Perspective / Show View / Properties
- choose Perspective / Hide Editors
- you should now have a perspective containing just the Properties view
- now pretend the Properties view is your database view
- choose Perspective / Save As... and enter Database as the name
- choose Perspective / Close All
- choose Perspective / Open / Other... / Database
Note that when this perspective is open, there are relatively few
resource-specific menu items.
Note that you can set up such a perspective with your own views using the
org.eclipse.ui.perspectives extension point.
For more info on views and perspectives, see the articles on eclipse.org.
My apologies if this is too simplistic, but I just wanted to make sure you
knew about the possibility of creating your own perspectives.
Nick
Jeff_McAffer@xxxxxxx
Sent by: platform-core-dev-admin@xxxxxxxxxxx
12/05/01 11:58 PM
Please respond to platform-core-dev
To: platform-core-dev@xxxxxxxxxxx
cc:
Subject: Re: [platform-core-dev] eclipse as a general
application framework
see <jm>
Depending on what you want, another approach to this is to leave the
resources plugin in and just not use it. That is, if the perspectives you
present don't allow for any resource manipulation, the resources plugin
will not do much. There would be a small overhead in memory and on disk
but that's it.
<mas>I am not sure if this is going to work. Are you assuming that that I
don't use org.eclipse.ui.* ? If I want to use the workbench, it will try
(I
guess) to contact the resource, which in turn will write to the local
disk.
Am I right? This is not good if it's true. more below.</mas>
<jm>The UI will contact/use the resources plugin BUT, if you do not create
any resources, no resources will be written to disk! The standard UI has
a
resource Navigator and a Properties view etc. If you adjust the
perspectives you show in your application to not have these views, your UI
will appear to be free of resources even though under the covers there is
the possibility that resources *could* exist. They just don't.
</jm>
Jeff
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev
_______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-core-dev