Package bibliothek.util

Examples of bibliothek.util.Path


  /**
   * Creates a new preference
   * @param properties the properties to access
   */
  public KeyStrokeMaximizePreference( DockProperties properties ){
    super( properties, CControl.KEY_GOTO_MAXIMIZED, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.maximize" ) );
   
    setLabelId( "preference.shortcut.maximize.label" );
    setDescriptionId( "preference.shortcut.maximize.description" );
  }
View Full Code Here


    /**
     * Creates a new preference
     * @param properties the properties to access
     */
    public KeyStrokeMinimizePreference( DockProperties properties ){
        super( properties, CControl.KEY_GOTO_MINIMIZED, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.minimize" ) );
       
        setLabelId( "preference.shortcut.minimize.label" );
        setDescriptionId( "preference.shortcut.minimize.description" );
    }
View Full Code Here

  /**
   * Creates a new preference
   * @param properties the properties to access
   */
  public KeyStrokeMaximizeChangePreference( DockProperties properties ){
    super( properties, CControl.KEY_MAXIMIZE_CHANGE, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.maximize_change" ) );
   
    setLabelId( "preference.shortcut.maximize_change.label" );
    setDescriptionId( "preference.shortcut.maximize_change.description" );
   
    setDefaultValue( KeyStroke.getKeyStroke( KeyEvent.VK_M, KeyEvent.CTRL_DOWN_MASK ));
View Full Code Here

    /**
     * Creates a new preference
     * @param properties the properties to access
     */
    public KeyStrokeExternalizePreference( DockProperties properties ){
        super( properties, CControl.KEY_GOTO_EXTERNALIZED, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.externalize" ) );
       
        setLabelId( "preference.shortcut.externalize.label" );
        setDescriptionId( "preference.shortcut.externalize.description" );
       
        setDefaultValue( KeyStroke.getKeyStroke( KeyEvent.VK_E, KeyEvent.CTRL_DOWN_MASK ));
View Full Code Here

    /**
     * Creates a new preference
     * @param properties the properties to access
     */
    public KeyStrokeNormalizePreference( DockProperties properties ){
        super( properties, CControl.KEY_GOTO_NORMALIZED, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.normalize" ) );
       
        setLabelId( "preference.shortcut.normalize.label" );
        setDescriptionId( "preference.shortcut.normalize.description" );
       
        setDefaultValue( KeyStroke.getKeyStroke( KeyEvent.VK_N, KeyEvent.CTRL_DOWN_MASK ));
View Full Code Here

    /**
     * Creates a new preference
     * @param properties the properties to access
     */
    public KeyStrokeClosePreference( DockProperties properties ){
        super( properties, CControl.KEY_CLOSE, Path.TYPE_KEYSTROKE_PATH, new Path( "dock.common.control.close" ) );
       
        setLabelId( "preference.shortcut.close.label" );
        setDescriptionId( "preference.shortcut.close.description" );
       
        setDefaultValue( KeyStroke.getKeyStroke( KeyEvent.VK_F4, KeyEvent.CTRL_DOWN_MASK ));
View Full Code Here

          }
          if( dockable != null ){
            XElement xlocation = xdockable.getElement( "location" );
            String locationRoot = xlocation.getString( "root" );
            DockableProperty location = transformer.readXML( xlocation );
            Path mode = new Path( xlocation.getString( "mode" ));
           
            ExtendedMode extendedMode = perspective.getLocationManager().getMode( mode );
            if( extendedMode != null ){
              dockable.getLocationHistory().add( extendedMode, new Location( mode, locationRoot, location ) );
            }
View Full Code Here

            String locationRoot = in.readUTF();
            String modeId = in.readUTF();
            DockableProperty location = transformer.read( in );
           
            if( dockable != null ){
              Path mode = new Path( modeId );
             
              ExtendedMode extendedMode = perspective.getLocationManager().getMode( mode );
              if( extendedMode != null ){
                dockable.getLocationHistory().add( extendedMode, new Location( mode, locationRoot, location ) );
              }
View Full Code Here

   
    private Location getInvisibleLocation( CDockablePerspective dockable ){
    LocationHistory history = dockable.getLocationHistory();
    List<Path> order = history.getOrder();
    if( !order.isEmpty() ){
      Path mode = order.get( order.size()-1 );
      Location location = history.getLocations().get( mode );
      return location;
    }
    return null;
    }
View Full Code Here

        root = stations.get( key );
      }
      if( root == null ){
        root = getPredefinedStation( key, basePerspective.getSituation() );
      }
      Path stationType = null;
     
      if( root != null ){
        // really a station
        DockLayout<Path> layout = (DockLayout<Path>)root.getAdjacent( RootStationAdjacentFactory.FACTORY_ID );
        if( layout != null){
View Full Code Here

TOP

Related Classes of bibliothek.util.Path

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.