litesoft
Diff Revisions
262
vs
263
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/InjectionPointSelectorController.java
|
@@ -173,7 +173,7 @@ |
173 |
173 |
|
@Override |
174 |
174 |
|
public String toString() |
175 |
175 |
|
{ |
176 |
|
- |
StringBuilder sb = new StringBuilder( "DrillDownSet:\n" ); |
|
176 |
+ |
StringBuilder sb = new StringBuilder( "DrillDownSet:" ); |
177 |
177 |
|
add( sb, "Home", mHomeSet ); |
178 |
178 |
|
if ( mSomethingBetweenHomeAndPreviousSets ) |
179 |
179 |
|
{ |
|
@@ -507,9 +507,9 @@ |
507 |
507 |
|
|
508 |
508 |
|
while ( zCurrNdx < zThru ) |
509 |
509 |
|
{ |
|
510 |
+ |
zEntries.add( Reference.create( mSynopsisLines, zCurrT ) ); |
510 |
511 |
|
int zLastNdx = zCurrNdx; |
511 |
512 |
|
T zLastT = zCurrT; |
512 |
|
- |
zEntries.add( Reference.create( mSynopsisLines, mInjectIns.get( zCurrNdx ) ) ); |
513 |
513 |
|
int zHowMany = zInjectInsToAdd / zAvailableBetweenBuckets; |
514 |
514 |
|
System.out.print( " zInjectInsToAdd / zAvailableBetweenBuckets ==> " + zInjectInsToAdd + " / " + zAvailableBetweenBuckets + " = " + zHowMany ); |
515 |
515 |
|
zInjectInsToAdd -= zHowMany; |
|
@@ -535,7 +535,6 @@ |
535 |
535 |
|
} |
536 |
536 |
|
zAvailableBetweenBuckets--; |
537 |
537 |
|
} |
538 |
|
- |
|
539 |
538 |
|
zEntries.add( Reference.create( mSynopsisLines, zCurrT ) ); |
540 |
539 |
|
zEntries.add( Bottom.create( zCurrT ) ); |
541 |
540 |
|
} |
|
@@ -548,20 +547,20 @@ |
548 |
547 |
|
int zAvailableBetweenBuckets = pCount / 2; |
549 |
548 |
|
|
550 |
549 |
|
System.out.println( " buildSubsequentViewSet( " + pCurrentIndex + " => " + zSelectedBetween + " ): " + // |
551 |
|
- |
pCount + " ( " + zLowerNdx + ", " + zUpperNdx + " ) " + zInjectInsToAdd + " | " + zAvailableBetweenBuckets ); |
|
550 |
+ |
pCount + " ( " + zUpperNdx + ", " + zLowerNdx + " ) " + zInjectInsToAdd + " | " + zAvailableBetweenBuckets ); |
552 |
551 |
|
|
553 |
552 |
|
ArrayList<ViewEntry> zEntries = new ArrayList<ViewEntry>( pCount ); |
554 |
553 |
|
pViewSets.add( new ViewSet( zEntries ) ); |
555 |
554 |
|
|
556 |
555 |
|
int zCurrNdx = zUpperNdx; |
557 |
|
- |
int zThru = zLowerNdx - 1; |
|
556 |
+ |
int zThru = zLowerNdx; |
558 |
557 |
|
T zCurrT = mInjectIns.get( zCurrNdx ); |
559 |
558 |
|
|
560 |
559 |
|
while ( zCurrNdx < zThru ) |
561 |
560 |
|
{ |
|
561 |
+ |
zEntries.add( Reference.create( mSynopsisLines,zCurrT ) ); |
562 |
562 |
|
int zLastNdx = zCurrNdx; |
563 |
563 |
|
T zLastT = zCurrT; |
564 |
|
- |
zEntries.add( Reference.create( mSynopsisLines, mInjectIns.get( zCurrNdx ) ) ); |
565 |
564 |
|
int zHowMany = zInjectInsToAdd / zAvailableBetweenBuckets; |
566 |
565 |
|
System.out.print( " zInjectInsToAdd / zAvailableBetweenBuckets ==> " + zInjectInsToAdd + " / " + zAvailableBetweenBuckets + " = " + zHowMany ); |
567 |
566 |
|
zInjectInsToAdd -= zHowMany; |
|
@@ -587,7 +586,6 @@ |
587 |
586 |
|
} |
588 |
587 |
|
zAvailableBetweenBuckets--; |
589 |
588 |
|
} |
590 |
|
- |
|
591 |
589 |
|
zEntries.add( Reference.create( mSynopsisLines, zCurrT ) ); |
592 |
590 |
|
} |
593 |
591 |
|
} |