public void setToolBarData(ToolBarData newToolBarData) {

		ToolBarData oldData = toolBarData;
		ToolBarData newToolBarDataCopy = newToolBarData == null ? null
				: new ToolBarData(this, newToolBarData.getIcon(), newToolBarData.getToolBarGroup(),
					newToolBarData.getToolBarSubGroup());
		toolBarData = newToolBarDataCopy;
		firePropertyChanged(TOOLBAR_DATA_PROPERTY, oldData, newToolBarDataCopy);
	}
Sets the {@link ToolBarData} to be used to put this action on the tool's toolbar
@param newToolBarData the ToolBarData to be used to put this action on the tool's toolbar
Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java