-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb8f300
commit 715e687
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
package org.luwrain.app.mail; | ||
|
||
import java.util.*; | ||
|
||
import org.luwrain.core.*; | ||
import org.luwrain.controls.*; | ||
import org.luwrain.pim.mail.*; | ||
|
||
final class FoldersModel implements TreeListArea.Model<MailFolder> | ||
{ | ||
static private final int | ||
DEFAULT_ID = 17; | ||
|
||
final App app; | ||
FoldersModel(App app) { this.app = app; } | ||
|
||
@Override public boolean getItems(MailFolder obj, TreeListArea.Collector<MailFolder> collector) | ||
{ | ||
return true; | ||
// collector.collect(l); | ||
} | ||
|
||
@Override public MailFolder getRoot() | ||
{ | ||
return null; | ||
} | ||
|
||
@Override public boolean isLeaf(MailFolder item) | ||
{ | ||
return false; | ||
} | ||
} |