-> How tied is the connection between IProgressMonitor and platform.core [message #129902] |
Tue, 16 September 2003 00:12  |
Eclipse User |
|
|
|
Hi there,
I was talking with Simon (Arsenault) about the platform dependence of
the IWizard
implementations. He stated out that the IProgressMonitor implementations
mainly
depend/are part of the platform.core packages of eclipse. Therefore the
'normal'
wizards also depend on the core packages.
The question we couldn't answer this far:
Q: Why is the IProgressMonitor depending that much on the platform rather
then
being part of JFace?
Thanks
Martin (Kersten)
PS: Orginal-thread 'SWT vs. JFace' can be found at the eclipse.platform.swt
newsgroup.
|
|
|
|
|
|
|
|
|
Re: -> How tied is the connection between IProgressMonitor and platform.core [message #133427 is a reply to message #132390] |
Fri, 19 September 2003 20:45  |
Eclipse User |
|
|
|
> Core can't have any dependency on JFace. Core can be used stand-alone,
> in an headless Ant script, as part of a Swing app, etc. There is no
> relationship from core components to any UI component. There can't be
> two copies of the same type because they would not be compatible at
runtime.
I am talking about one type extending an other.. so they are compatible (at
least
one of them with the other).
I just would like to see IProgressMonitor (or something similar) declared
as part of JFace because its helpfull and I would have to hack a castrated
version of core to make it accessable. Is there a clear paper stating out
why the decision about IProgressMonitor was made?
Thanks, and sorry for bothering you, but I want to understand this...
Martin (Kersten)
> --
>
> Martin Kersten wrote:
> > Also I would be glad to see IProgressMonitor becoming a part of
> > the JFace API. I guess it is a helpfull and important capability of
> > the current wizard implementation. It also wouldn't create any
> > broken API I guess - Having two versions of IProgressMonitor.
> > One being part of JFace and one 'dummy' being part of core
> > and extending the jface version.
> >
> > Is there a reason, why the ProgressMonitor shouldn't become
> > part of JFace? Simon stated that beside the ProgressMonitor
> > dependency, the wizard is free of dependencies.
>
|
|
|
Powered by
FUDForum. Page generated in 0.08269 seconds