EGF Engine
Release 0.1.0

org.eclipse.egf.core.ui.workbench.internal.drop
Class PatternLibraryDropAdapterAssistant

java.lang.Object
  extended by CommonDropAdapterAssistant
      extended by org.eclipse.egf.core.ui.workbench.internal.drop.PatternLibraryDropAdapterAssistant

public class PatternLibraryDropAdapterAssistant
extends CommonDropAdapterAssistant

Drop assistant for pattern libraries.
Handles that a set of patterns (including a single one) or an entire library can be moved to a receiving one.
Delegates to the pattern refactoring mechanism to do so.


Constructor Summary
PatternLibraryDropAdapterAssistant()
           
 
Method Summary
 IStatus handleDrop(CommonDropAdapter dropAdapter_p, DropTargetEvent dropTargetEvent_p, Object target_p)
           
 IStatus validateDrop(Object target_p, int operation_p, TransferData transferType_p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternLibraryDropAdapterAssistant

public PatternLibraryDropAdapterAssistant()
Method Detail

handleDrop

public IStatus handleDrop(CommonDropAdapter dropAdapter_p,
                          DropTargetEvent dropTargetEvent_p,
                          Object target_p)
See Also:
org.eclipse.ui.navigator.CommonDropAdapterAssistant#handleDrop(org.eclipse.ui.navigator.CommonDropAdapter, org.eclipse.swt.dnd.DropTargetEvent, java.lang.Object)

validateDrop

public IStatus validateDrop(Object target_p,
                            int operation_p,
                            TransferData transferType_p)
See Also:
org.eclipse.ui.navigator.CommonDropAdapterAssistant#validateDrop(java.lang.Object, int, org.eclipse.swt.dnd.TransferData)

EGF Engine
Release 0.1.0

Copyright (c) Thales Corporate Services S.A.S, 2009.

This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.