
from girder.plugin import GirderPlugin


class CandelaPlugin(GirderPlugin):
    NPM_PACKAGE_NAME = '@girder/candela'

    def load(self, info):
        pass


from girder.plugin import GirderPlugin


class CandelaPlugin(GirderPlugin):
    DISPLAY_NAME = 'Candela Visualization'
    NPM_PACKAGE_NAME = '@girder/candela'

    def load(self, info):
        pass

Add a plugin displayName property
Add a plugin displayName property

This allows the web client to display an arbitrary plugin title rather
than to be restricted to valid python/javascript tokens.

  
  from girder.plugin import GirderPlugin
  
  
  class CandelaPlugin(GirderPlugin):
+     DISPLAY_NAME = 'Candela Visualization'
      NPM_PACKAGE_NAME = '@girder/candela'
  
      def load(self, info):
          pass
  
Add a plugin displayName property
## Code Before:

from girder.plugin import GirderPlugin


class CandelaPlugin(GirderPlugin):
    NPM_PACKAGE_NAME = '@girder/candela'

    def load(self, info):
        pass

## Instruction:
Add a plugin displayName property
## Code After:

from girder.plugin import GirderPlugin


class CandelaPlugin(GirderPlugin):
    DISPLAY_NAME = 'Candela Visualization'
    NPM_PACKAGE_NAME = '@girder/candela'

    def load(self, info):
        pass
