Package floobits

Examples of floobits.FloobitsPlugin


    public abstract void actionPerformed(AnActionEvent e, EditorEventHandler editorEventHandler);

    @Override
    public void actionPerformedHasAccount(AnActionEvent e) {
        FloobitsPlugin floobitsPlugin;
        FlooHandler flooHandler;
        IContext context = null;
        try {
            floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
            if (floobitsPlugin == null) {
View Full Code Here


    }

    @Override
    public void update(AnActionEvent e) {
        super.update(e);
        FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
        if (floobitsPlugin == null) {
            return;
        }
        e.getPresentation().setEnabled(isEnabled(floobitsPlugin));
    }
View Full Code Here

public class JoinWorkspace extends CanFloobits {

    public void actionPerformed(AnActionEvent e) {
        String url = "https://floobits.com/";
        FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
        if (floobitsPlugin == null) {
            return;
        }
        ContextImpl context = floobitsPlugin.context;
        FlooUrl floourl = DotFloo.read(context.project.getBasePath());
View Full Code Here

*/
public class OpenFloorc extends AnAction {
    public void actionPerformed(AnActionEvent actionEvent) {
        Project project = actionEvent.getProject();

        FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(project);
        File file = new File(Settings.floorcJsonPath);
        if (!file.exists()) {
            boolean created;
            try {
                created = file.createNewFile();
View Full Code Here

    }

    @Override
    public void update(AnActionEvent e) {
        super.update(e);
        FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
        if (floobitsPlugin == null) {
            return;
        }
        e.getPresentation().setEnabled(floobitsPlugin.context.isJoined());
    }
View Full Code Here

    }

    @Override
    public void update(AnActionEvent e) {
        super.update(e);
        FloobitsPlugin floobitsPlugin;
        FlooHandler flooHandler;
        floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
        if (floobitsPlugin == null) {
            Flog.log("No floobits plugin, aborting update.");
            return;
View Full Code Here

abstract public class CanFloobits extends AnAction {

    @Override
    public void update(AnActionEvent e) {
        super.update(e);
        FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
        if (floobitsPlugin == null) {
            e.getPresentation().setEnabled(false);
            return;
        }
        e.getPresentation().setEnabled(Settings.canFloobits());
View Full Code Here

TOP

Related Classes of floobits.FloobitsPlugin

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.