class SyncPreferences < OSX::NSObject attr_accessor :identifier,:mainView,:label,:icon,:category,:appDelegate def initWithController_appDelegate(controller,appDelegate) @label=".Mac Sync" @category="Frictionless" @identifier="Sync" @icon= NSImage.imageNamed("Sync") @appDelegate=appDelegate controller.addPane_withIdentifier(self, @identifier) end def mainView NSBundle.loadNibNamed_owner("SyncPreferences",self) unless @mainView @mainView end end