|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.java.api.common.project.ui.ProjectUISupport
public final class ProjectUISupport
Misc project UI helper methods.
| Method Summary | |
|---|---|
static FilterNode |
createFilteredLibrariesNode(Node original,
UpdateHelper helper,
String classPathId,
String entryId,
String webModuleElementName,
ClassPathSupport cs,
ReferenceHelper rh)
Creates a filtered node for class path root. |
static SourceGroup |
createLibrariesSourceGroup(FileObject root,
String displayName,
Icon icon,
Icon openIcon)
Creates SourceGroup implementation which can be passed to
PackageView.createPackageView(SourceGroup). |
static AbstractAction |
createPreselectPropertiesAction(Project project,
String nodeName,
String panelName)
Create action which opens project properties on the given panel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static FilterNode createFilteredLibrariesNode(@NonNull
Node original,
@NullAllowed
UpdateHelper helper,
@NullAllowed
String classPathId,
@NullAllowed
String entryId,
@NullAllowed
String webModuleElementName,
@NullAllowed
ClassPathSupport cs,
@NullAllowed
ReferenceHelper rh)
OpenAction
and package node's FindAction. It also adds Show Javadoc action
to both file and package nodes. It also adds Remove Root action to
class path roots.
original - the original nodehelper - used for implementing Remove Classpath action or null if
the node should not have the Remove Classpath actionclassPathId - ant property name of classpath to which these classpath root belongs or null if
the node should not have the Remove Classpath actionentryId - ant property name of this classpath root or null if
the node should not have Remove Classpath action
public static SourceGroup createLibrariesSourceGroup(FileObject root,
String displayName,
Icon icon,
Icon openIcon)
SourceGroup implementation which can be passed to
PackageView.createPackageView(SourceGroup).
root - the classpath rootdisplayName - the display name presented to usericon - closed iconopenIcon - opened icon
public static AbstractAction createPreselectPropertiesAction(Project project,
String nodeName,
String panelName)
|
org.netbeans.modules.java.api.common/0 1.37 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||