# Copyright 2005, @Last Software, Inc.

# This software is provided as an example of using the Ruby interface
# to SketchUp.

# Permission to use, copy, modify, and distribute this software for 
# any purpose and without fee is hereby granted, provided that the above
# copyright notice appear in all copies.

# THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

#-----------------------------------------------------------------------------
# Name        :   Sandbox Extension Manager
# Description :   A script that loads the Sandbox Tools as an exptension to 
#                SketchUp
# Menu Item   :   N/A
# Context Menu:   N/A
# Usage       :   N/A
# Date        :   11/18/2004
# Type        :   N/A
#-----------------------------------------------------------------------------

require 'sketchup.rb'
require 'extensions.rb'

#load the script that hadlers the localaization methods
require 'LangHandler.rb'
$tStrings = LanguageHandler.new("Sandbox")

#Register the Sandbox Tools with SU's extension manager
meshToolsExtension = SketchupExtension.new $tStrings.GetString("Sandbox Tools"), "Sandbox/SandboxMenus.rb"
#meshToolsExtension.description=$tStrings.GetString("Adds items to the Draw and Tools menus for creating and editing organic shapes such as terrain.")
meshToolsExtension.description=$tStrings.GetString("a") +"         "+$tStrings.GetString("b") +"                  "+$tStrings.GetString("c")+"                  "+$tStrings.GetString("e")
Sketchup.register_extension meshToolsExtension, false