|
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(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(Object element)
Return true if another object can be copied into this object |
Object |
doDrag(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,
Object to,
boolean sameSystemType,
boolean sameSystem,
int srcType,
IProgressMonitor monitor)
Perform drop from the "fromSet" of objects to the "to" object |
Object |
doDrop(Object from,
Object to,
boolean sameSystemType,
boolean sameSystem,
int srcType,
IProgressMonitor monitor)
Perform drop from the "from" object to the "to" object |
ISubSystem |
getSubSystem(Object element)
Get the subsystem that corresponds to this object if one exists. |
boolean |
validateDrop(ISystemResourceSet srcSet,
Object target,
boolean sameSystem)
Return true if it is valid for the src objects to be dropped in the target |
boolean |
validateDrop(Object src,
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(Object element)
boolean canDrag(SystemRemoteResourceSet elements)
Object doDrag(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(Object element)
element
- the target of a drop operation
Object doDrop(Object from, 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, 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(Object src, 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, 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(Object element)
|
RSE Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |