Extension SDK

oracle.ide.inspector
Interface InspectorManager


public interface InspectorManager

The InspectorManager manages property inspector views.


Method Summary
 IdeAction getAction(AddinManager addMgr)
          Return the IdeAction to associate with the View | Inspector menu item.
 DockableWindow getSingletonView()
          Call this method to get the inspector when the InspectorManager supports single inspector view.
 void initialize()
          Initialize the Inspector.
 boolean isInMultiMode()
          true if this manager supports multiple inspector views.
 boolean isViewVisible()
          Call this method to check the visible state of the inspector when the InspectorManager supports single inspector view.
 void showOrHideView(Context context)
          Call this method to show or hide the inspector when the InspectorManager supports single inspector view, or to show a new one when in multiple mode.
 boolean supportsInspection(View view)
          Check if the specified view supports inspection of the selected elements in its Context.
 

Method Detail

initialize

public void initialize()
Initialize the Inspector. This method is called during the system starup process.


isInMultiMode

public boolean isInMultiMode()
true if this manager supports multiple inspector views.


isViewVisible

public boolean isViewVisible()
Call this method to check the visible state of the inspector when the InspectorManager supports single inspector view.


showOrHideView

public void showOrHideView(Context context)
Call this method to show or hide the inspector when the InspectorManager supports single inspector view, or to show a new one when in multiple mode.


getSingletonView

public DockableWindow getSingletonView()
Call this method to get the inspector when the InspectorManager supports single inspector view.


supportsInspection

public boolean supportsInspection(View view)
Check if the specified view supports inspection of the selected elements in its Context.


getAction

public IdeAction getAction(AddinManager addMgr)
Return the IdeAction to associate with the View | Inspector menu item. This method is called when the main window is adding that menu item.


Extension SDK

 

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