Changeset 292
- Timestamp:
- 09/03/08 14:43:49 (16 years ago)
- Location:
- trunk/src/org/expeditee
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/agents/SearchAgent.java
r291 r292 50 50 String title = this.getClass().getSimpleName() + " [" + startName + "] [" + pattern 51 51 + "]"; 52 _results = new FrameCreator(resultsFrameset, null, title, false );52 _results = new FrameCreator(resultsFrameset, null, title, false, true); 53 53 // Set the frame to be displayed after running the agent 54 54 _end = _results.getFirstFrame(); -
trunk/src/org/expeditee/agents/SearchFrameset.java
r291 r292 21 21 protected Frame process(Frame frame) { 22 22 int count = FrameIO.getLastNumber(_startName); 23 for (long i = _firstFrame;i <= _maxFrame && i < count; i++) {23 for (long i = _firstFrame;i <= _maxFrame && i <= count; i++) { 24 24 if (_stop) { 25 25 break; -
trunk/src/org/expeditee/agents/SearchFramesetFast.java
r291 r292 30 30 31 31 int count = FrameIO.getLastNumber(_startName); 32 for (long i = _firstFrame;i <= _maxFrame && i < count; i++) {32 for (long i = _firstFrame;i <= _maxFrame && i <= count; i++) { 33 33 if (_stop) { 34 34 break; -
trunk/src/org/expeditee/agents/SearchFramesetNoResults.java
r291 r292 27 27 String path = frame.path; 28 28 int count = FrameIO.getLastNumber(frame.getFramesetName()); 29 for (long i = _firstFrame;i <= _maxFrame && i < count; i++) {29 for (long i = _firstFrame;i <= _maxFrame && i <= count; i++) { 30 30 if (_stop) { 31 31 break; -
trunk/src/org/expeditee/agents/mail/MailSession.java
r290 r292 464 464 // Create a frameCreator 465 465 final FrameCreator frames = new FrameCreator(frame 466 .getFramesetName(), frame.path, subject, false );466 .getFramesetName(), frame.path, subject, false, false); 467 467 468 468 frames.addText("@date: " + message.getSentDate(), null, -
trunk/src/org/expeditee/gui/FrameCreator.java
r284 r292 35 35 private Frame _firstFrame; 36 36 37 private boolean _multiColumn; 38 37 39 public FrameCreator(String frameTitle) { 38 40 this(DisplayIO.getCurrentFrame().getFramesetName(), DisplayIO 39 .getCurrentFrame().path, frameTitle, false );41 .getCurrentFrame().path, frameTitle, false, false); 40 42 } 41 43 … … 81 83 82 84 public FrameCreator(String name, String path, String frameTitle, 83 boolean recreate ) {84 85 boolean recreate, boolean multiColumn) { 86 _multiColumn = multiColumn; 85 87 _Mnext = createButton("@Next", null, null, 10F, 15F); 86 88 … … 178 180 // if there is no more room on the X axis, we have to start a 179 181 // new frame 180 // if (toAdd.getBoundsWidth() + _lastX > FrameGraphics181 //.getMaxSize().width) {182 // Make sure text items that are created on the current183 // frame are removed184 _current.removeItem(toAdd);185 createNextFrame();186 //}182 if (!_multiColumn || toAdd.getBoundsWidth() + _lastX > FrameGraphics 183 .getMaxSize().width) { 184 // Make sure text items that are created on the current 185 // frame are removed 186 _current.removeItem(toAdd); 187 createNextFrame(); 188 } 187 189 } 188 190 -
trunk/src/org/expeditee/gui/MessageBay.java
r284 r292 282 282 if (_creator == null) { 283 283 _creator = new FrameCreator(MESSAGES_FRAMESET_NAME, 284 FrameIO.PROFILE_PATH, MESSAGES_FRAMESET_NAME, true );284 FrameIO.PROFILE_PATH, MESSAGES_FRAMESET_NAME, true, false); 285 285 } 286 286
Note:
See TracChangeset
for help on using the changeset viewer.