|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemDragDropAdapter
Method Summary | |
---|---|
boolean |
canDrag(java.lang.Object element)
Return true if this object can be copied to another location via drag and drop, or clipboard copy. |
boolean |
canDrag(SystemRemoteResourceSet elements)
Return true if these objects can be copied to another location via drag and drop, or clipboard copy. |
boolean |
canDrop(java.lang.Object element)
Return true if another object can be copied into this object |
java.lang.Object |
doDrag(java.lang.Object element,
boolean sameSystemType,
IProgressMonitor monitor)
Perform the drag on the given object. |
ISystemResourceSet |
doDrag(SystemRemoteResourceSet set,
IProgressMonitor monitor)
Perform the drag on the given objects. |
ISystemResourceSet |
doDrop(ISystemResourceSet fromSet,
java.lang.Object to,
boolean sameSystemType,
boolean sameSystem,
int srcType,
IProgressMonitor monitor)
Perform drop from the "fromSet" of objects to the "to" object |
java.lang.Object |
doDrop(java.lang.Object from,
java.lang.Object to,
boolean sameSystemType,
boolean sameSystem,
int srcType,
IProgressMonitor monitor)
Perform drop from the "from" object to the "to" object |
ISubSystem |
getSubSystem(java.lang.Object element)
Get the subsystem that corresponds to this object if one exists. |
boolean |
validateDrop(ISystemResourceSet srcSet,
java.lang.Object target,
boolean sameSystem)
Return true if it is valid for the src objects to be dropped in the target |
boolean |
validateDrop(java.lang.Object src,
java.lang.Object target,
boolean sameSystem)
Return true if it is valid for the src object to be dropped in the target |
Methods inherited from interface org.eclipse.rse.core.subsystems.IRemoteObjectIdentifier |
---|
getAbsoluteName |
Method Detail |
---|
boolean canDrag(java.lang.Object element)
boolean canDrag(SystemRemoteResourceSet elements)
java.lang.Object doDrag(java.lang.Object element, boolean sameSystemType, IProgressMonitor monitor)
element
- the object to copysameSystemType
- indication of whether the source and target reside on the same type of systemmonitor
- the progress monitor
ISystemResourceSet doDrag(SystemRemoteResourceSet set, IProgressMonitor monitor)
set
- the set of objects to copymonitor
- the progress monitor
boolean canDrop(java.lang.Object element)
element
- the target of a drop operation
java.lang.Object doDrop(java.lang.Object from, java.lang.Object to, boolean sameSystemType, boolean sameSystem, int srcType, IProgressMonitor monitor)
from
- the source object for the dropto
- the target object for the dropsameSystemType
- indication of whether the source and target reside of the same type of systemsameSystem
- indication of whether the source and target are on the same systemsrcType
- the type of object to be dropped.monitor
- the progress monitor
ISystemResourceSet doDrop(ISystemResourceSet fromSet, java.lang.Object to, boolean sameSystemType, boolean sameSystem, int srcType, IProgressMonitor monitor)
fromSet
- the source objects for the dropto
- the target object for the dropsameSystemType
- indication of whether the source and target reside of the same type of systemsameSystem
- indication of whether the source and target are on the same systemsrcType
- the type of objects to be droppedmonitor
- the progress monitor
boolean validateDrop(java.lang.Object src, java.lang.Object target, boolean sameSystem)
src
- the object to droptarget
- the object which src is dropped insameSystem
- whether this is the same system
boolean validateDrop(ISystemResourceSet srcSet, java.lang.Object target, boolean sameSystem)
srcSet
- set of resources to drop on the targettarget
- the object which src is dropped insameSystem
- whether this is the same system
ISubSystem getSubSystem(java.lang.Object element)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |