def METHOD_NAME(self, view):
    """Returns a shared color dialog as default for all the views.
    Override from DataViewHooks
    :rtype: ColorDialog
    """
    if self.__defaultColormapDialog is None:
        parent = self.__parent()
        if parent is None:
            return None
        dialog = ColormapDialog(parent=parent)
        dialog.setModal(False)
        self.__defaultColormapDialog = dialog
    return self.__defaultColormapDialog