X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Fsimantics%2Fproject%2Ffeatures%2Fregistry%2FIProjectFeatureExtension.java;fp=bundles%2Forg.simantics.project%2Fsrc%2Forg%2Fsimantics%2Fproject%2Ffeatures%2Fregistry%2FIProjectFeatureExtension.java;h=011def283bcfad6765211f3ee294b5c7a61cfa57;hp=00b39ef121970a0ef933248b73ef1aea046a3f27;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.project/src/org/simantics/project/features/registry/IProjectFeatureExtension.java b/bundles/org.simantics.project/src/org/simantics/project/features/registry/IProjectFeatureExtension.java index 00b39ef12..011def283 100644 --- a/bundles/org.simantics.project/src/org/simantics/project/features/registry/IProjectFeatureExtension.java +++ b/bundles/org.simantics.project/src/org/simantics/project/features/registry/IProjectFeatureExtension.java @@ -1,71 +1,71 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.project.features.registry; - -import java.util.Collection; - -import org.eclipse.core.runtime.CoreException; -import org.simantics.project.features.IProjectFeature; - -/** - * @author Tuukka Lehtonen - */ -public interface IProjectFeatureExtension { - - /** - * @return id of this extension - */ - String getId(); - - /** - * @return label of this extension - */ - String getLabel(); - - /** - * @return description of this extension - */ - String getDescription(); - - /** - * Informs whether this project feature should be published to users in UI's - * that visualize user selectable project features in some manner. - * - * For example top level project features should always be published in - * order to give Simantics Project Manager users the possibility to select - * the feature to be used in their project. - * - * @return true if the extension is published - */ - boolean isPublished(); - - /** - * @return - */ - Collection requires(); - - /** - * @return - */ - Collection injections(); - - /** - * @return - */ - Collection installGroups(); - - /** - * @return a new instance of the IProjectFeature described by this extension - */ - IProjectFeature newInstance() throws CoreException; - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.project.features.registry; + +import java.util.Collection; + +import org.eclipse.core.runtime.CoreException; +import org.simantics.project.features.IProjectFeature; + +/** + * @author Tuukka Lehtonen + */ +public interface IProjectFeatureExtension { + + /** + * @return id of this extension + */ + String getId(); + + /** + * @return label of this extension + */ + String getLabel(); + + /** + * @return description of this extension + */ + String getDescription(); + + /** + * Informs whether this project feature should be published to users in UI's + * that visualize user selectable project features in some manner. + * + * For example top level project features should always be published in + * order to give Simantics Project Manager users the possibility to select + * the feature to be used in their project. + * + * @return true if the extension is published + */ + boolean isPublished(); + + /** + * @return + */ + Collection requires(); + + /** + * @return + */ + Collection injections(); + + /** + * @return + */ + Collection installGroups(); + + /** + * @return a new instance of the IProjectFeature described by this extension + */ + IProjectFeature newInstance() throws CoreException; + +}