blob: cfdd64d56c9573d8e1979c4f8aeaa36b8d1480ef [file] [log] [blame]
/*
* Copyright 2000-2011 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.framework.detection.impl.ui;
import com.intellij.framework.detection.DetectionExcludesConfiguration;
import com.intellij.ui.CheckedTreeNode;
import com.intellij.ui.ColoredTreeCellRenderer;
import org.jetbrains.annotations.Nullable;
/**
* @author nik
*/
abstract class DetectedFrameworkTreeNodeBase extends CheckedTreeNode {
protected DetectedFrameworkTreeNodeBase(Object userObject) {
super(userObject);
setChecked(true);
}
public abstract void renderNode(ColoredTreeCellRenderer renderer);
@Nullable
public abstract String getCheckedDescription();
@Nullable
public abstract String getUncheckedDescription();
public abstract void disableDetection(DetectionExcludesConfiguration configuration);
}