Esempio n. 1
0
    def deactivate(self):
        """Called when the plugin is deactivated"""
        self.ide.project.sigProjectChanged.disconnect(self.__onProjectChanged)

        self.projectSettings = None
        self.ideWideSettings = None

        VersionControlSystemInterface.deactivate(self)
Esempio n. 2
0
    def deactivate( self ):
        " Called when the plugin is deactivated "
        self.ide.project.projectChanged.disconnect( self.__onProjectChanged )

        self.projectSettings = None
        self.ideWideSettings = None

        VersionControlSystemInterface.deactivate( self )
        return
Esempio n. 3
0
    def activate(self, ideSettings, ideGlobalData):
        """Called when the plugin is activated"""
        VersionControlSystemInterface.activate(self, ideSettings,
                                               ideGlobalData)

        # Read the settings
        self.ideWideSettings = getSettings(self.__getIDEConfigFile())
        if self.ide.project.isLoaded():
            self.projectSettings = getSettings(self.__getProjectConfigFile())
        self.ide.project.sigProjectChanged.connect(self.__onProjectChanged)
Esempio n. 4
0
    def activate( self, ideSettings, ideGlobalData ):
        " Called when the plugin is activated "
        VersionControlSystemInterface.activate( self, ideSettings,
                                                      ideGlobalData )

        # Read the settings
        self.ideWideSettings = getSettings( self.__getIDEConfigFile() )
        if self.ide.project.isLoaded():
            self.projectSettings = getSettings( self.__getProjectConfigFile() )
        self.ide.project.projectChanged.connect( self.__onProjectChanged )
        return
Esempio n. 5
0
    def __init__(self):
        VersionControlSystemInterface.__init__(self)
        SVNInfoMixin.__init__(self)
        SVNAddMixin.__init__(self)
        SVNCommitMixin.__init__(self)
        SVNDeleteMixin.__init__(self)
        SVNDiffMixin.__init__(self)
        SVNRevertMixin.__init__(self)
        SVNUpdateMixin.__init__(self)
        SVNAnnotateMixin.__init__(self)
        SVNStatusMixin.__init__(self)
        SVNLogMixin.__init__(self)
        SVNPropsMixin.__init__(self)
        SVNMenuMixin.__init__(self)

        self.projectSettings = None
        self.ideWideSettings = None
        self.__settingsLock = QMutex()

        self.fileParentMenu = None
        self.dirParentMenu = None
Esempio n. 6
0
    def __init__( self ):
        VersionControlSystemInterface.__init__( self )
        SVNInfoMixin.__init__( self )
        SVNAddMixin.__init__( self )
        SVNCommitMixin.__init__( self )
        SVNDeleteMixin.__init__( self )
        SVNDiffMixin.__init__( self )
        SVNRevertMixin.__init__( self )
        SVNUpdateMixin.__init__( self )
        SVNAnnotateMixin.__init__( self )
        SVNStatusMixin.__init__( self )
        SVNLogMixin.__init__( self )
        SVNPropsMixin.__init__( self )
        SVNMenuMixin.__init__( self )

        self.projectSettings = None
        self.ideWideSettings = None
        self.__settingsLock = QMutex()

        self.fileParentMenu = None
        self.dirParentMenu = None
        return