Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.common.ui.services.dnd.core
Interface IDragListenerContext

All Superinterfaces:
IListenerContext

public interface IDragListenerContext
extends IListenerContext

Interface for accessing the attributes used to determine the IDragSourceListener


Field Summary
 
Fields inherited from interface org.eclipse.gmf.runtime.common.ui.services.dnd.core. IListenerContext
ALL_TRANSFERS, DRAG, DROP
 
Method Summary
  IWorkbenchPart getActivePart ()
          Returns the active IWorkbenchPart
 java.lang.Class getSelectedElementType ()
          Returns an element type associated with the current selection in the active IWorkbenchPart
 boolean isCompatible ()
          Returns a boolean to indicate whether a direct match is required for the element type or not.
 
Methods inherited from interface org.eclipse.gmf.runtime.common.ui.services.dnd.core. IListenerContext
getOperationType, getTransferId
 

Method Detail

isCompatible

boolean isCompatible()
Returns a boolean to indicate whether a direct match is required for the element type or not. For a compatible type the element type supported by the provider should be assignable from this context's element type.

Returns:
true if compatible is requested, false otherwise (for a direct match)

getActivePart


IWorkbenchPart getActivePart()
Returns the active IWorkbenchPart

Returns:
Returns the active IWorkbenchPart

getSelectedElementType

java.lang.Class getSelectedElementType()
Returns an element type associated with the current selection in the active IWorkbenchPart

Returns:
Returns a Class

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire