Example usage for com.intellij.openapi.ide CutElementMarker isCutElement

List of usage examples for com.intellij.openapi.ide CutElementMarker isCutElement

Introduction

In this page you can find the example usage for com.intellij.openapi.ide CutElementMarker isCutElement.

Prototype

boolean isCutElement(Object element);

Source Link

Usage

From source file:com.intellij.ide.CopyPasteManagerEx.java

License:Apache License

@Override
public boolean isCutElement(@Nullable final Object element) {
    for (CutElementMarker marker : Extensions.getExtensions(CutElementMarker.EP_NAME)) {
        if (marker.isCutElement(element))
            return true;
    }/*  ww  w.j a v a  2 s . c  om*/
    return false;
}