private MyColorScheme getMySelectedScheme() {
    Scheme scheme = myModel.getSelectedScheme();
    if (scheme instanceof MyColorScheme) return (MyColorScheme)scheme;
    else return null;
  }
private MyColorScheme getMySelectedScheme()