On 28.01.2014 15:40, Markus Rudolph wrote:
> Hi!
>
> We are currently working on the core. We want to move the class "SPath"
> into the core.
> So we are abstracting the classes "SPath" and "SPathDataObject" (to
> "AbstractSPath" and "AbstractSPathDataObject").
> When moving the method "toSPathDataObject(ISarosSession)" to
> "AbstractSPath" there exists a dependency to "ISarosSession".
> We introduced a new method "toSPathDataObject()" (without parameters) in
> "AbstractSPath" and created a ISarosSession field in SPath.
> Currently the field is set by "toSPathDataObject(ISarosSession)". After
> that we can use "toSPathDataObject()". But in that case we could always
> use the first call.
The compiling errors should be hint enough that you are doing it the 
wrong way. Please
stop this *hacking* stuff.
> The best way would be to assign the ISarosSession via constructor or
> injection, but we are not sure about this way... or how to use injection.
> On the other hand there are many Eclipse dependencies in SPath. We don't
> know how to remove or abstract those (e.g. IPath, IProject etc.).
> Any hints? :)
>
> Regards,
No the best way is to use interfaces for the filesystem. Then you can 
move more stuff into the Core.

Before you ask, yes you have to use an IPath Interface that wraps an 
Eclipse IPath along with an
IPathFactory etc. pp.

> Arndt, Martin & Markus
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> DPP-Devel mailing list
> DPP-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dpp-devel


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to