Examples of PreferenceModel


Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

     * Grants access to the preferences concerning the global {@link KeyStroke}s.
     * @return the model, not <code>null</code>
     * @throws IllegalStateException if the model was removed or replaced by the client
     */
    public CKeyStrokePreferenceModel getKeyStrokePreferences(){
      PreferenceModel model = getModel( new Path( "shortcuts" ) );
      if( model instanceof CKeyStrokePreferenceModel ){
        return (CKeyStrokePreferenceModel)model;
      }
      else{
        throw new IllegalStateException( "this model has been removed" );
View Full Code Here

Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

     * Grants access to the preferences concerning layout options like "where are the tabs placed?".
     * @return the model, not <code>null</code>
     * @throws IllegalStateException if the model was removed or replaced by the client
     */
    public CLayoutPreferenceModel getLayoutPreferences(){
      PreferenceModel model = getModel( new Path( "layout" ) );
      if( model instanceof CLayoutPreferenceModel ){
        return (CLayoutPreferenceModel)model;
      }
      else{
        throw new IllegalStateException( "this model has been removed" );
View Full Code Here

Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

     * Grants access to the preferences concerning the {@link ButtonContent}.
     * @return the model, not <code>null</code>
     * @throws IllegalStateException if the model was removed or replaced by the client
     */
    public ButtonContentPreferenceModel getButtonContent(){
      PreferenceModel model = getModel( new Path( "buttonContent" ) );
      if( model instanceof ButtonContentPreferenceModel ){
        return (ButtonContentPreferenceModel)model;
      }
      else{
        throw new IllegalStateException( "this model has been removed" );
View Full Code Here

Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

     * Grants access to the preferences concerning the {@link BubbleTheme}.
     * @return the model, not <code>null</code>
     * @throws IllegalStateException if the model was removed or replaced by the client
     */
    public BubbleThemePreferenceModel getBubbleThemePreferences(){
      PreferenceModel model = getModel( new Path( "layout.BubbleTheme" ) );
      if( model instanceof BubbleThemePreferenceModel ){
        return (BubbleThemePreferenceModel)model;
      }
      else{
        throw new IllegalStateException( "this model has been removed" );
View Full Code Here

Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

     * Grants access to the preferences concerning the {@link EclipseTheme}.
     * @return the model, not <code>null</code>
     * @throws IllegalStateException if the model was removed or replaced by the client
     */
    public EclipseThemePreferenceModel getEclipseThemePreferences(){
      PreferenceModel model = getModel( new Path( "layout.EclipseTheme" ) );
      if( model instanceof EclipseThemePreferenceModel ){
        return (EclipseThemePreferenceModel)model;
      }
      else{
        throw new IllegalStateException( "this model has been removed" );
View Full Code Here

Examples of bibliothek.extension.gui.dock.preference.PreferenceModel

   
    /**
     * Opens a dialog with the current {@link PreferenceModel}.
     */
    protected void action(){
      PreferenceModel model = this.model;
      if( model == null )
        model = control.getPreferenceModel();
      if( model == null )
        model = new DefaultPreferenceModel( control.getController() );
     
View Full Code Here

Examples of de.bastiankrol.startexplorer.preferences.PreferenceModel

    {

      @Override
      public PreferenceModel getPreferenceModel()
      {
        this.preferenceModel = new PreferenceModel();
        return this.preferenceModel;
      }

      @Override
      void loadPreferencesFromEclipseStore()
View Full Code Here

Examples of de.bastiankrol.startexplorer.preferences.PreferenceModel

  private synchronized void ensurePreferencesHaveBeenLoadedFromStore()
  {
    if (this.preferenceModel == null)
    {
      this.preferenceModel = new PreferenceModel();
      this.loadPreferencesFromEclipseStore();
    }
  }
View Full Code Here

Examples of org.apache.jetspeed.portlets.prm.model.PreferenceModel

        return new ModelIteratorAdapter<Preference>(curPrefs.iterator())
        {
            @Override
            protected IModel<Preference> model(Preference preference)
            {
                return new PreferenceModel(locator, paNodeBean, preference);
            }
        };
    }
View Full Code Here

Examples of org.apache.jetspeed.portlets.prm.model.PreferenceModel

    @Override
    public IModel<Preference> getNewRowModel(Preference preference)
    {
        final JetspeedServiceLocator locator = ((AbstractAdminWebApplication) getApplication()).getServiceLocator();
        return new PreferenceModel(locator, paNodeBean, preference);
    }
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.