[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] uDig and plugin development
|
Hi Jody,
I had a developer recently point out to me that the way
uDIG managed projects and the way the eclipse IDE managed projects was
quite different. So if you wanted to have an IDE and a GIS together,
you would have two different sets of projects, one for uDIG managed by
EMF and one for the IDE managed by eclipse.core.resources. I personally
think this is OK if the integration is user friendly, for example the
uDIG project has references to the IDE projects that it is interested
in. Then when you open a uDIG project, you get two projects tabs, one
for the uDIG projects and one for the IDE projects those uDIG projects
have referenced.
And you could make it clearer to the user by hiding the IDE
projects when in Map perspective, and having it only show up when you
are in, for example, a 'GIS Developers' perspective.
I think
this is compatible with the current uDIG, so IResources is still
optional. And I guess the references from uDIG to IResources can simply
be added by a plugin that adds to what a uDIG project persists to disk,
and that would simply be a reference to the IDE projects? Am I making
any sense? Is this what you meant by your 'net.refractions.udig.
resource' plugin?'
Cheers, Craig
On Tue, Mar 31, 2009 at 1:27 AM, Jody Garnett
<jody.garnett@xxxxxxxxx> wrote:
yes - the org.eclipse.core.resources code (that handles the definition
of IResource) is not part of the RCP platform; as such we did not use
these facilities when defining uDig.
You are welcome to make use of these constructs in your own work (I
think the jgrass project may have some advise on intergration) however
it is not part of core udig.
Aside: I am open to hosting an "net.refractions.udig.resource" plugin
in udig that defines how this relationship can be managed for projects
that are interested. I just do not want to force RCP developers to
take on the IResource api when they may not be interested.
Jody
On Tue, Mar 31, 2009 at 6:56 AM, Ahmed Abdelsalam <
ahmed@xxxxxxxxxxxxx> wrote:
> Hi all,...
>
> I'm developing a plugin that would work with uDig. I developed the plugin
> successfully and it worked with normal eclipse application. However, when
> integrating the plugin with uDig, I met some errors like the following:
>
> Bundle 'org.eclipse.core.resources' cannot be resolved
> Bundle 'org.eclipse.ui.editors' cannot be resolved
> Bundle 'org.eclipse.ui.ide' cannot be resolved
> The project was not built since its build path is incomplete. Cannot find
> the class file for org.eclipse.core.resources.IProjectNature.
> The project was not built since its build path is incomplete. Cannot find
> the class file for org.eclipse.ui.texteditor.ITextEditor.
> Unknown extension point: 'org.eclipse.core.resources.natures'
>
>
> Any suggestions to solve the above problems?
>
> Regards,...
>
> Ahmed
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel