I've create a new project wizard which extends the INewWizard.
I've been able to create the project and a specific file for that kind
of project.
When the wizard is finished everything is created and the corresponding
editor is opened. However in the package explorer and/or resource
(navigator) the project (in the navigator the project isn't shown in
"open" state and the underlying resources can't be seen)) is selected
after creation.
How can I position to the file created in the project? It sound more
logic to me that if this file is opened in the editor the selected
resource is also this file and not the project.
Found a possible solution here, don't know if this is a good method to use
Regards,
Tom
tcdmail wrote:
> Hi,
>
> I've create a new project wizard which extends the INewWizard.
> I've been able to create the project and a specific file for that kind
> of project.
>
> When the wizard is finished everything is created and the corresponding
> editor is opened. However in the package explorer and/or resource
> (navigator) the project (in the navigator the project isn't shown in
> "open" state and the underlying resources can't be seen)) is selected
> after creation.
>
> How can I position to the file created in the project? It sound more
> logic to me that if this file is opened in the editor the selected
> resource is also this file and not the project.
>
> Tnx in advance for the answers !
>
> Kind regards,
> Tom
tcdmail wrote:
> Hi,
>
> Found a possible solution here, don't know if this is a good method to use
>
> Regards,
> Tom
>
> tcdmail wrote:
>> Hi,
>>
>> I've create a new project wizard which extends the INewWizard.
>> I've been able to create the project and a specific file for that kind
>> of project.
>>
>> When the wizard is finished everything is created and the
>> corresponding editor is opened. However in the package explorer and/or
>> resource (navigator) the project (in the navigator the project isn't
>> shown in "open" state and the underlying resources can't be seen)) is
>> selected after creation.
>>
>> How can I position to the file created in the project? It sound more
>> logic to me that if this file is opened in the editor the selected
>> resource is also this file and not the project.
>>
>> Tnx in advance for the answers !
>>
>> Kind regards,
>> Tom