Révision 2630

tmp/org.txm.rcp/src/main/java/org/txm/rcp/actions/CreatePartitionDialog.java (revision 2630)
669 669
			}
670 670
			
671 671
			// FIXME: SJ: getPartition() calls a compute() so the compute is done 2 times when using Assisted Mode? need to check
672
			partition = this.compositeForAssisted.getPartition(name);
672
			partition = this.compositeForAssisted.createPartition(name);
673 673
		}
674 674
		// Advanced mode
675 675
		else if (isAdvancedSelected) {
tmp/org.txm.rcp/src/main/java/org/txm/rcp/swt/widget/PartitionComposer.java (revision 2630)
582 582
	}
583 583
	
584 584
	/**
585
	 * Gets the partition.
585
	 * Creates partition using the specified name and the widget values.
586 586
	 *
587 587
	 * @return the partition
588 588
	 */
589
	public Partition getPartition(String name) {
589
	public Partition createPartition(String name) {
590 590
		if (this.parts.size() == 0) {
591 591
			System.out.println(TXMUIMessages.errorColonThisPartitionHasNoPart);
592 592
			return null;

Formats disponibles : Unified diff