Package floobits.common.interfaces

Examples of floobits.common.interfaces.IContext


    @Override
    public void actionPerformedHasAccount(AnActionEvent e) {
        FloobitsPlugin floobitsPlugin;
        FlooHandler flooHandler;
        IContext context = null;
        try {
            floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
            if (floobitsPlugin == null) {
                Flog.log("no floobits plugin, aborting.");
                return;
            }
            context = floobitsPlugin.context;
            flooHandler = context.getFlooHandler();
            if (flooHandler == null) {
                return;
            }
            actionPerformed(e, flooHandler.editorEventHandler);
        } catch (Throwable throwable) {
View Full Code Here


        final VirtualFile[] virtualFiles = PlatformDataKeys.VIRTUAL_FILE_ARRAY.getData(e.getDataContext());

        if (editorEventHandler == null || virtualFiles == null) {
            return;
        }
        IContext context = FloobitsPlugin.getInstance(e.getProject()).context;
        for (final VirtualFile virtualFile : virtualFiles) {
            if (fileHashSet.contains(virtualFile.getPath())) {
                continue;
            }
            if (!context.isShared(virtualFile.getPath())) {
                continue;
            }
            ArrayList<String> allNestedFilePaths = IntelliUtils.getAllNestedFilePaths(virtualFile);
            fileHashSet.addAll(allNestedFilePaths);
        }
View Full Code Here

    }

    @Override
    public void doCancelAction() {
        super.doCancelAction();
        IContext context;
        if (project == null) {
            context = new ContextImpl(null);
        } else {
            context = FloobitsPlugin.getInstance(project).context;
        }
        context.linkEditor();
    }
View Full Code Here

    }

    @Override
    protected void doOKAction() {
        super.doOKAction();
        IContext context;
        if (project == null) {
            context = new ContextImpl(null);
        } else {
            context = FloobitsPlugin.getInstance(project).context;
        }
        context.createAccount();
    }
View Full Code Here

TOP

Related Classes of floobits.common.interfaces.IContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.