本文整理汇总了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"));
}
示例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"));
}
示例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"));
}
示例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"));
}
示例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);
}
示例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);
}
示例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();
}
示例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")));
}
示例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")));
}
示例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")));
}
示例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")));
}
示例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")));
}
示例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")));
}
示例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