reload scopes if they were changed (IDEA-24326 ); merge events on apply
[fedora-idea.git] / plugins / xpath / xpath-view / src / org / intellij / plugins / xpathView / eval / EvalFormPanel.java
blobc7bfcbe445c414f56ef77fc848b8755b45ee8742
1 /*
2 * Copyright 2006 Sascha Weinreuter
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package org.intellij.plugins.xpathView.eval;
18 import org.intellij.plugins.xpathView.ui.InputForm;
19 import org.intellij.plugins.xpathView.ui.InputFormPanel;
21 import javax.swing.*;
23 public class EvalFormPanel extends JPanel implements InputForm {
24 @SuppressWarnings({ "UNUSED_SYMBOL", "FieldCanBeLocal" })
25 private JPanel myRoot;
26 private InputFormPanel myInputPanel;
28 private JCheckBox myNewTabCheckbox;
29 private JCheckBox myHighlightCheckbox;
30 private JCheckBox myUsageViewCheckbox;
32 private void createUIComponents() {
33 myRoot = this;
36 public JComponent getComponent() {
37 return this;
40 public JLabel getIcon() {
41 return myInputPanel.getIcon();
44 public JButton getEditContextButton() {
45 return myInputPanel.getEditContextButton();
48 public JPanel getEditorPanel() {
49 return myInputPanel.getEditorPanel();
52 public JCheckBox getNewTabCheckbox() {
53 return myNewTabCheckbox;
56 public JCheckBox getHighlightCheckbox() {
57 return myHighlightCheckbox;
60 public JCheckBox getUsageViewCheckbox() {
61 return myUsageViewCheckbox;
64 public void dispose() {}