Revision 37827
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/gui/WizardPanel.java | ||
---|---|---|
38 | 38 |
import org.gvsig.fmap.mapcontext.MapContextManager; |
39 | 39 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
40 | 40 |
import org.gvsig.fmap.mapcontrol.MapControl; |
41 |
import org.slf4j.Logger; |
|
42 |
import org.slf4j.LoggerFactory; |
|
41 | 43 |
|
42 | 44 |
public abstract class WizardPanel extends JPanel { |
43 | 45 |
|
46 |
private static final Logger logger = LoggerFactory.getLogger(WizardPanel.class); |
|
44 | 47 |
private static final long serialVersionUID = 5317749209668850863L; |
45 | 48 |
private String tabName = "TabName"; |
46 | 49 |
private MapControl mapCtrl = null; |
... | ... | |
117 | 120 |
MapContextLocator.getMapContextManager(); |
118 | 121 |
final MapContext mapContext = mapControl.getMapContext(); |
119 | 122 |
|
123 |
logger.info("addLayer('{}','{}')", layerName, parameters.toString()); |
|
120 | 124 |
Thread task = new Thread(new Runnable() { |
121 | 125 |
|
122 | 126 |
public void run() { |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/DefaultProject.java | ||
---|---|---|
112 | 112 |
*/ |
113 | 113 |
private static final long serialVersionUID = -4449622027521773178L; |
114 | 114 |
|
115 |
// private static final Logger logger = LoggerFactory.getLogger(Project |
|
116 |
// .class); |
|
115 |
private static final Logger logger = LoggerFactory.getLogger(Project.class); |
|
117 | 116 |
|
118 | 117 |
private static ProjectPreferences preferences = new ProjectPreferences(); |
119 | 118 |
|
... | ... | |
195 | 194 |
} |
196 | 195 |
|
197 | 196 |
public Document createDocument(String type) { |
197 |
logger.info("createDocument('{}')",type); |
|
198 | 198 |
return ProjectManager.getInstance().createDocument(type); |
199 | 199 |
} |
200 | 200 |
|
... | ... | |
379 | 379 |
* as IProjectDocument |
380 | 380 |
*/ |
381 | 381 |
public void add(Document document) { |
382 |
logger.info("add('{}')", document.toString()); |
|
383 |
|
|
382 | 384 |
document.addPropertyChangeListener(this); |
383 | 385 |
document.setProject(this); |
384 | 386 |
document.setName(this.getUniqueNameForDocument(document.getTypeName(), |
... | ... | |
396 | 398 |
* as IProjectDocument |
397 | 399 |
*/ |
398 | 400 |
public void remove(Document doc) { |
401 |
logger.info("remove('{}')", doc.toString()); |
|
399 | 402 |
documents.remove(doc); |
400 | 403 |
this.setModified(true); |
401 | 404 |
change.firePropertyChange("delDocument", doc, null); |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/ProjectManager.java | ||
---|---|---|
165 | 165 |
* @return the created documents |
166 | 166 |
*/ |
167 | 167 |
public Iterator<? extends Document> createDocumentsByUser(String type) { |
168 |
logger.info("createDocumentsByUser('{}')", type); |
|
168 | 169 |
return getDocumentManager(type).createDocumentsByUser(); |
169 | 170 |
} |
170 | 171 |
|
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/spi/AbstractDataParameters.java | ||
---|---|---|
53 | 53 |
return getDelegatedDynObject().getDynValue(name); |
54 | 54 |
} |
55 | 55 |
|
56 |
public String toString() { |
|
57 |
return getDelegatedDynObject().toString(); |
|
58 |
} |
|
59 |
|
|
56 | 60 |
public void setDynValue(String name, Object value) { |
57 | 61 |
getDelegatedDynObject().setDynValue(name, value); |
58 | 62 |
// return this ??? |
Also available in: Unified diff