2 * Copyright 2000-2009 JetBrains s.r.o.
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.
21 package com
.intellij
.application
.options
.editor
;
23 import com
.intellij
.codeInsight
.folding
.JavaCodeFoldingSettings
;
24 import com
.intellij
.openapi
.application
.ApplicationBundle
;
25 import com
.intellij
.openapi
.options
.BeanConfigurable
;
27 public class JavaCodeFoldingOptionsProvider
extends BeanConfigurable
<JavaCodeFoldingSettings
> implements CodeFoldingOptionsProvider
{
28 protected JavaCodeFoldingOptionsProvider() {
29 super(JavaCodeFoldingSettings
.getInstance());
30 checkBox("COLLAPSE_ACCESSORS", ApplicationBundle
.message("checkbox.collapse.simple.property.accessors"));
31 checkBox("COLLAPSE_INNER_CLASSES", ApplicationBundle
.message("checkbox.collapse.inner.classes"));
32 checkBox("COLLAPSE_ANONYMOUS_CLASSES", ApplicationBundle
.message("checkbox.collapse.anonymous.classes"));
33 checkBox("COLLAPSE_ANNOTATIONS", ApplicationBundle
.message("checkbox.collapse.annotations"));
34 checkBox("COLLAPSE_CLOSURES", ApplicationBundle
.message("checkbox.collapse.closures"));
35 checkBox("COLLAPSE_CONSTRUCTOR_GENERIC_PARAMETERS", ApplicationBundle
.message("checkbox.collapse.generic.constructor.parameters"));
36 checkBox("COLLAPSE_I18N_MESSAGES", ApplicationBundle
.message("checkbox.collapse.i18n.messages"));