Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Resolving Resource Links


David

Discussions on particular bugs is best done within the bug report so that we have an easy way of keeping track of the discussion. Please add this information there so that everyone watching it can keep track of it.

Tod
Platform UI team


David Wegener <dpwegener@xxxxxxxxx>
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx

11/10/2007 04:31 PM

Please respond to
"Eclipse Platform UI component developers list."        <platform-ui-dev@xxxxxxxxxxx>

To
platform-ui-dev@xxxxxxxxxxx
cc
Subject
[platform-ui-dev] Resolving Resource Links





I apologize if this message is duplicated.  I received an error when I
sent it the first time.

I'm working on implementing an enhancement request that I have submitted
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=208085).

It involves notifying the user that a project being imported references
a resource variable that isn't defined in the workspace.

I'm looking in the
org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsImportPage
page createExistingProject method.

I'm able to access the project members and determine which ones are
links after the project has been created and opened.  From here, I use
the Workspace.validateLinkLocation method to determine whether the link
is resolved or not by checking the returned status for a value of
VARIABLE_NOT_DEFINED_WARNING.

Does this sound like I'm heading in the right direction?  Are there any
special considerations I need to handle that might not be initially
obvious?

I'm also looking for some help with the next steps to take.  I was
hoping to pop up a dialog displaying a list of undefined Resource
Variables.  The dialog would have a button that allowed the user to
define the variables.  Does this sound doable?  I am currently able to
display an ErrorDialog using the Display.asyncExec method.  Is this the
correct approach?





_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev


Back to the top