Examples of Preferences


Examples of org.osgi.service.prefs.Preferences

    Assert.isTrue(key.contains(NODE_SEPARATOR), "Invalid Eclipse Preferences Key!"); //$NON-NLS-1$

    String nodePath = getNodePath(key);
    key = key.substring(key.lastIndexOf(NODE_SEPARATOR) + 1);

    Preferences prefNode = fRootNode.node(nodePath);
    prefNode.putBoolean(key, value);
  }
View Full Code Here

Examples of plugins.audioPlayer.javazoom.jlgui.player.amp.util.ui.Preferences

     * Process PREFERENCES event.
     * @param modifiers
     */
    protected void processPreferences(int modifiers)
    {
        Preferences preferences = Preferences.getInstance(this);
        preferences.setLocation(loader.getLocation().x, loader.getLocation().y);
        preferences.setSize(512, 350);
        preferences.setVisible(true);
    }
View Full Code Here

Examples of xnap.util.Preferences

  message = t.allNextTokens();
    }

    public void received()
    {
  Preferences prefs = Preferences.getInstance();
 
  if (!message.trim().equals("//WantQueue")) {
      User user = server.getUser(nick);
      if (user.isChatIgnored()) {
      if (prefs.getSendChatIgnoreMessage()) {
        xnap.plugin.nap.net.msg.client.PrivateMessage msg
      = new xnap.plugin.nap.net.msg.client.PrivateMessage
          (nick, prefs.getChatIgnoreMessage());
          MessageHandler.send(server, msg);
      }
      }
      else {
    PrivateChannel pc
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.