当前位置: 首页>>代码示例>>Java>>正文


Java Action.setDescription方法代码示例

本文整理汇总了Java中org.eclipse.jface.action.Action.setDescription方法的典型用法代码示例。如果您正苦于以下问题:Java Action.setDescription方法的具体用法?Java Action.setDescription怎么用?Java Action.setDescription使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.jface.action.Action的用法示例。


在下文中一共展示了Action.setDescription方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Hide Local Types");
	action.setDescription("Hide Local Types");
	action.setToolTipText("Hide Local (not exported) types");
	action.setImageDescriptor(imageHelper.getImageDescriptor("localtypes_co.png"));
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:8,代码来源:N4JSFilterLocalTypesOutlineContribution.java

示例2: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Hide Static Members");
	action.setDescription("Hide Static Members");
	action.setToolTipText("Hide Static Fields and Methods");
	action.setImageDescriptor(imageHelper.getImageDescriptor("static_co.png"));
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:8,代码来源:N4JSFilterStaticMembersOutlineContribution.java

示例3: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Hide Non-Public Members");
	action.setDescription("Hide Non-Public Members");
	action.setToolTipText("Hide Non-Public Fields and Methods");
	action.setImageDescriptor(imageHelper.getImageDescriptor("public_co.png"));
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:8,代码来源:N4JSFilterNonPublicMembersOutlineContribution.java

示例4: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Show Inherited Members");
	action.setDescription("Show Inherited Members");
	action.setToolTipText("Show inherited, consumed, and polyfilled members");
	action.setImageDescriptor(imageHelper.getImageDescriptor("inher_co.png"));
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:8,代码来源:N4JSShowInheritedMembersOutlineContribution.java

示例5: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText(XtextUIMessages.LexicalSortingAction_label);
	action.setToolTipText(XtextUIMessages.LexicalSortingAction_tooltip);
	action.setDescription(XtextUIMessages.LexicalSortingAction_description);
	action.setImageDescriptor(XtextPluginImages.DESC_ALPHAB_SORT_CO);
	action.setDisabledImageDescriptor(XtextPluginImages.DESC_ALPHAB_SORT_CO_DISABLED);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:9,代码来源:SortOutlineContribution.java

示例6: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText(XtextUIMessages.ToggleLinkWithEditorAction_label);
	action.setToolTipText(XtextUIMessages.ToggleLinkWithEditorAction_toolTip);
	action.setDescription(XtextUIMessages.ToggleLinkWithEditorAction_description);
	action.setImageDescriptor(XtextPluginImages.DESC_LINK_WITH_EDITOR);
	action.setDisabledImageDescriptor(XtextPluginImages.DESC_LINK_WITH_EDITOR_DISABLED);
}
 
开发者ID:cplutte,项目名称:bts,代码行数:9,代码来源:LinkWithEditorOutlineContribution.java

示例7: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText(Messages.MarkOccurrenceActionContributor_text);
	action.setDescription(Messages.MarkOccurrenceActionContributor_description);
	action.setToolTipText(Messages.MarkOccurrenceActionContributor_toolTipText);
	action.setImageDescriptor(XtextPluginImages.DESC_MARK_OCCURRENCES);
	action.setDisabledImageDescriptor(XtextPluginImages.DESC_MARK_OCCURRENCES_DISABLED);
	addPropertyChangeListener();
}
 
开发者ID:cplutte,项目名称:bts,代码行数:10,代码来源:MarkOccurrenceActionContributor.java

示例8: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Filter package declarations");
	action.setDescription("Filter package declarations");
	action.setToolTipText("Filter package declarations");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("Package.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:FilterPackagesContribution.java

示例9: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Filter device declarations");
	action.setDescription("Filter device declarations");
	action.setToolTipText("Filter device declarations");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("Device.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:FilterDevicesContribution.java

示例10: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Expand All");
	action.setToolTipText("Expand All");
	action.setDescription("Expand All");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("ExpandAll.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:ExpandToggleOutlineContribution.java

示例11: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Filter subdesign declarations");
	action.setDescription("Filter subdesign declarations");
	action.setToolTipText("Filter subdesign declarations");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("SubDesign.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:FilterSubdesignsContribution.java

示例12: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Filter design declarations");
	action.setDescription("Filter design declarations");
	action.setToolTipText("Filter design declarations");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("Design.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:FilterDesignsContribution.java

示例13: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
	action.setText("Filter import declarations");
	action.setDescription("Filter import declarations");
	action.setToolTipText("Filter import declarations");
	action.setImageDescriptor(ImageDescriptor.createFromImage(imageHelper.getImage("Import.gif")));
}
 
开发者ID:timofonic,项目名称:PHDL,代码行数:8,代码来源:FilterImportsContribution.java

示例14: configureAction

import org.eclipse.jface.action.Action; //导入方法依赖的package包/类
@Override
protected void configureAction(Action action) {
    action.setText(ACTION_NAME);
    action.setToolTipText(ACTION_TOOLTIP);
    action.setDescription(ACTION_DESCRIPTION);
    action.setImageDescriptor(getImageDescriptor());
}
 
开发者ID:Cooperate-Project,项目名称:CooperateModelingEnvironment,代码行数:8,代码来源:FlatOutlineViewContribution.java


注:本文中的org.eclipse.jface.action.Action.setDescription方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。