Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.jdeveloper.webapp.design.view
Class VisualEditorPathProvider

java.lang.Object
  extended by oracle.jdeveloper.webapp.design.view.VisualEditorPathProvider

public abstract class VisualEditorPathProvider
extends java.lang.Object

An extension point allowing Design Time Visual Editor viewable paths to be specified for JspSourceNode and subclasses (JspFragmentSourceNode, JspTagSourceNode, JspTagXSourceNode, JspTagFragmentSourceNode).

Implementations are registered with DTEManager, as MetaClass factories. A new instance is created for each use.


Constructor Summary
VisualEditorPathProvider()
           
 
Method Summary
abstract  java.lang.String getVisualEditorPath(Context context)
          Return a Design Time Visual Editor viewable path for the given Context, or null if the implementation doesn't handle it.
 boolean isSupported(Context context)
          Quick determination if this VisualEditorPathProvider supports the given Context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualEditorPathProvider

public VisualEditorPathProvider()
Method Detail

isSupported

public boolean isSupported(Context context)
Quick determination if this VisualEditorPathProvider supports the given Context. This method is called first, and can be used to perform any initialization needed. Note that getVisualEditorPath() could still return null, this is an optimization in case there is other detailed processing necessary to calculate the actual path.

Parameters:
context - Context of a Node to view in the Visual Editor
Returns:
Whether or not the Context's Node is supported.

getVisualEditorPath

public abstract java.lang.String getVisualEditorPath(Context context)
Return a Design Time Visual Editor viewable path for the given Context, or null if the implementation doesn't handle it.

The implementation should not prompt for additional information, etc, since the Visual Editor isn't the same full environment as the embedded server.

Parameters:
context - Context of a Node to view in the Design Time Visual Editor
Returns:
a Design Time viewable path for the given Context, or null

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.