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

E13403-03

oracle.ide.palette2
Interface PaletteConsumer

All Superinterfaces:
java.util.EventListener

public interface PaletteConsumer
extends java.util.EventListener

The PaletteConsumer interface should be implemented by a client View (EG. Graphical Navigator). This interface has one method which the client view must implement. The Palette calls getConsumerView to retrieve the clients view to which the palette will add itself as a view listener. The Palette has implemented the ViewListener interface in PaletteWindow. At JDev startup the client needs to add itself as a 'consumer' using PaletteManager's public method addPaletteConsumerClass. When the PaletteWindow is created, PaletteWindow will call getConsumerView for each 'consumer' to retrive the respective view in order to add PaletteWindow as a view listener.


Method Summary
 View getConsumerView()
          Returns a client view to which the palette will add itself as a view listener.
 

Method Detail

getConsumerView

View getConsumerView()
Returns a client view to which the palette will add itself as a view listener.

Returns:
View

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.