[英]MaximizePartAction class in not there in package org.eclipse.ui.internal of eclipse indigo
we implemented a Plugin project in Eclipse Europa(3.3).Now we are porting it to Eclipse Indigo(3.7).So the Problem is " MaximizePartAction
" class present in " org.eclipse.ui.internal
" Package of Eclipse Europa 3.3 is not there in same package of Eclipse Indigo(3.7 ) so displaying build error message " import org.eclipse.ui.internal.MaximizePartAction cannot be resolved
". 我们在Eclipse Europa(3.3)中实现了一个Plugin项目。现在我们将其移植到Eclipse Indigo(3.7)。所以问题是在
org.eclipse.ui.internal
存在的“ MaximizePartAction
”类不是Eclipse Europa 3.3的包在相同的Eclipse Indigo(3.7)包中,因此显示生成错误消息“ import org.eclipse.ui.internal.MaximizePartAction cannot be resolved
”。
I suspect that it is moved to some other package of any plugin or same so requesting you to clarify me about this.i am very very grateful if anyone tells the answer and thanks in advance. 我怀疑它已经转移到任何其他插件或相同的软件包中,因此请您向我澄清一下。如果有人事先告诉我答案和感谢,我将非常感谢。
Since Eclipse 3.4, there is a class org.eclipse.ui.internal.handlers.MaximizePartHandler
. 从Eclipse 3.4开始,存在一个类
org.eclipse.ui.internal.handlers.MaximizePartHandler
。 I assume the MaximizePartAction
has been migrated to the commands framework in 3.4. 我假设
MaximizePartAction
已迁移到3.4中的命令框架。 You might consider using the handler instead. 您可以考虑改用处理程序。
In general you should avoid using classes from internal packages (ie containing a path fragment internal
). 通常,您应避免使用内部包中的类(即,包含
internal
的路径片段)。 They are considered as non-public API and can be changed without further notice (as you just experienced). 它们被认为是非公共API,可以更改而无需另行通知(就像您刚刚体验的那样)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.