/* * Copyright 2000-2009 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.ide.plugins; import com.intellij.openapi.components.ComponentManagerConfig; import com.intellij.util.xmlb.annotations.AbstractCollection; import com.intellij.util.xmlb.annotations.Attribute; import com.intellij.util.xmlb.annotations.Property; import com.intellij.util.xmlb.annotations.Tag; import org.jdom.Element; public class PluginBean extends ComponentManagerConfig { @Tag("name") public String name; @Tag("id") public String id; @Tag("description") public String description; @Tag("version") public String pluginVersion; @Tag("platformVersion") public String platformVersion; @Property(surroundWithTag = false) public PluginVendor vendor; @Tag("extensions") public Element[] extensions; @Tag("extensionPoints") public Element[] extensionPoints; @Tag("actions") public Element[] actions; @Property(surroundWithTag = false) @AbstractCollection(surroundWithTag = false) public PluginDependency[] dependencies; @Property(surroundWithTag = false) @AbstractCollection(surroundWithTag = false) public PluginHelpSet[] helpSets; @Tag("category") public String category; @Tag("resource-bundle") public String resourceBundle; @Tag("change-notes") public String changeNotes; @Attribute("url") public String url; }