# Copyright (c) 2018-2020, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
#
from .acl_delegate import AclDelegate
from omni.kit.widget.filebrowser import ColumnDelegateRegistry
import omni.ext


class AclExtension(omni.ext.IExt):
    def on_startup(self, ext_id):
        self._subscription = ColumnDelegateRegistry().register_column_delegate("ACL", AclDelegate)

    def on_shutdown(self):
        self._subscription = None
