Package bibliothek.extension.gui.dock.preference

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


     * 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

     * 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

     * 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

     * 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

   
    /**
     * 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

TOP

Related Classes of bibliothek.extension.gui.dock.preference.PreferenceModel

Copyright © 2018 www.massapicom. 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.