All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.intellij.ide.browsers.WebBrowserReferenceConverter Maven / Gradle / Ivy

Go to download

A packaging of the IntelliJ Community Edition xml library. This is release number 1 of trunk branch 142.

The newest version!
package com.intellij.ide.browsers;

import com.intellij.util.xmlb.Converter;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class WebBrowserReferenceConverter extends Converter {
  @Nullable
  @Override
  public WebBrowser fromString(@NotNull String value) {
    return WebBrowserManager.getInstance().findBrowserById(value);
  }

  @NotNull
  @Override
  public String toString(@NotNull WebBrowser browser) {
    return browser.getId().toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy