Revision 9532 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/gui/ProjectWindow.java

View differences:

ProjectWindow.java
187 187
	/**
188 188
	 * Devuelve el nombre del tipo de documento
189 189
	 * activo (el mismo que ProjectDocumentFactory.getRegisterName)
190
	 * 
191
	 * 
190
	 *
191
	 *
192 192
	 * @return
193 193
	 */
194 194

  
......
258 258

  
259 259
		layout.setConstraints(getJPanel(),c);
260 260
		add(getJPanel(), null);
261
		
261

  
262 262
		c.fill = GridBagConstraints.BOTH;
263 263
		c.gridy=1;
264 264
		c.weightx = 1.0;
......
295 295
					ProjectDocument document=documentFactory.createFromGUI(p);
296 296
					if (document == null) return null;
297 297
					document.setProjectDocumentFactory(documentFactory);
298
					p.setModified(true);
298 299
					return document;
299 300
				}
300 301
			} catch (InstantiationException e) {
......
335 336
			IWindow window=doc.createWindow();
336 337
			PluginServices.getMDIManager().addWindow(window);
337 338
		}
339
		p.setModified(true);
338 340
	}
339 341

  
340 342
	/**
......
387 389
		doc.setName(nuevoNombre);
388 390

  
389 391
		refreshList();
392
		p.setModified(true);
390 393
	}
391 394

  
392 395
	/**
......
413 416
				p.delDocument(doc);
414 417
			}
415 418
			refreshList();
416

  
419
			p.setModified(true);
417 420
		}
418 421
	}
419 422

  
......
440 443

  
441 444
		refreshControls();
442 445
		lstDocs.setSelectedIndex(index);
446
		p.setModified(true);
443 447
	}
444 448

  
445 449
	/**

Also available in: Unified diff