org.eclipse.rse.ui.view
Class SystemViewDataDragAdapter
java.lang.Object
org.eclipse.swt.dnd.DragSourceAdapter
org.eclipse.rse.ui.view.SystemViewDataDragAdapter
- All Implemented Interfaces:
- DragSourceListener, EventListener, SWTEventListener
- public class SystemViewDataDragAdapter
- extends DragSourceAdapter
Drag adapter for dragging objects in the Systems views
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_DELIMITER
public static final char CONNECTION_DELIMITER
- See Also:
- Constant Field Values
RESOURCE_SEPARATOR
public static final char RESOURCE_SEPARATOR
- See Also:
- Constant Field Values
SystemViewDataDragAdapter
public SystemViewDataDragAdapter(ISelectionProvider provider)
- Constructor for drag adapter
dragFinished
public void dragFinished(DragSourceEvent event)
dragStart
public void dragStart(DragSourceEvent event)
dragSetData
public void dragSetData(DragSourceEvent event)
- Method for determining the source (drag) object(s) and
encoding those objects in a byte[]. We encode the profile,
connection and subsystem, and then we use ISystemDragDropAdapter.getAbsoluteName()
to determine the ID for the object within it's subsystem.
getEditorRegistry
protected IEditorRegistry getEditorRegistry()
getDefaultTextEditor
protected IEditorDescriptor getDefaultTextEditor()
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.