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

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

Introduction

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

Prototype

ExtensionPointName EP_NAME

To view the source code for com.intellij.openapi.ide CutElementMarker EP_NAME.

Click 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;
    }//from ww w . j  av  a2 s  . co  m
    return false;
}