Revision 34287 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/metadata/gui/MetadataInfoManager.java

View differences:

MetadataInfoManager.java
22 22

  
23 23
package org.gvsig.app.project.documents.view.metadata.gui;
24 24

  
25
import java.awt.BorderLayout;
26

  
27
import javax.swing.tree.DefaultTreeModel;
28

  
25 29
import org.gvsig.andami.PluginServices;
26 30
import org.gvsig.andami.messages.NotificationManager;
27 31
import org.gvsig.app.project.documents.view.legend.gui.AbstractThemeManagerPage;
......
93 97
	public MetadataInfoManager() {
94 98
		super();
95 99
	}
96

  
100
	
97 101
	/**
98 102
	 * Sets the necessary properties in the panel. This properties are
99 103
	 * extracted from the layer. With this properties fills the TextFields,
......
105 109
//			this.metadataPanel = new JMetadataPanel(layer);
106 110
			MetadataSwingManager manager = MetadataSwingLocator.getMetadataSwingManager();
107 111
			this.metadataPanel = manager.createJMetadataPanel(layer); 
112
	
113
			this.setLayout(new BorderLayout());
114
			this.add(metadataPanel, BorderLayout.NORTH);
115
			this.setSize(500, 360);
116
		       
108 117
		} catch (Exception e) {
109 118
			Log.error("Can't assign model",e);
110 119
		}

Also available in: Unified diff