Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.palette
Class PaletteContext

java.lang.Object
  extended by oracle.ide.palette.PaletteContext


public abstract class PaletteContext
extends java.lang.Object

The PaletteContext interface can be used to identify which palette pages can be shown by the IDE with the current context and other functionallity.


Constructor Summary
PaletteContext()
           

 

Method Summary
abstract  boolean canShowPage(Context context)
          Allow page owners to determine if their page should be shown
static Editor getEditor(Context context)
           
static void setEditor(Context context, Editor editor)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PaletteContext

public PaletteContext()

Method Detail

canShowPage

public abstract boolean canShowPage(Context context)
Allow page owners to determine if their page should be shown
Parameters:
context - the context of the invocation.
Returns:
true if the page should be shown false if the page should not be show.
See Also:
Context

getEditor

public static Editor getEditor(Context context)

setEditor

public static void setEditor(Context context,
                             Editor editor)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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