public void write( Path layout, DataOutputStream out ) throws IOException{ out.writeByte( 0 ); if( layout == null ){ out.writeBoolean( false ); } else{ out.writeBoolean( true ); out.writeUTF( layout.toString() ); } }
public void write( Path layout, DataOutputStream out ) throws IOException{ out.writeByte( 0 ); if( layout == null ){ out.writeBoolean( false ); } else{ out.writeBoolean( true ); out.writeUTF( layout.toString() ); } }
@Override public void store( DataOutputStream out ) throws IOException{ Version.write(out, Version.VERSION_1_1_1); out.writeInt(index); if (placeholder == null){ out.writeBoolean(false); } else{ out.writeBoolean(true); out.writeUTF(placeholder.toString()); } }
@Override public void store( DataOutputStream out ) throws IOException{ Version.write(out, Version.VERSION_1_1_1); out.writeInt(index); if (placeholder == null){ out.writeBoolean(false); } else{ out.writeBoolean(true); out.writeUTF(placeholder.toString()); } }
public void store( DataOutputStream out ) throws IOException { Version.write( out, Version.VERSION_1_0_8 ); out.writeInt( index ); if( placeholder == null ){ out.writeBoolean( false ); } else{ out.writeBoolean( true ); out.writeUTF( placeholder.toString() ); } }
public void store( DataOutputStream out ) throws IOException { Version.write( out, Version.VERSION_1_0_8 ); out.writeInt( x ); out.writeInt( y ); out.writeInt( width ); out.writeInt( height ); out.writeBoolean( fullscreen ); out.writeBoolean( placeholder != null ); if( placeholder != null ){ out.writeUTF( placeholder.toString() ); } }
public void write( Path layout, XElement element ){ if( layout != null ){ element.addElement( "type" ).setString( layout.toString() ); } } }
public void write( Path layout, XElement element ){ if( layout != null ){ element.addElement( "type" ).setString( layout.toString() ); } } }
public void writeProperty( Location element, DataOutputStream out ) throws IOException { Version.write( out, Version.VERSION_1_0_8 ); out.writeUTF( element.getMode().toString() ); out.writeUTF( element.getRoot() ); transformer.write( element.getLocation(), out ); }
public void writeProperty( Location element, DataOutputStream out ) throws IOException { Version.write( out, Version.VERSION_1_1_2 ); out.writeUTF( element.getMode().toString() ); out.writeUTF( element.getRoot() ); out.writeBoolean( element.isApplicationDefined() ); transformer.write( element.getLocation(), out ); }
@Override public void store( XElement element ){ element.addElement("index").setInt(index); if (placeholder != null){ element.addElement("placeholder").setString(placeholder.toString()); } }
@Override public void store( XElement element ){ element.addElement("index").setInt(index); if (placeholder != null){ element.addElement("placeholder").setString(placeholder.toString()); } }
public void store( XElement element ) { if( index >= 0 ){ element.addElement( "index" ).setInt( index ); } if( placeholder != null ){ element.addElement( "placeholder" ).setString( placeholder.toString() ); } }
public void write( XElement out ){ out.addBoolean( "shared", shared ); if( anchor != null ){ out.addElement( "anchor" ).setString( anchor ); } for( Path placeholder : placeholders ){ out.addElement( "placeholder" ).setString( placeholder.toString() ); } }
public void store( XElement element ){ element.addElement( "placeholder" ).setString( placeholder.toString() ); if( backup instanceof SplitDockProperty ){ backup.store( element.addElement( "backup-location" ) ); } else if( backup instanceof SplitDockPathProperty ){ backup.store( element.addElement( "backup-path" ) ); } }
@Override protected void fill( PerspectiveDockable dockable, ConvertedPlaceholderListItem item ){ Path placeholder = dockable.getPlaceholder(); if( placeholder != null ) { item.putString( "placeholder", placeholder.toString() ); item.setPlaceholder( placeholder ); } PerspectiveStation station = dockable.asStation(); if( station != null ){ item.setPlaceholderMap( station.getPlaceholders() ); } }
@Override public void store( XElement element ){ element.addElement("column").setInt(column); element.addElement("line").setInt(line); if (placeholder != null){ element.addElement("placeholder").setString(placeholder.toString()); } }
public void store( XElement element ) { // element.setInt( index ); element.addElement( "index" ).setInt( index ); element.addElement( "holding" ).setBoolean( holding ); if( size >= 0 ){ element.addElement( "size" ).setInt( size ); } if( placeholder != null ){ element.addElement( "placeholder" ).setString( placeholder.toString() ); } }
public void store( XElement element ) { element.addElement( "x" ).setInt( x ); element.addElement( "y" ).setInt( y ); element.addElement( "width" ).setInt( width ); element.addElement( "height" ).setInt( height ); element.addElement( "fullscreen" ).setBoolean( fullscreen ); if( placeholder != null ){ element.addElement( "placeholder" ).setString( placeholder.toString() ); } }
public void writePropertyXML( Location b, XElement element ) { element.addElement( "mode" ).setString( b.getMode().toString() ); element.addElement( "root" ).setString( b.getRoot() ); element.addElement( "applicationDefined" ).setBoolean( b.isApplicationDefined() ); transformer.writeXML( b.getLocation(), element.addElement( "location" ) ); }