Ignore:
Timestamp:
Feb 26, 2011, 5:26:27 PM (13 years ago)
Author:
mlg
Message:

All services have been removed from this project to be integrated in a new project : jiwigo-ws-api (not yet on the svn).
The current project now uses jiwigo-ws-api as a maven dependency (explanations can be found here : http://www.jiwigo.com/api.html )

Location:
extensions/jiwigo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo/trunk

    • Property svn:ignore set to
      bin
      target
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/mainframe/CategoriesTree.java

    r8838 r9385  
    2222import javax.swing.tree.TreeSelectionModel;
    2323
     24import fr.mael.jiwigo.Main;
    2425import fr.mael.jiwigo.om.Category;
    2526import fr.mael.jiwigo.service.CategoryService;
     
    5253   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    5354   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    54    
     55
    5556 * @author mael
    5657 * Arbre des catégories
     
    133134    /**
    134135     * creation of the nodes
    135      * @param root the root 
     136     * @param root the root
    136137     */
    137138    private void createNodes(DefaultMutableTreeNode root) {
    138139        DefaultMutableTreeNode category = null;
    139140        try {
    140             List<Category> list = CategoryService.getInstance().makeTree();
     141            List<Category> list = CategoryService.getInstance(Main.sessionManager).makeTree();
    141142            for (Category cat : list) {
    142143                if (cat.getCategoriesMeres().size() == 0) {
     
    228229                if (selectedCategory != null) {
    229230                    //try to create a category
    230                     if (CategoryService.getInstance().creer(nomcategorie, selectedCategory.getIdentifiant())) {
     231                    if (CategoryService.getInstance(Main.sessionManager).creer(nomcategorie,
     232                            selectedCategory.getIdentifiant())) {
    231233                        setUpUi();
    232234                    } else {
     
    236238                    }
    237239                } else {
    238                     if (CategoryService.getInstance().creer(nomcategorie)) {
     240                    if (CategoryService.getInstance(Main.sessionManager).creer(nomcategorie)) {
    239241                        setUpUi();
    240242                    } else {
Note: See TracChangeset for help on using the changeset viewer.