KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > changeorder > DefaultChangeOrderModel


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.changeorder;
14
15 /**
16  * does nothing
17  *
18  * @author av
19  */

20 public class DefaultChangeOrderModel implements ChangeOrderModel {
21
22   /**
23    * returns false
24    */

25   public boolean mayMove(Object JavaDoc scope, Object JavaDoc node) {
26     return false;
27   }
28
29   /**
30    * does nothing
31    */

32   public void move(Object JavaDoc scope, Object JavaDoc item, int oldIndex, int newIndex) {
33   }
34
35 }
36
Popular Tags