
from . import PerObjectSettingsTool

from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")

def getMetaData():
    return {
        "plugin": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
            "author": "Ultimaker",
            "version": "1.0",
            "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
            "api": 2
        },
        "tool": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
            "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
            "icon": "setting_per_object",
            "tool_panel": "PerObjectSettingsPanel.qml"
        },
    }

def register(app):
    return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }


from . import PerObjectSettingsTool

from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")

def getMetaData():
    return {
        "plugin": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
            "author": "Ultimaker",
            "version": "1.0",
            "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
            "api": 2
        },
        "tool": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
            "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
            "icon": "setting_per_object",
            "tool_panel": "PerObjectSettingsPanel.qml",
            "weight": 3
        },
    }

def register(app):
    return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }

Add order to PerObjectSettings tool
Add order to PerObjectSettings tool

  
  from . import PerObjectSettingsTool
  
  from UM.i18n import i18nCatalog
  i18n_catalog = i18nCatalog("uranium")
  
  def getMetaData():
      return {
          "plugin": {
              "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
              "author": "Ultimaker",
              "version": "1.0",
              "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
              "api": 2
          },
          "tool": {
              "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
              "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
              "icon": "setting_per_object",
-             "tool_panel": "PerObjectSettingsPanel.qml"
+             "tool_panel": "PerObjectSettingsPanel.qml",
+             "weight": 3
          },
      }
  
  def register(app):
      return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }
  
Add order to PerObjectSettings tool
## Code Before:

from . import PerObjectSettingsTool

from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")

def getMetaData():
    return {
        "plugin": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
            "author": "Ultimaker",
            "version": "1.0",
            "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
            "api": 2
        },
        "tool": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
            "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
            "icon": "setting_per_object",
            "tool_panel": "PerObjectSettingsPanel.qml"
        },
    }

def register(app):
    return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }

## Instruction:
Add order to PerObjectSettings tool
## Code After:

from . import PerObjectSettingsTool

from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("uranium")

def getMetaData():
    return {
        "plugin": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings Tool"),
            "author": "Ultimaker",
            "version": "1.0",
            "description": i18n_catalog.i18nc("@info:whatsthis", "Provides the Per Object Settings."),
            "api": 2
        },
        "tool": {
            "name": i18n_catalog.i18nc("@label", "Per Object Settings"),
            "description": i18n_catalog.i18nc("@info:tooltip", "Configure Per Object Settings"),
            "icon": "setting_per_object",
            "tool_panel": "PerObjectSettingsPanel.qml",
            "weight": 3
        },
    }

def register(app):
    return { "tool": PerObjectSettingsTool.PerObjectSettingsTool() }
