|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
ARoad0.gDMak.ActionOpenGraphicView
public class ActionOpenGraphicView
An action that opens a GraphicView in a frame.
| Field Summary | |
|---|---|
private javax.swing.JDialog |
dialog_
|
private static javax.swing.ImageIcon |
icon__
|
private static ActionOpenGraphicView |
instance__
|
private javax.swing.JList |
jlist_
|
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
private |
ActionOpenGraphicView()
with this private constructor, the compiler won't generate a default public constructor |
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent _ev)
|
static ActionOpenGraphicView |
getInstance()
Only method to get an instance. |
static java.beans.PropertyDescriptor |
getViewPropertyDescriptor(ImmutableName _name)
Constructs the property descriptor for the open view in the 'Full views' or 'NoMore-NoLess views' tabbed pane, where the display name is the ViewInBase name. |
void |
openView(java.lang.Object[] _l_names)
Called by actionPerformed(ActionEvent) to open the selected EPRviews, to display their resources in the explorer and display the view in a frame. |
static void |
openViewInGui(EPRViewInBase _view,
boolean _createInExplorer,
java.util.Map _m_GUIconfig)
Invoked by openView(), ActionNewView, ActionOpenMainFrame, Desktop, ActionCopy to create a GraphicEPRView or a GraphicNoThanView for a EPRViewInBase or a NoThanViewInBase, to display their resources in the explorer, and to display the view in a frame or in one of the two 'all views' frames. |
private static void |
restoreMainAndSeeWhyFrames(ImmutableName _name,
javax.swing.JInternalFrame _frame,
java.util.Map _m_GUIconfig)
Opens the 'See why' frame and set the bounds of the main and 'See why' frames, if it is required in the GUI configuration. |
| Methods inherited from class javax.swing.AbstractAction |
|---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static ActionOpenGraphicView instance__
private static javax.swing.ImageIcon icon__
private javax.swing.JDialog dialog_
private javax.swing.JList jlist_
| Constructor Detail |
|---|
private ActionOpenGraphicView()
| Method Detail |
|---|
public static ActionOpenGraphicView getInstance()
public void actionPerformed(java.awt.event.ActionEvent _ev)
actionPerformed in interface java.awt.event.ActionListener_ev - ActionEventpublic void openView(java.lang.Object[] _l_names)
_l_names - is the list of view names to open
public static void openViewInGui(EPRViewInBase _view,
boolean _createInExplorer,
java.util.Map _m_GUIconfig)
_view - to open_createInExplorer - is false if the view is already open in the explorer_m_GUIconfig - is the GUI configuration map. May be null.
private static void restoreMainAndSeeWhyFrames(ImmutableName _name,
javax.swing.JInternalFrame _frame,
java.util.Map _m_GUIconfig)
_name - is the open ViewInBase name, after the creation of the relevant graphic view_frame - is the main frame of the view_m_GUIconfig - is the GUI configuration map. May be null.public static java.beans.PropertyDescriptor getViewPropertyDescriptor(ImmutableName _name)
_name - is the open ViewInBase name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||