blob: 4b59fc52a3aea7fbfe7ab7b4b2ea9539bbfd9672 [file] [log] [blame]
/*
* Copyright 2000-2010 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.openapi.options;
import com.intellij.openapi.module.Module;
/**
* To provide an additional tab for a module editor register implementation of {@link Configurable} in the plugin.xml:
* <p/>
* &lt;extensions defaultExtensionNs="com.intellij"&gt;<br>
* &nbsp;&nbsp;&lt;moduleConfigurable instance="class-name"/&gt;<br>
* &lt;/extensions&gt;
* <p>
* A new instance of the specified class will be created each time then the Project Structure dialog is opened
*
* @author nik
*/
public class ModuleConfigurableEP extends ConfigurableEP<Configurable> {
public ModuleConfigurableEP(Module module) {
super(module.getPicoContainer(), null);
}
}