com.borland.jbuilder.node
Interface WebViewable
- All Known Implementing Classes:
- ClassFileNode, HTMLFileNode, JavaFileNode, JspFileNode
- public interface WebViewable
Node types implement this interface to indicate that they are
potentially viewable from a web server. This allows node viewers
to stay hidden until actually needed. For example:
- JSP and SHTML files, which require server processing
- HTML files -- instead of viewing them directly from the VFS, viewing
through the server allows links to servlets and JSPs to work
- Servlets (.java files that are determined to be servlets)
The webViewable
property indicates whether the node is actually
viewable from the web server. In practice, this means that when you choose
to run the file (and the built-in web server is started), the property is
set to true. The viewers for the node are then updated so that any
Hideable
viewers for the node will reveal themselves. Those
viewers should check this property in their canShowViewer
method to determine if they should be revealed.
- See Also:
Hideable
,
Browser.updateViewers(com.borland.primetime.node.Node)
Inner Class Summary |
static interface |
WebViewable.MaybeServlet
This interface further identifies .java and .class files that may be
servlets. |
setWebViewable
public void setWebViewable(boolean isWebViewable)
isWebViewable
public boolean isWebViewable()