If you're new to SketchUp plugin development you might want to have a look at this article: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/