Révision 2547

tmp/org.txm.ahc.core/src/org/txm/ahc/core/functions/AHC.java (revision 2547)
730 730
	
731 731
	@Override
732 732
	public String getComputingStartMessage() {
733
		
733 734
		// from CA
734 735
		if (this.getParent().isVisible()) {
735 736
			return TXMCoreMessages.bind(AHCCoreMessages.info_ahcOfTheP0ca, this.getParent().getSimpleName());
......
738 739
		else if (this.getLexicalTable().isVisible()) {
739 740
			return TXMCoreMessages.bind(AHCCoreMessages.info_ahcOfTheP0LexcialTable, this.getLexicalTable().getSimpleName());
740 741
		}
741
		// from partition
742
		
742 743
		else {
743
			return TXMCoreMessages.bind(AHCCoreMessages.info_ahcOfTheP0PartitionCommaP1Property, this.getLexicalTable().getPartition().getSimpleName(), this.getLexicalTable().getProperty());
744
			
745
			// from partition
746
			if (this.getParent().getParent().getPartition() != null) {
747
				return TXMCoreMessages.bind(AHCCoreMessages.info_ahcOfTheP0PartitionCommaP1Property, this.getLexicalTable().getPartition().getSimpleName(), this.getLexicalTable().getProperty());
748
			}
749
			// from sub-corpus lexical table
750
			// FIXME: SJ: this special case is possible when creating Specificities then calling the command on the invisible Lexical Table
751
			// need to if we need a special log message here
752
			else {
753
				return "";
754
			}
744 755
		}
756
		
757
		
745 758
	}
746 759
	
747 760
	/**
tmp/org.txm.specificities.core/src/org/txm/specificities/core/functions/Specificities.java (revision 2547)
692 692
				return TXMCoreMessages.bind(SpecificitiesCoreMessages.info_specificitiesOfTheP0PartitionCommaP1Property, this.getParent().getPartition().getSimpleName(), this.getParent()
693 693
						.getProperty());
694 694
			}
695
			// from subcorpus
695
			// from sub-corpus lexical table
696
			// FIXME: SJ: this special case is possible when creating Specificities then calling the command on the invisible Lexical Table
697
			// need to if we need a special log message here
696 698
			else {
697 699
				return TXMCoreMessages.bind(SpecificitiesCoreMessages.info_specificitiesOfTheP0Corpus, this.getParent().getParent().getSimpleName());
698 700
			}
tmp/org.txm.ca.core/src/org/txm/ca/core/functions/CA.java (revision 2547)
783 783
		if (this.parent.isVisible()) {
784 784
			return TXMCoreMessages.bind(CACoreMessages.info_caOfTheP0LexcialTable, this.getParent().getSimpleName());
785 785
		}
786
		// from partition
787 786
		else {
788
			return TXMCoreMessages.bind(CACoreMessages.info_caOfTheP0PartitionCommaP1Property, this.getParent().getPartition().getSimpleName(), this.getParent().getProperty());
787
			// from partition
788
			if (this.getParent().getPartition() != null) {
789
				return TXMCoreMessages.bind(CACoreMessages.info_caOfTheP0PartitionCommaP1Property, this.getParent().getPartition().getSimpleName(), this.getParent().getProperty());
790
			}
791
			// from sub-corpus lexical table
792
			// FIXME: SJ: this special case is possible when creating Specificities then calling the command on the invisible Lexical Table
793
			// need to if we need a special log message here
794
			else {
795
				return "";
796
			}
789 797
		}
798
		
799
		
790 800
	}
791 801
	
792 802
	

Formats disponibles : Unified diff