Java 类com.intellij.openapi.editor.actionSystem.TypedActionHandler 实例源码

项目:power-mode-intellij-plugin    文件:PowerMode.java   
@Override
public void initComponent() {

    final EditorActionManager editorActionManager = EditorActionManager.getInstance();
    final EditorFactory editorFactory = EditorFactory.getInstance();
    particleContainerManager = new ParticleContainerManager();
    editorFactory.addEditorFactoryListener(particleContainerManager, new Disposable() {
        @Override
        public void dispose() {

        }
    });
    final TypedAction typedAction = editorActionManager.getTypedAction();
    final TypedActionHandler rawHandler = typedAction.getRawHandler();
    typedAction.setupRawHandler(new TypedActionHandler() {
        @Override
        public void execute(@NotNull final Editor editor, final char c, @NotNull final DataContext dataContext) {
            updateEditor(editor);
            rawHandler.execute(editor, c, dataContext);
        }
    });
}
项目:tmc-intellij    文件:StartupEvent.java   
private void setupHandlersForSpyware(ProgressObserver observer) {
    observer.progress(0, 0.70, "Setting handlers");
    final EditorActionManager actionManager = EditorActionManager.getInstance();
    final TypedAction typedAction = actionManager.getTypedAction();
    TypedActionHandler originalHandler = actionManager.getTypedAction().getHandler();
    typedAction.setupHandler(new ActivateSpywareAction(originalHandler));
}
项目:bamboo-soy    文件:QuoteHandler.java   
public QuoteHandler(TypedActionHandler originalHandler) {
  myOriginalHandler = originalHandler;
}
项目:bamboo-soy    文件:ClosingTagHandler.java   
public ClosingTagHandler(TypedActionHandler originalHandler) {
  myOriginalHandler = originalHandler;
}
项目:tmc-intellij    文件:ActivateSpywareAction.java   
public ActivateSpywareAction(TypedActionHandler originalHandler) {
    handler = originalHandler;
}
项目:hackertyper-plugin    文件:HackerTyperAction.java   
public HackerTyperAction(TypedActionHandler typedActionHandler) {
    super(typedActionHandler);
}
项目:intellij-ce-playground    文件:IncrementalSearchHandler.java   
public MyTypedHandler(@Nullable TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:intellij-ce-playground    文件:TypedHandler.java   
public TypedHandler(TypedActionHandler originalHandler){
  super(originalHandler);
}
项目:intellij-ce-playground    文件:TypedActionHandlerBase.java   
public TypedActionHandlerBase(@Nullable TypedActionHandler originalHandler) {
  myOriginalHandler = originalHandler;
}
项目:intellij-ce-playground    文件:LookupTypedHandler.java   
public LookupTypedHandler(@Nullable TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:tools-idea    文件:IncrementalSearchHandler.java   
public MyTypedHandler(@Nullable TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:tools-idea    文件:TypedHandler.java   
public TypedHandler(TypedActionHandler originalHandler){
  super(originalHandler);
}
项目:tools-idea    文件:TypedActionHandlerBase.java   
public TypedActionHandlerBase(@Nullable TypedActionHandler originalHandler) {
  myOriginalHandler = originalHandler;
}
项目:tools-idea    文件:SpaceHandler.java   
public SpaceHandler(TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:enclosing-jidea-plugin    文件:EnclosingMod.java   
public EncloseTypedAction(TypedActionHandler handler) {
    defaultHandler = handler;
}
项目:consulo    文件:IncrementalSearchHandler.java   
public MyTypedHandler(@Nullable TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:consulo    文件:TypedHandler.java   
public TypedHandler(TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:consulo    文件:TypedActionHandlerBase.java   
public TypedActionHandlerBase(@Nullable TypedActionHandler originalHandler) {
  myOriginalHandler = originalHandler;
}
项目:consulo    文件:LookupTypedHandler.java   
public LookupTypedHandler(@Nullable TypedActionHandler originalHandler) {
  super(originalHandler);
}
项目:PhpStorm    文件:SmartyTypedActionHandler.java   
/**
 * Preserve the original TypedHandler.
 *
 * @param original_handler The original TypedHandler.
 */
public SmartyTypedActionHandler (TypedActionHandler original_handler)
{
    this.original_handler = original_handler;
}
项目:PhpStorm    文件:SmartyTypedActionHandler.java   
/**
 * Return the original TypedHandler. Allows dynamically disabling this type handler.
 *
 * @return The original TypedHandler.
 */
public TypedActionHandler getOriginalTypedHandler ()
{
    return original_handler;
}