oracle.jdeveloper.model
Class JProjectInspectable
java.lang.Object
oracle.ide.inspector.DefaultInspectable
oracle.jdeveloper.model.JProjectInspectable
- All Implemented Interfaces:
- Inspectable, Inspectable2
- public final class JProjectInspectable
- extends DefaultInspectable
- implements Inspectable2
Method Summary |
javax.swing.Icon |
getCustomDialogIcon()
Get the Icon associated with the custom dialog, if any. |
java.lang.String |
getCustomDialogToolTipText()
Get the tooltip text associated with the custom dialog, if any. |
javax.swing.Action[] |
getLinkActions()
Get an array of actions for display in an InspectorWindow to serve as quick links to common operations. |
boolean |
hasCustomDialog()
Determine whether or not a custom dialog is supported. |
void |
setContext(Context context)
Initialize the PropertyModel to reflect the selection of the Context. |
void |
showCustomDialog(java.awt.Component parent)
Display the custom dialog if any. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JProjectInspectable
public JProjectInspectable()
setContext
public void setContext(Context context)
- Description copied from interface:
Inspectable
- Initialize the PropertyModel to reflect the selection of the Context.
-
- Specified by:
setContext
in interface Inspectable
- Overrides:
setContext
in class DefaultInspectable
-
- Parameters:
context
- the Context from which to initialize.
hasCustomDialog
public boolean hasCustomDialog()
- Description copied from interface:
Inspectable2
- Determine whether or not a custom dialog is supported.
-
- Specified by:
hasCustomDialog
in interface Inspectable2
-
- Returns:
- true if a custom dialog is available.
getCustomDialogIcon
public javax.swing.Icon getCustomDialogIcon()
- Description copied from interface:
Inspectable2
- Get the Icon associated with the custom dialog, if any.
-
- Specified by:
getCustomDialogIcon
in interface Inspectable2
-
- Returns:
- the Icon to use when representing the custom dialog.
getCustomDialogToolTipText
public java.lang.String getCustomDialogToolTipText()
- Description copied from interface:
Inspectable2
- Get the tooltip text associated with the custom dialog, if any.
-
- Specified by:
getCustomDialogToolTipText
in interface Inspectable2
-
- Returns:
- the tooltip to use when representing the custom dialog.
showCustomDialog
public void showCustomDialog(java.awt.Component parent)
- Description copied from interface:
Inspectable2
- Display the custom dialog if any. It is the responsibility of the implementation to ensure that any necessary UpdateMessage is sent upon changes made in the custom dialog.
-
- Specified by:
showCustomDialog
in interface Inspectable2
-
- Parameters:
parent
- the host of the custom dialog.
getLinkActions
public javax.swing.Action[] getLinkActions()
- Description copied from interface:
Inspectable2
- Get an array of actions for display in an InspectorWindow to serve as quick links to common operations.
-
- Specified by:
getLinkActions
in interface Inspectable2
-
- Returns:
- an array of applicable Action instances.
Copyright © 1997, 2004, Oracle. All rights reserved.