Revision 25920 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/layers/GraphicLayer.java

View differences:

GraphicLayer.java
48 48
import java.awt.image.BufferedImage;
49 49
import java.util.ArrayList;
50 50
import java.util.Collection;
51
import java.util.Set;
51 52

  
52 53
import javax.print.attribute.PrintRequestAttributeSet;
53 54

  
......
500 501
		}
501 502
		return -1;
502 503
	}
504

  
505
	/*
506
	 * (non-Javadoc)
507
	 * 
508
	 * @see org.gvsig.metadata.Metadata#getMetadataChildren()
509
	 */
510
	public Set getMetadataChildren() {
511
		return null;
512
	}
513

  
514
	/*
515
	 * (non-Javadoc)
516
	 * 
517
	 * @see org.gvsig.metadata.Metadata#getMetadataID()
518
	 */
519
	public Object getMetadataID() {
520
		if (this.getName() != null) {
521
			return "GraphicLayer(" + this.getName() + ")";
522
		} else {
523
			return "GraphicLayer";
524
		}
525
	}
526

  
527
	/*
528
	 * (non-Javadoc)
529
	 * 
530
	 * @see org.gvsig.metadata.Metadata#getMetadataName()
531
	 */
532
	public String getMetadataName() {
533
		if (this.getName() != null) {
534
			return "Graphic Layer '" + this.getName() + "'";
535
		} else {
536
			return "Graphic Layer";
537
		}
538
	}
503 539
}

Also available in: Unified diff