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

E13403-07

oracle.jdeveloper.palette
Class PaletteEditorContext

java.lang.Object
  extended by oracle.jdeveloper.palette.PaletteEditorContext

public class PaletteEditorContext
extends java.lang.Object


Constructor Summary
PaletteEditorContext()
           
 
Method Summary
 Context getContext()
           
 java.lang.String getRelativeString(Context context, java.net.URL url)
          Get a relative url for any document under the document root in a web application
 void setContext(Context context)
           
 java.net.URL showWebDocumentDialog(Context context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteEditorContext

public PaletteEditorContext()
Method Detail

setContext

public void setContext(Context context)

getContext

public Context getContext()

showWebDocumentDialog

public java.net.URL showWebDocumentDialog(Context context)

getRelativeString

public java.lang.String getRelativeString(Context context,
                                          java.net.URL url)
Get a relative url for any document under the document root in a web application

Parameters:
context - the current context
url - the url to make relative
Returns:
relative if possible, otherwise, a string represenation of the full url.

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

E13403-07

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