Examples of IIconSet


Examples of org.jamesii.gui.application.resource.iconset.IIconSet

      PerspectivePresetManager.setPresets(presets);

      // get the selected icon set (if it is different than the stored icon set
      // show message saying that
      // a restart is required
      IIconSet set = model.getIconSet();
      if (set != null) {
        // TODO sr137: use constant for "org.jamesii.iconset" or move
        // functionality
        // into
        // iconsetmanager
        // String old = Preferences.get("org.jamesii.iconset");
        Preferences.put("org.jamesii.iconset", set.getClass().getName());
        IconSetManager.setDefaultIconSet(set);

        // due to the use of IconProxy and ImageProxy this is not
        // needed anymore?!
View Full Code Here

Examples of org.jamesii.gui.application.resource.iconset.IIconSet

      String iconSetClassName = Preferences.get("org.jamesii.iconset");

      for (IconSetFactory factory : iconSetFactories) {
        try {
          IIconSet iconSet = factory.create(params, SimSystem.getRegistry().createContext());
          // register icon set as available in the icon set manager
          IconSetManager.registerIconSet(iconSet);

          if (iconSetClassName == null) {
            IconSetManager.setDefaultIconSet(iconSet);
          }

          if (iconSet.getClass().getName().equals(iconSetClassName)) {
            IconSetManager.setDefaultIconSet(iconSet);
          }
        } catch (PluginCreationException e) {
          SimSystem.report(Level.WARNING, null,
              "Couldn't create icon set %s (%s)",
View Full Code Here

Examples of org.jamesii.gui.application.resource.iconset.IIconSet

   */
  public void setIconSet(IIconSet set) {
    if (set == null) {
      return;
    }
    IIconSet old = iconSetModel.getSelectedIconSet();
    if (!set.equals(old)) {
      iconSetModel.setSelectedIconSet(set);
      firePropertyChange("iconSet", old, set);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.