本文整理汇总了Java中com.intellij.codeInspection.ui.actions.ExportHTMLAction类的典型用法代码示例。如果您正苦于以下问题:Java ExportHTMLAction类的具体用法?Java ExportHTMLAction怎么用?Java ExportHTMLAction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ExportHTMLAction类属于com.intellij.codeInspection.ui.actions包,在下文中一共展示了ExportHTMLAction类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createLeftActionsToolbar
import com.intellij.codeInspection.ui.actions.ExportHTMLAction; //导入依赖的package包/类
private JComponent createLeftActionsToolbar() {
final CommonActionsManager actionsManager = CommonActionsManager.getInstance();
DefaultActionGroup group = new DefaultActionGroup();
group.add(new RerunAction(this));
group.add(new CloseAction());
final TreeExpander treeExpander = new TreeExpander() {
@Override
public void expandAll() {
TreeUtil.expandAll(myTree);
}
@Override
public boolean canExpand() {
return true;
}
@Override
public void collapseAll() {
TreeUtil.collapseAll(myTree, 0);
}
@Override
public boolean canCollapse() {
return true;
}
};
group.add(actionsManager.createExpandAllAction(treeExpander, myTree));
group.add(actionsManager.createCollapseAllAction(treeExpander, myTree));
group.add(actionsManager.createPrevOccurenceAction(getOccurenceNavigator()));
group.add(actionsManager.createNextOccurenceAction(getOccurenceNavigator()));
group.add(myGlobalInspectionContext.createToggleAutoscrollAction());
group.add(new ExportHTMLAction(this));
group.add(new ContextHelpAction(HELP_ID));
return createToolbar(group);
}