[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: How do I can import a file into exist project in workspace
|
This is fairly simple.
You need a reference to the project, create any folders in the path to the
imported file then invoke createFile( name, project, stream, fileExt ).
An alternativel method is to create copy the file to the desired
filesystem location using Java.io, and then calling project.refresh(...);
Ross
"Ralf Koban" <ralf.koban@xxxxxx> wrote in message
news:bg31lf$2bl$1@xxxxxxxxxxxxxx
> So when this is your problem why don't you take a look into sources of
> eclipse for some impressions how it could be done?
>
> Hoalq schrieb:
>
> > Y understand exactly my idea. Problem is there.
> > I am not assigned use tools eclipse. My program perform the job as
import
> > tools of eclipse.
> > this is my job. pls help me
> > thanks
> > le quang Hoa
> >
> > Ralf Koban wrote:
> >
> >
> >>Hi,
> >
> >
> >>for me it sounds like exactly the same way eclipse does. So why don't
> >>you use eclipse for your import?
> >
> >
> >>Ralf
>
> [snip]
>