Oracle ADF Designtime API Reference v10.1.2


oracle.adf.dt.dbpanel
Class DataSourceDockableFactory

java.lang.Object
  extended byoracle.adf.dt.dbpanel.DataSourceDockableFactory

All Implemented Interfaces:
oracle.ide.addin.Controller, oracle.ide.docking.DockableFactory, oracle.ide.addin.Observer

public final class DataSourceDockableFactory
extends java.lang.Object
implements oracle.ide.docking.DockableFactory, oracle.ide.addin.Observer, oracle.ide.addin.Controller

Field Summary
static int BC4J_SHOW_ID
oracle.ide.IdeAction showBindingWindowAction

Constructor Summary
DataSourceDockableFactory()

Method Summary
static void addBindingListener(DataBindingPanelListener listener)
protected DataBindingPanel getDbPanel()
oracle.ide.docking.Dockable getDockable(oracle.ide.layout.ViewId viewId)
DataBindingPanelListener getDocumentListener(oracle.ide.editor.Editor editor)
static DataSourceDockableFactory getInstance()
boolean handleEvent(oracle.ide.IdeAction action, oracle.ide.addin.Context context)
protected void initializeDataBindingPanelFromContext(oracle.ide.editor.Editor editor)
void initializePanelFromCurrentContext()
void install()
void installKeyStrokeContext()
void installToMenu()
boolean isDataBindingPanelVisible()
boolean isDataBoundDocument(oracle.ide.editor.Editor editor)
protected java.awt.Image loadFromResource(java.lang.String sImage)
void menuItemSelected()
protected void registerDataPanelListenerForDocumentType(oracle.ide.editor.Editor editor)
protected void setBindingWindowVisible(boolean bSet)
protected void startListeningToWorkspaceChanges()
protected void stopListeningToWorkspaceChanges()
boolean update(oracle.ide.IdeAction action, oracle.ide.addin.Context context)
void update(java.lang.Object observed, oracle.ide.addin.UpdateMessage change)

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

Field Detail

BC4J_SHOW_ID

public static final int BC4J_SHOW_ID

showBindingWindowAction

public oracle.ide.IdeAction showBindingWindowAction

Constructor Detail

DataSourceDockableFactory

public DataSourceDockableFactory()

Method Detail

getInstance

public static DataSourceDockableFactory getInstance()

addBindingListener

public static void addBindingListener(DataBindingPanelListener listener)

isDataBindingPanelVisible

public boolean isDataBindingPanelVisible()

getDbPanel

protected DataBindingPanel getDbPanel()

loadFromResource

protected java.awt.Image loadFromResource(java.lang.String sImage)

installKeyStrokeContext

public void installKeyStrokeContext()

installToMenu

public void installToMenu()

setBindingWindowVisible

protected void setBindingWindowVisible(boolean bSet)

menuItemSelected

public void menuItemSelected()

getDockable

public oracle.ide.docking.Dockable getDockable(oracle.ide.layout.ViewId viewId)
Specified by:
getDockable in interface oracle.ide.docking.DockableFactory

install

public void install()
Specified by:
install in interface oracle.ide.docking.DockableFactory

getDocumentListener

public DataBindingPanelListener getDocumentListener(oracle.ide.editor.Editor editor)

isDataBoundDocument

public boolean isDataBoundDocument(oracle.ide.editor.Editor editor)

initializePanelFromCurrentContext

public void initializePanelFromCurrentContext()

initializeDataBindingPanelFromContext

protected void initializeDataBindingPanelFromContext(oracle.ide.editor.Editor editor)

registerDataPanelListenerForDocumentType

protected void registerDataPanelListenerForDocumentType(oracle.ide.editor.Editor editor)

startListeningToWorkspaceChanges

protected void startListeningToWorkspaceChanges()

stopListeningToWorkspaceChanges

protected void stopListeningToWorkspaceChanges()

update

public void update(java.lang.Object observed,
                   oracle.ide.addin.UpdateMessage change)
Specified by:
update in interface oracle.ide.addin.Observer

handleEvent

public boolean handleEvent(oracle.ide.IdeAction action,
                           oracle.ide.addin.Context context)
Specified by:
handleEvent in interface oracle.ide.addin.Controller

update

public boolean update(oracle.ide.IdeAction action,
                      oracle.ide.addin.Context context)
Specified by:
update in interface oracle.ide.addin.Controller

Oracle ADF Designtime API Reference v10.1.2


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