ActionContext getActionContext(ComponentProvider provider, MouseEvent e) {
		ActionContext actionContext = projectDataPanel.getActionContext(provider, e);
		if (actionContext == null) {
			if (e != null) {
				Component source = (Component) e.getSource();
				if (source instanceof ToolButton) {
					return new DefaultActionContext(provider, source);
				}
			}
		}

		return actionContext;
	}
general project utility that brings up a file chooser for
the user to specify a directory and filename that are used
for the Project location and name

@param fileChooser the chooser used to pick the project
@param mode read-only or not
@param preferenceName the preference property name used to save the last opened project
@return the project locator for the opened project
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndPlugin.java