content: package cn.tybblog.touchfish;
  
  import cn.tybblog.touchfish.ui.SettingUi;
  import com.intellij.openapi.options.SearchableConfigurable;
  import com.intellij.openapi.project.Project;
  import org.jetbrains.annotations.Nls;
  import org.jetbrains.annotations.NotNull;
  import org.jetbrains.annotations.Nullable;
  
  import javax.swing.*;
  
  public class Setting implements SearchableConfigurable {
  
  
      private SettingUi settingUi;
  
      private PersistentState persistentState = PersistentState.getInstance();
  
  
      @SuppressWarnings("FieldCanBeLocal")
      private final Project project;
  
  
      public Setting(@NotNull Project project) {
          this.project = project;
      }
  
      @NotNull
      @Override
      public String getId() {
          return "thief.id";
      }
  
      @Nullable
      @Override
      public Runnable enableSearch(String option) {
          return null;
      }
  
      @Nls
      @Override
      public String getDisplayName() {
          return "touch-fish-config";
      }
  
      @Nullable
      @Override
      public String getHelpTopic() {
          return null;
      }
  
      @Nullable
      @Override
      public JComponent createComponent() {
          if (settingUi == null) {
              settingUi = new SettingUi();
          }
          return settingUi.mainPanel;
      }
  
      @Override
      public boolean isModified() {
          return false;
  
      }
  
      @Override
      public void apply() {
  
      }
  
      @Override
      public void reset() {
      }
  
      @Override
      public void disposeUIResources() {
  
      }
  }