|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.project.SourceGroupModifier
public final class SourceGroupModifier
SourceGroupModifier
provides ways of create specific folders (SourceGroup
root folders)
in case they don't exist, eg. cannot be retrieved from Sources
The project type supporting automated creation of SourceGroup
root folders needs to
provide SourceGroupModifierImplementation
in the project's lookup.
Nested Class Summary | |
---|---|
static class |
SourceGroupModifier.Future
A wrapper class that is capable of lazily creating a SourceGroup instance. |
Method Summary | |
---|---|
static SourceGroup |
createSourceGroup(Project project,
String type,
String hint)
Creates a SourceGroup in the given Project of the given type and hint. |
static SourceGroupModifier.Future |
createSourceGroupFuture(Project project,
String type,
String hint)
Creates a SourceGroupModifier.Future object
that is capable of lazily creating SourceGroup in the given Project of the given type and hint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final SourceGroup createSourceGroup(Project project, String type, String hint)
SourceGroup
in the given Project
of the given type and hint.
Typically a type is a constant for java/groovy/ruby source roots and hint is a constant for main sources or test sources.
Please consult specific APIs fro the supported types/hints. Eg. JavaProjectConstants
for java related project sources.
project
- type
- constant for type of sourceshint
-
public static final SourceGroupModifier.Future createSourceGroupFuture(Project project, String type, String hint)
SourceGroupModifier.Future
object
that is capable of lazily creating SourceGroup
in the given Project
of the given type and hint.
Typically a type is a constant for java/groovy/ruby source roots and hint is a constant for main sources or test sources.
Please consult specific APIs fro the supported types/hints. Eg. JavaProjectConstants
for java related project sources.
project
- type
- constant for type of sourceshint
-
|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |