English 中文(简体)
这些行动的有利可图的备选办法如何在lip中发挥作用?
原标题:How does the enable and disable options work for these actions in eclipse?

在Run menu,如Toggle Break Point、Toggle Line Break Point等,如果开启了java案卷,并且将因任何其他类型的档案而残疾。 同样,如果我们正在制定一项 j方案,否则就会有残疾,那么我们就能够跨过一步,进入一步。

因此,我想知道,如何控制这些行动的有利和分散。

感谢。

问题回答

可通过<代码>plugin.xml实现。 当你在单体或工具栏上增加指挥时,可以添加一个<条码>。 要素。 这使你能够在显示相应的指挥时确定制约因素。

我们在申请中使用的一个实例是,只有在某个编辑开放和重点突出的情况下,才能发现工具栏中的某些缩影。 我们实现这一目标(当然,你可以在Extensionstab上使用编辑;XML在此更合适):

<visibleWhen checkEnabled="true">
    <with variable="activeEditorId">
        <equals value="our.editor.id">
        </equals>
    </with>
</visibleWhen>

http://wiki.eclipse.org/Command_Core_Expressions#Variables_and_the_Command_Framework”rel=“nofollow noreferer” Eclipse wiki。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签