Java Code Examples for docking.action.DockingAction#markHelpUnnecessary()

The following examples show how to use docking.action.DockingAction#markHelpUnnecessary() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GhidraX64DbgPlugin.java    From GhidraX64Dbg with MIT License 5 votes vote down vote up
private void createActions() {
	action = new DockingAction("My Action", getName()) {
		@Override
		public void actionPerformed(ActionContext context) {
			Msg.showInfo(getClass(), panel, "Custom Action", "Hello!");
		}
	};
	action.setToolBarData(new ToolBarData(Icons.ADD_ICON, null));
	action.setEnabled(true);
	action.markHelpUnnecessary();
	dockingTool.addLocalAction(this, action);
}
 
Example 2
Source File: EventDisplayComponentProvider.java    From ghidra with Apache License 2.0 5 votes vote down vote up
private void createAction() {
	clearAction = new DockingAction("Clear Display", getName()) {
		@Override
		public void actionPerformed(ActionContext context) {
			clear();
		}
	};

	clearAction.markHelpUnnecessary();
	clearAction.setEnabled(true);
	ImageIcon icon = ResourceManager.loadImage("images/erase16.png");
	clearAction.setToolBarData(new ToolBarData(icon));
	addLocalAction(clearAction);
}
 
Example 3
Source File: DomainEventComponentProvider.java    From ghidra with Apache License 2.0 5 votes vote down vote up
private void createAction() {
	clearAction = new DockingAction("Clear Display", getName()) {
		@Override
		public void actionPerformed(ActionContext context) {
			clear();
		}
	};

	clearAction.markHelpUnnecessary();
	clearAction.setEnabled(true);
	ImageIcon icon = ResourceManager.loadImage("images/erase16.png");
	clearAction.setToolBarData(new ToolBarData(icon));
	addLocalAction(clearAction);
}
 
Example 4
Source File: SkeletonPlugin.java    From ghidra with Apache License 2.0 5 votes vote down vote up
private void createActions() {
	action = new DockingAction("My Action", getName()) {
		@Override
		public void actionPerformed(ActionContext context) {
			Msg.showInfo(getClass(), panel, "Custom Action", "Hello!");
		}
	};
	action.setToolBarData(new ToolBarData(Icons.ADD_ICON, null));
	action.setEnabled(true);
	action.markHelpUnnecessary();
	dockingTool.addLocalAction(this, action);
}