View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2010 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  package com.eviware.soapui.support.dnd.handlers;
14  
15  import com.eviware.soapui.model.ModelItem;
16  
17  public abstract class AbstractBeforeModelItemDropHandler<T1 extends ModelItem, T2 extends ModelItem> extends
18  		AbstractModelItemDropHandler<T1, T2>
19  {
20  	protected AbstractBeforeModelItemDropHandler( Class<T1> sourceClass, Class<T2> targetClass )
21  	{
22  		super( sourceClass, targetClass );
23  	}
24  
25  	@Override
26  	boolean canCopyAfter( T1 source, T2 target )
27  	{
28  		return false;
29  	}
30  
31  	@Override
32  	boolean canMoveAfter( T1 source, T2 target )
33  	{
34  		return false;
35  	}
36  
37  	@Override
38  	boolean copyAfter( T1 source, T2 target )
39  	{
40  		return false;
41  	}
42  
43  	@Override
44  	String getCopyAfterInfo( T1 source, T2 target )
45  	{
46  		return null;
47  	}
48  
49  	@Override
50  	String getMoveAfterInfo( T1 source, T2 target )
51  	{
52  		return null;
53  	}
54  
55  	@Override
56  	boolean moveAfter( T1 source, T2 target )
57  	{
58  		return false;
59  	}
60  
61  	@Override
62  	boolean canCopyOn( T1 source, T2 target )
63  	{
64  		return false;
65  	}
66  
67  	@Override
68  	boolean canMoveOn( T1 source, T2 target )
69  	{
70  		return false;
71  	}
72  
73  	@Override
74  	boolean copyOn( T1 source, T2 target )
75  	{
76  		return false;
77  	}
78  
79  	@Override
80  	String getCopyOnInfo( T1 source, T2 target )
81  	{
82  		return null;
83  	}
84  
85  	@Override
86  	String getMoveOnInfo( T1 source, T2 target )
87  	{
88  		return null;
89  	}
90  
91  	@Override
92  	boolean moveOn( T1 source, T2 target )
93  	{
94  		return false;
95  	}
96  }