老版本的gef4?

时间:2014-10-14 14:50:08

标签: eclipse-plugin eclipse-gef zest

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

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,新版本还有其他结构或类似内容。

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

2 个答案:

答案 0 :(得分:3)

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

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

不再提供DisplayIndependentRectangle,而是使用由GEF4 Geometry组件提供的Rectangle(o.e.g4.geometry.planar.Rectangle)抽象。

答案 1 :(得分:0)

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

相关问题