If you want to know the current operating system, simply use a utility method:

com.sibvisions.rad.ui.ApplicationUtil.isMacOS();
com.sibvisions.rad.ui.ApplicationUtil.isLinux();
com.sibvisions.rad.ui.ApplicationUtil.isWindows();