Examples of Preferences


Examples of archmapper.main.Preferences

      return;
    }
   
    IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(projectName);
   
    Preferences pref = new Preferences(project);
    if (pref.getArchitectureMappingFile() == null) {
      if (!confirmSync("Warning", "There is no architecture mapping defined in the "+
          "project preferences.\nThat means that the code generator will "+
          "possibly do nothing.\nContinue?")) {
        return;
      }
View Full Code Here

Examples of at.bestsolution.efxclipse.tooling.jdt.ui.internal.editors.model.anttasks.parameters.Preferences

        T result = caseProperty(property);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ParametersPackage.PREFERENCES: {
        Preferences preferences = (Preferences)theEObject;
        T result = casePreferences(preferences);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ParametersPackage.APPLICATION: {
View Full Code Here

Examples of at.molindo.notify.model.Preferences

  private PushResultMessage push(@Nonnull Notification notification, boolean ignoreFrequency) {
    IPreferences prefs;

    final String unknownChannel = notification.getParams().get(INotifyService.NOTIFY_UNKNOWN);
    if (unknownChannel != null) {
      prefs = new Preferences().setUserId(notification.getUserId());
    } else {
      prefs = _preferencesDAO.getPreferences(notification.getUserId());
    }

    if (prefs == null) {
View Full Code Here

Examples of ch.fork.AdHocRailway.technical.configuration.Preferences

    public boolean isOkPressed() {
        return okPressed;
    }

    private void loadPreferences() {
        Preferences p = Preferences.getInstance();
        locomotiveControlNumberModel.setValue(p
                .getIntValue(LOCOMOTIVE_CONTROLES));
        switchControlNumberModel.setValue(p.getIntValue(TURNOUT_CONTROLES));
        routeControlNumberModel.setValue(p.getIntValue(ROUTE_CONTROLES));
        keyBoardLayoutComboBox.setSelectedItem(p
                .getStringValue(KEYBOARD_LAYOUT));
        writeLog.setSelected(p.getBooleanValue(LOGGING));
        fullscreen.setSelected(p.getBooleanValue(FULLSCREEN));
        tabbedTrackCheckBox.setSelected(p.getBooleanValue(TABBED_TRACK));
        fixedTurnoutGroupSizesCheckBox.setSelected(p
                .getBooleanValue(USE_FIXED_TURNOUT_AND_ROUTE_GROUP_SIZES));
        openLastFileCheckBox.setSelected(p.getBooleanValue(OPEN_LAST_FILE));

        defaultTurnoutBusModel.setValue(p.getIntValue(DEFAULT_TURNOUT_BUS));
        defaultLocomotiveBusModel.setValue(p
                .getIntValue(DEFAULT_LOCOMOTIVE_BUS));
        defaultActivationTimeModel.setValue(p.getIntValue(ACTIVATION_TIME));
        defaultRoutingDelayModel.setValue(p.getIntValue(ROUTING_DELAY));
        defaultLockDurationModel.setValue(p.getIntValue(LOCK_DURATION));
        interface6051.setSelected(p.getBooleanValue(INTERFACE_6051));

        hostnameTextField.setText(p.getStringValue(HOSTNAME));
        portnumberTextField.setText(Integer.toString(p.getIntValue(PORT)));
        autoconnectCheckBox.setSelected(p.getBooleanValue(AUTOCONNECT));

        useDatabaseCheckBox.setSelected(p.getBooleanValue(USE_DATABASE));
        databaseHostField.setText(p.getStringValue(DATABASE_HOST));
        databaseNameField.setText(p.getStringValue(DATABASE_NAME));
        databaseUserField.setText(p.getStringValue(DATABASE_USER));
        databasePasswordField.setText(p.getStringValue(DATABASE_PWD));
    }
View Full Code Here

Examples of ch.rakudave.jnetmap.view.preferences.Preferences

    SplashScreen.setProgress(60, "Loading plugins...");
    pm = PluginManagerFactory.createPluginManager();
    pm.addPluginsFrom(IO.pluginDir.toURI(), new OptionLazyActivation());
    SplashScreen.setProgress(75, "Loading GUI...");
    view = new MapView();
    preferences = new Preferences(view);
    SplashScreen.setProgress(90, "Opening files...");
    open(args);
    if (args.length == 0 && Settings.getBoolean("maps.restore", false)) {
      int count = Settings.getInt("maps.count", 0);
      if (count != 0) {
View Full Code Here

Examples of com.badlogic.gdx.Preferences

    return 0;
  }

  @Override
  public Preferences getPreferences (String name) {
    Preferences pref = prefs.get(name);
    if (pref == null) {
      pref = new GwtPreferences(name);
      prefs.put(name, pref);
    }
    return pref;
View Full Code Here

Examples of com.cubusmail.common.model.Preferences

public abstract class ServletUtil {

  public static final String getDefaultLocale( HttpServletRequest request ) {

    if ( SessionManager.isLoggedIn() ) {
      Preferences prefs = SessionManager.get().getPreferences();
      return prefs.getLanguage();
    }
    else {
      return request.getLocale().toString();
    }
  }
View Full Code Here

Examples of com.cubusmail.gwtui.domain.Preferences

    this.messageListPanel.getGridPanel().addGridListener( new MessageGridListener() );
    add( this.messageListPanel, data );

    setReadingPaneState();

    Preferences preferences = GWTSessionManager.get().getPreferences();
    this.readingPanePanel.setVisible( preferences.isPreviewWindow() );

    initActions();
    createContextMenu();

    EventBroker.get().addFolderSelectedListener( this );
View Full Code Here

Examples of com.googlecode.memwords.domain.Preferences

            account.setEncryptedSecretKey(encryptedSecretKey);
            em.persist(account);
            tx.commit();
            return new UserInformation(account.getUserId(),
                                       secretKey,
                                       new Preferences(account.getPreferredLocale(),
                                                       account.getPreferredTimeZone(),
                                                       account.isPasswordsUnmasked(),
                                                       account.getPasswordGenerationPreferences()));
        }
        finally {
View Full Code Here

Examples of com.limelight.settings.PreferencesManager.Preferences

   * @param host the host pc to connect to. Can be a hostname or IP address.
   */
  public static void createInstance(String host) {
    Limelight limelight = new Limelight(host);

    Preferences prefs = PreferencesManager.getPreferences();
    StreamConfiguration streamConfig = createConfiguration(prefs.getResolution(), prefs.getBitrate());

    limelight.startUp(streamConfig, prefs);
  }
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.