2

我正在使用一个软件项目,它需要以下软件包:

import org.eclipse.gef4.zest.layouts.LayoutAlgorithm;
import org.eclipse.gef4.zest.layouts.dataStructures.DisplayIndependentRectangle;
import org.eclipse.gef4.zest.layouts.interfaces.EntityLayout;
import org.eclipse.gef4.zest.layouts.interfaces.LayoutContext;

但我找不到合适的插件来解决这个问题。我从以下位置安装了以下插件:https://hudson.eclipse.org/hudson/job/gef4-master/lastSuccessfulBuild/artifact/update-site

GEF4 Geometry
GEF4 Geometry Documentation
GEF4 Geometry SDK
GEF4 Geometry Devoloper Resources
GEF4 Zest Documentation
GEF4 Zest SDk

并且 Eclipse 仍然不知道这个包:

org.eclipse.gef4.zest.layouts

我认为在软件项目中使用了旧版本的 Gef4 Zest,而新版本具有其他结构或类似的结构。

有没有人有同样的问题和/或知道如何解决它?

4

2 回答 2

3

org.eclipse.gef4.zest.layouts 包已迁移到自己的组件中,即 GEF4 Layout,它在更新站点上提供。

您上面提到的类/接口已迁移如下: - oeg4.zest.layouts.LayoutAlgorithm -> oeg4.layout.ILayoutAlgorithm - oeg4.zest.layouts.interfaces.EntityLayout -> oeg4.layout.IEntityLayout - oeg4.zest。 layouts.interfaces.LayoutContext -> oeg4.layout.ILayoutContext

不再提供 DisplayIndependentRectangle,而是 Layout 类使用 GEF4 Geometry 组件提供的 Rectangle (oeg4.geometry.planar.Rectangle) 抽象。

于 2015-05-20T15:20:13.173 回答
0

您还应该GEF4 Layout从链接到的更新站点安装该功能。

于 2014-10-15T14:26:48.020 回答