コード例 #1
0
  public void actionPerformed(AnActionEvent e) {
    String url = "https://floobits.com/";
    FloobitsPlugin floobitsPlugin = FloobitsPlugin.getInstance(e.getProject());
    if (floobitsPlugin == null) {
      return;
    }
    FlooContext context = floobitsPlugin.context;
    FlooUrl floourl = DotFloo.read(context.project.getBasePath());
    if (floourl != null) {
      url = floourl.toString();
    }
    String inputValue = JOptionPane.showInputDialog("Workspace URL", url);
    if (inputValue == null) {
      return;
    }

    FloobitsApplication.self.joinWorkspace(context, inputValue);
  }
コード例 #2
0
 public void actionPerformed(
     AnActionEvent actionEvent, Project project, FloobitsPlugin plugin, ContextImpl context) {
   final String project_path = project.getBasePath();
   FloobitsPlugin.getInstance(project).context.shareProject(false, project_path);
 }