View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2008 eviware.com 
3    *
4    *  soapUI is free software; you can redistribute it and/or modify it under the 
5    *  terms of version 2.1 of the GNU Lesser General Public License as published by 
6    *  the Free Software Foundation.
7    *
8    *  soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
9    *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
10   *  See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  
14  package com.eviware.soapui.support.dnd.handlers;
15  
16  import com.eviware.soapui.model.ModelItem;
17  
18  public abstract class AbstractBeforeModelItemDropHandler<T1 extends ModelItem, T2 extends ModelItem> 
19  	extends AbstractModelItemDropHandler<T1, T2>
20  {
21  	protected AbstractBeforeModelItemDropHandler( Class<T1> sourceClass, Class<T2> targetClass )
22  	{
23  		super( sourceClass, targetClass );
24  	}
25  
26  	@Override
27  	boolean canCopyAfter( T1 source, T2 target )
28  	{
29  		return false;
30  	}
31  
32  	@Override
33  	boolean canMoveAfter( T1 source, T2 target )
34  	{
35  		return false;
36  	}
37  
38  	@Override
39  	boolean copyAfter( T1 source, T2 target )
40  	{
41  		return false;
42  	}
43  
44  	@Override
45  	String getCopyAfterInfo( T1 source, T2 target )
46  	{
47  		return null;
48  	}
49  
50  	@Override
51  	String getMoveAfterInfo( T1 source, T2 target )
52  	{
53  		return null;
54  	}
55  
56  	@Override
57  	boolean moveAfter( T1 source, T2 target )
58  	{
59  		return false;
60  	}
61  	
62  	@Override
63  	boolean canCopyOn( T1 source, T2 target )
64  	{
65  		return false;
66  	}
67  
68  	@Override
69  	boolean canMoveOn( T1 source, T2 target )
70  	{
71  		return false;
72  	}
73  
74  	@Override
75  	boolean copyOn( T1 source, T2 target )
76  	{
77  		return false;
78  	}
79  
80  	@Override
81  	String getCopyOnInfo( T1 source, T2 target )
82  	{
83  		return null;
84  	}
85  
86  	@Override
87  	String getMoveOnInfo( T1 source, T2 target )
88  	{
89  		return null;
90  	}
91  
92  	@Override
93  	boolean moveOn( T1 source, T2 target )
94  	{
95  		return false;
96  	}
97  }