public class ImagePlanViewControl extends ImagePlanViewControl
ImagePlanViewControl
with some McIDAS-V
specific extensions. Namely parameter sets and support for inverted
parameter defaults.Modifier and Type | Class and Description |
---|---|
private class |
ImagePlanViewControl.MyTabbedPane
Holds a JFreeChart histogram of image values.
|
PlanViewControl.VerticalRangeWidget
DisplayControlImpl.SideLegendLabel
Modifier and Type | Field and Description |
---|---|
private static String |
ATTR_DAY |
private static String |
ATTR_NAME |
private static String |
ATTR_POS |
private static String |
ATTR_SERVER |
private static String |
ATTR_TIME |
private static String |
ATTR_UNIT |
protected static String |
CMD_NEWFOLDER
Command for connecting
|
protected static String |
CMD_NEWPARASET |
private JPanel |
contents |
private DataSourceImpl |
dataSource |
private JTextField |
folderFld
Install new folder fld
|
private McIDASVHistogramWrapper |
histoWrapper |
private FlatField |
image |
private static XmlResourceCollection |
imageDefaults
Holds the ADDE servers and groups
|
private static Document |
imageDefaultsDocument
The user imagedefaults xml document
|
private static Element |
imageDefaultsRoot
The user imagedefaults xml root
|
private Node |
lastCat |
private static Element |
lastClicked |
private static org.slf4j.Logger |
logger |
private String |
newCompName |
private static String |
newFolder |
private JButton |
newFolderBtn |
private JButton |
newSetBtn |
private JFrame |
saveWindow
save parameter set
|
private JComponent |
statusComp
Status bar component
|
private JLabel |
statusLabel
Shows the status
|
private static String |
TAG_DEFAULT |
private static String |
TAG_FOLDER |
private JPanel |
treePanel
Holds the current save set tree
|
private XmlTree |
xmlTree |
descripters
currentLevel, currentLevels, currentSlice, datachoice, haveEnsemble, levelReadout, MACRO_LEVEL, SHARE_LEVEL
CMD_CONTOURDIALOG, CMD_SETLEVELS, gridDataInstance, INITIAL_PROBE_EARTHLOCATION, log_, settingLevel
categories, colorScaleInfo, colorScales, contourInfo, contourInfoParams, contourWidget, controlContext, ctw, dataSelection, defaultView, defaultViewManager, DISPLAY_LIST_NAME, displayListTable, displayListUsesColor, displayMasters, displayUnit, helpUrl, initNoteText, instantiatedWithNoData, isProgressiveResolution, matchDisplayRegion, noteTextArea, noteWrapper, paramName, reloadFromBounds, requestProperties, resolutionReadout, selectRangeWidget, settingVisibility, sharables, showNoteText, skipSlider, skipTextField, version, viewManagers, ZFUDGE
CMD_BARBSIZE, CMD_COLORS, CMD_COLORTABLE, CMD_INTERVAL, CMD_LEVEL, CMD_LINEWIDTH, CMD_POPUP, CMD_REMOVE, DEFAULT_POINT_SIZE, DEFAULT_SAMPLING_MODE, FIND_ALL, FIND_CATEGORY, FIND_CLASS, FIND_SPECIAL, FIND_THIS, FIND_WITHDATA, FIND_WITHTHISDATA, FIND_WITHTHISFIELD, FIND_WITHTHISVIEW, FLAG_COLOR, FLAG_COLORTABLE, FLAG_COLORUNIT, FLAG_CONTOUR, FLAG_DATACONTROL, FLAG_DISPLAYUNIT, FLAG_GRIDTRAJECTORY, FLAG_LINEWIDTH, FLAG_NONE, FLAG_SELECTRANGE, FLAG_SKIPFACTOR, FLAG_SMOOTHING, FLAG_TEXTUREQUALITY, FLAG_TIMERANGE, FLAG_ZPOSITION, GRID_INSETS, ICON_LOCK, ICON_REMOVE, ICON_UNLOCK, LABEL_NONE, MACRO_DATASOURCENAME, MACRO_DISPLAYNAME, MACRO_DISPLAYUNIT, MACRO_FHOUR, MACRO_FHOUR2, MACRO_LONGNAME, MACRO_POSITION, MACRO_RESOLUTION, MACRO_SHORTNAME, MACRO_STATION, MACRO_TIMESTAMP, MACRO_VALUE, NEAREST_NEIGHBOR, PREF_DISPLAYLIST_TEMPLATE, PREF_EXTRALABEL_TEMPLATE, PREF_LEGENDLABEL_TEMPLATE, PROP_REMOVED, SETTINGS_GROUP_DISPLAY, SETTINGS_GROUP_FLAGS, SHARE_CHOICES, SHARE_COLOR, SHARE_COLORSCALE, SHARE_COLORTABLE, SHARE_DISPLAYUNIT, SHARE_POSITION, SHARE_SELECTRANGE, SHARE_SKIPVALUE, SHARE_TRANSECT, SHARE_VISIBILITY, WEIGHTED_AVERAGE
BOTTOM_LEGEND, DEFAULT_PROBEFORMAT, PREF_PREFIX, PREF_PROBEFORMAT, PREF_REMOVEONWINDOWCLOSE, PREF_SAMPLING_MODE, PREF_STANDALONE_REMOVEONCLOSE, PREF_STANDALONE_REMOVEONCLOSE_ASK, PROP_LEGENDICON, RASTERMODE_SHOWALL, RASTERMODE_SHOWNONRASTER, RASTERMODE_SHOWRASTER, SIDE_LEGEND
Constructor and Description |
---|
ImagePlanViewControl() |
Modifier and Type | Method and Description |
---|---|
private void |
addToContents(JComponent comp)
Remove the currently display gui and insert the given one.
|
protected void |
contrastStretch(double low,
double high) |
private void |
doDeleteRequest(Node node) |
Container |
doMakeContents()
Called by doMakeWindow in DisplayControlImpl, which then calls its
doMakeMainButtonPanel(), which makes more buttons.
|
void |
doRemove()
Remove this DisplayControl.
|
private void |
doRename(Element node) |
DataSourceImpl |
getDataSource() |
private List |
getFolders() |
protected JComponent |
getHistogramTabComponent() |
protected XmlResourceCollection |
getImageDefaults()
Get the xml resource collection that defines the image default xml
|
protected void |
getSaveMenuItems(List items,
boolean forMenuBar)
Add in the menu items for the save and export display template
|
boolean |
init(DataChoice dataChoice)
Initialize this instance according to a data choice.
|
private Node |
makeNewFolder() |
private Hashtable |
makeParameterValues() |
private boolean |
makePopupMenu(XmlTree theTree,
Element node,
JPopupMenu popup)
Create and popup a command menu for when the user has clicked on the given xml node.
|
private void |
makeXmlTree()
Just creates an empty XmlTree
|
void |
moveParameterSet(Element parent,
Element newFolder) |
private void |
newComponentError(String comp) |
void |
popupPersistImageParameters() |
void |
popupSaveImageParameters() |
private void |
removeNode(Element node) |
void |
resetColorTable() |
void |
saveDataToLocalDisk() |
Element |
saveParameterSet() |
boolean |
setData(DataChoice dataChoice)
Sets the data associated with this instance.
|
private void |
setInitialHistogramRange()
Take out the histogram-related stuff that was in doMakeContents and put it
in a standalone method, so we can wait and call it only after the
histogram is actually initialized.
|
void |
setRange(Range newRange)
Set the range for the color table.
|
private void |
setStatus(String msg) |
private void |
showSaveDialog() |
applyTextureQuality, createPlanDisplay, getAllowSmoothing, getDataProjectionLabel, getDescripters, getInitialColorTable, getInitialRange, getIsRaster, getSkipWidgetLabel, getSliceForDisplay, setDescripters, shouldAddControlListener, shouldAddDisplayListener
addDisplaySettings, addLabelMacros, addParameterTopographyMap, addTopographyMap, addToRangeMenu, applySkipFactor, applySmoothing, canExportData, checkFlag, displayUnitChanged, formatLevel, getColorRangeIndex, getControlWidgets, getCurrentSlice, getCursorReadoutData, getCursorReadoutInner, getDisplayedData, getEditMenuItems, getGridDisplayable, getIgnoreVerticalDimension, getLegendLabels, getLevel, getLevelColorRange, getLevelsLabel, getMacroNames, getMultipleIsTopography, getParameterIsTopography, getPlanDisplay, getPolygonMode, getPolyModeComboBox, getVerticalRange, haveLevels, haveMultipleFields, initDone, loadDataAtLevel, projectionChanged, propertyChange, receiveShareData, setCurrentSlice, setDataSelectionLevel, setIgnoreVerticalDimension, setLevel, setLevelFromUser, setLevelReadoutLabel, setLevels, setMultipleIsTopography, setParameterIsTopography, setPointSize, setPolygonMode, setSettingsLevel, setVerticalRange, shouldShowLevelWidget, shouldShowZSelector, shouldUseZPosition
actionPerformed, addTopographyMap, applyForecastHourMacro, canDoProgressiveResolution, convertColorRange, doMakeContourLevelControl, doMakeDataInstance, doMakeLevelControl, doMakeLevelControl, exportDisplayedData, getColorParamName, getColorRangeFromData, getColorUnit, getContourInfo, getDataProjection, getDataRangeInColorUnits, getDefaultContourInfo, getDisplayUnit, getGridDataInstance, getRawDataUnit, initializeDefaultContourInfo, isDisplayUnitAlsoColorUnit, setLevel
activateDisplays, addAttributedDisplayable, addAttributedDisplayable, addAttributedDisplayable, addAttributeFlags, addCheckBoxSettings, addDataChoice, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayable, addDisplayMaster, addNewData, addNoteText, addPropertiesComponents, addPropertyChangeListener, addRemovable, addSharable, addTimeModeWidget, addToControlContext, addToRangeMenu, addToRangeMenu, addViewManager, appendDataChoices, applyAttributesToDisplayables, applyColor, applyColorScaleInfo, applyColorTable, applyColorUnit, applyContourInfo, applyDisplaySetting, applyDisplayUnit, applyLineWidth, applyPreferences, applyProperties, applyProperties, applyPropertyValues, applyRange, applySelectRange, applyTimeRange, applyZPosition, boundsClose, canBeDocked, canDataDoProgressiveResolution, canSaveDataInCache, captureWindow, centerOnDisplay, changeColorUnit, changeDisplayUnit, checkBoundsChange, checkIfDataOk, checkImageSize, clearDataInstance, clearPrototype, clearViewManagers, close, colorUnitChanged, controlChanged, convertColorRange, convertRange, createDisplayListDisplayable, createIdvWindow, dataChanged, dataSelectionAdaptiveResolution, deactivateDisplays, debug, displayableToFront, displayChanged, displayControlFailed, doApplyProperties, doExport, doInitialUpdateLegendAndList, doMakeBottomLegendComponent, doMakeChangeColorMenu, doMakeChangeColorMenu, doMakeChangeParameterMenuItem, doMakeColorControl, doMakeColorControl, doMakeColorScales, doMakeMenuBar, doMakeMenuBarMenus, doMakePointSizeWidget, doMakeRemoveControl, doMakeSideLegendComponent, doMakeSkipFactorSlider, doMakeTextureSlider, doMakeVisibilityControl, doMakeWidgetComponent, doMakeWindow, doMakeZPositionSlider, findDisplayInfo, findDisplays, findDisplays, firePropertyChangeEvent, firstFrameDone, formatForCursorReadout, getActive, getAnimation, getAnimation, getAnimation, getAnimation, getAnimationInfo, getAnimationWidget, getAttributeFlags, getCachedData, getCanDoRemoveAll, getCategories, getChangeParameterLabel, getCollapseLegend, getColor, getColorDimness, getColorScaleInfo, getColorTable, getColorTableForDisplayable, getColorTableToApply, getColorTableWidget, getColorUnitName, getColorWidgetLabel, getComponentHolder, getContents, getControlChangeSleepTime, getControlContext, getControlMenus, getCursorReadout, getCursorReadoutInner, getData, getDataChoice, getDataChoices, getDataForDisplayList, getDataInstance, getDataInstance, getDataProjectionForMenu, getDataSelection, getDataSources, getDataTimeRange, getDataTimeRange, getDataTimeSet, getDebugDetails, getDefaultColorScaleInfo, getDefaultDisplayListTemplate, getDefaultDistanceUnit, getDefaultFastRendering, getDefaultSamplingMode, getDefaultSamplingModeValue, getDefaultView, getDefaultViewDescriptor, getDefaultViewManager, getDetailsContents, getDisplayAltitudeType, getDisplayCategory, getDisplayCenter, getDisplayConventions, getDisplayId, getDisplayInfos, getDisplayListColor, getDisplayListData, getDisplayListDisplayable, getDisplayListTemplate, getDisplayMaster, getDisplayName, getDisplayScale, getDisplayUnit, getDisplayUnitName, getDisplayVisibility, getDoCursorReadout, getEditMenuItems, getExpandedInTabs, getExtraLabelTemplate, getExtraLegendComponent, getExtraMenus, getFileMenuItems, getFileMenuItems, getGraphicsConfiguration, getGrid, getGrid, getHadDataChoices, getHaveInitialized, getHelpIds, getHelpMenuItems, getId, getIdv, getImage, getImage, getInitDataChoices, getInitialFastRendering, getInitialZPosition, getInternalAnimation, getInternalAnimation, getIsProgressiveResolution, getIsTimeDriver, getLabel, getLastFileMenuItems, getLatLonPoints, getLegendButtons, getLegendComponent, getLegendLabel, getLegendLabelTemplate, getLegendToolTip, getLineWidth, getLineWidthWidget, getLineWidthWidgetLabel, getLockVisibilityToggle, getLongParamName, getMainPanel, getMainPanelSize, getMakeWindow, getMapDisplay, getMapViewManager, getMapViewProjection, getMatchDisplayRegion, getMenuLabel, getMyDataChoices, getNavigatedDisplay, getNoteText, getObjectStore, getOkToFireEvents, getOldColorTableOrInitialColorTable, getOriginalDataChoicesLabel, getOuterContents, getPointSize, getProperty, getProperty, getPropertyDisplayName, getRange, getRangeForColorTable, getRangeToApply, getRequestProperties, getSamplingModeName, getSamplingModeValue, getSamplingModeValue, getSelectRange, getSelectRangeEnabled, getSelectRangeWidget, getSettingsPanel, getShortParamName, getShoulDoProgressiveResolution, getShowInDisplayList, getShowInLegend, getShowInTabs, getShowNoteText, getSkipValue, getSmoothingFactor, getSmoothingType, getSomeAnimation, getStore, getTemplateName, getTextureQuality, getTextureQualityLabel, getTimeSet, getTitle, getTransientProperty, getUnitForColor, getUseFastRendering, getUsesTimeDriver, getUseTimesInAnimation, getVersion, getVerticalValue, getViewAnimation, getViewContext, getViewer, getViewManager, getViewManager, getViewManager, getViewManagerClassNames, getViewManagerForCapture, getViewManagers, getViewMenuItems, getViewMenuItems, getVisbilityAnimationPause, getWasUnPersisted, getWindow, getWindowSize, getWindowVisible, getWindowX, getWindowY, getZPosition, getZPositionSliderLabel, guiExported, guiImported, handleDisplayChanged, handleWindowClosing, hasForecastHourMacro, hasMapProjection, hasTimeMacro, haveDataTimes, haveParameterDefaults, hide, hyperlinkUpdate, inGlobeDisplay, init, init, init, initAfterUnPersistence, initAfterUnPersistence, initAsPrototype, initAsTemplate, initBasic, initializeWithNewData, initWindow, isDisplay3D, isGuiShown, isInitDone, isInTransectView, isInViewManager, isRectBad, itemStateChanged, makeChangeColorMenuItems, makeLegendLabel, makeLockButton, makeMiscButton, makeRemoveButton, moveTo, notifyViewManagersOfChange, parseProperties, popup, popupDataDialog, popupDataDialog, popupDataDialog, processRequestProperties, putTransientProperty, reallySetAttributeFlags, redoGuiLayout, reloadDataSource, reloadDataSourceInThread, removeDataChoice, removeDisplayable, removeDisplayables, removeDisplayables, removeOnWindowClose, removePropertyChangeListener, resetData, resetDimness, resetViewManager, revertToDefaultColorTable, revertToDefaultColorTable, revertToDefaultRange, revertToDefaultRange, saveAsFavorite, saveAsParameterDefaults, saveAsPrototype, saveAsTemplate, saveDataChoiceInCache, saveImage, selectDataChoices, setAnimationInfo, setAnimationSet, setAttributeFlags, setCachedData, setCanDoRemoveAll, setCategories, setCollapseLegend, setColor, setColorBrighter, setColorDimmer, setColorDimness, setColorScaleInfo, setColorScaleVisible, setColorTable, setColorTable, setColorTableName, setColorUnit, setColorUnitName, setComponentHolder, setContents, setContourInfo, setContourInfoParams, setData, setDataChoices, setDataInstance, setDataInstances, setDataSelection, setDataTimeRange, setDefaultSamplingMode, setDefaultView, setDisplayableVisibility, setDisplayableVisiblity, setDisplayActive, setDisplayCategory, setDisplayId, setDisplayInactive, setDisplayListColor, setDisplayListColor, setDisplayListProperties, setDisplayListTemplate, setDisplayName, setDisplayUnit, setDisplayUnitName, setDisplayVisibility, setDoCursorReadout, setExpandedInTabs, setExtraLabelTemplate, setHadDataChoices, setHelpUrl, setId, setInitDataChoices, setInitialSettings, setInitialViewManager, setIsProgressiveResolution, setIsRaster, setIsTimeDriver, setLabelAsPreference, setLegendBackground, setLegendForeground, setLegendLabel, setLegendLabelTemplate, setLineWidth, setLockVisibilityToggle, setMainPanelDimensions, setMainPanelSize, setMakeWindow, setMatchDisplayRegion, setName, setNameFromUser, setNewColorUnit, setNewDisplayUnit, setNoteText, setOkToFireEvents, setOriginalDataChoicesLabel, setParamName, setPersistedVisadData, setProjectionInView, setProjectionInView, setProperty, setRange, setSelectRange, setSelectRangeEnabled, setSettingsDisplayUnit, setSharedColorScaleInfo, setShowInDisplayList, setShowInLegend, setShowInTabs, setShowNoteText, setSkipValue, setSmoothingFactor, setSmoothingType, setTemplateName, setTextureQuality, setTitle, setUnitForColor, setUseFastRendering, setUsesTimeDriver, setUseTimesInAnimation, setVersion, setViewer, setViewManagerClassNames, setViewManagerDisplayListColor, setVisbilityAnimationPause, setWindowSize, setWindowVisible, setWindowX, setWindowY, setZPosition, setZPosition, shouldAddAnimationListener, shouldApplyFastRendering, shouldBeDocked, shouldWindowBeVisible, show, showColorControlWidget, showColorDialog, showColorDialog, showColorScaleDialog, showColorScales, showColorSwatches, showContourPropertiesDialog, showDetails, showDisplaySettingsDialog, showHelp, showLegendMenu, showNormalCursor, showProperties, showTimeRangeDialog, showWaitCursor, timeChanged, toFront, toggleNoteTextArea, toggleVisibilityForVectorGraphicsRendering, toggleWindow, toString, transectChanged, updateAnimation, updateDataInstance, updateDataSelection, updateDisplayList, updateGridDataInstance, updateLegendAndList, updateLegendLabel, updateLockButton, updateMiscButton, useSmoothingFactor, useZPosition, viewManagerChanged, viewManagerDestroyed, viewpointChanged, writeTestArchive, xxxsetDisplayActive, zSliderChanged
boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToEarth, boxToScreen, calculateRectangle, createStationTfo, earthToBox, earthToBox, earthToBoxTuple, earthToScreen, formatLevels, getLabeledReal, getLevelReal, getScreenCenter, getSelectedStation, getTmpProperty, isLeftButtonDown, logException, logException, makeEarthLocation, putTmpProperty, removeTmpProperty, screenToBox, screenToBox, screenToEarth, setStations, setStations, toBox, toEarth, userErrorMessage, userMessage
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTmpProperty, putTmpProperty, removeTmpProperty
getReceiveShareTime, getShareGroup, getSharing, getUniqueId, setReceiveShareTime
private static final org.slf4j.Logger logger
private static final String TAG_FOLDER
private static final String TAG_DEFAULT
private static final String ATTR_NAME
private static final String ATTR_SERVER
private static final String ATTR_POS
private static final String ATTR_DAY
private static final String ATTR_TIME
private static final String ATTR_UNIT
protected static final String CMD_NEWFOLDER
protected static final String CMD_NEWPARASET
private JFrame saveWindow
private JTextField folderFld
private static Element imageDefaultsRoot
private static Document imageDefaultsDocument
private static XmlResourceCollection imageDefaults
private static Element lastClicked
private JButton newFolderBtn
private String newCompName
private JLabel statusLabel
private JComponent statusComp
private DataSourceImpl dataSource
private McIDASVHistogramWrapper histoWrapper
public ImagePlanViewControl()
public boolean init(DataChoice dataChoice) throws VisADException, RemoteException
ucar.unidata.idv.control.DisplayControlImpl
Initialize this instance according to a data choice. Subclasses should
override this method. Overridding methods should probably invoke DisplayControlImpl.setData(DataChoice)
as part of their initialization procedure --
although it is unclear when this is actually necessary.
This implementation simply returns true
.
init
in class PlanViewControl
dataChoice
- A data choice or null
.true
if and only if this instance
was correctly initialized by the data choice.VisADException
- if a VisAD Failure occurs.RemoteException
- if a Java RMI failure occurs.protected XmlResourceCollection getImageDefaults()
public Container doMakeContents()
doMakeContents
in class PlanViewControl
public void doRemove() throws RemoteException, VisADException
ucar.unidata.idv.control.DisplayControlImpl
ControlContext
to removeDisplayControl.
Removes all Displayable-s from
their ViewManager-s, remove this object from its Sharable
group, and sets the visibility of the dialog window to false.doRemove
in interface DisplayControl
doRemove
in class PlanViewControl
RemoteException
VisADException
private void setInitialHistogramRange()
protected JComponent getHistogramTabComponent()
protected void contrastStretch(double low, double high)
public boolean setData(DataChoice dataChoice) throws VisADException, RemoteException
ucar.unidata.idv.control.DisplayControlImpl
Sets the data associated with this instance. This method gets called
at initialization or when the user has selected a new
DataChoice
through the data selector
control.
In order to implement subclasses of this class that behave correctly, you should know that this implementation uses overridable methods of this class in the following way:
DataInstance
object by invoking
DisplayControlImpl.doMakeDataInstance(DataChoice)
with the given data choice
argument. If the object is null
, then this implementation
immediately returns false
.
DisplayControlImpl.setDataInstance(DataInstance)
with the DataInstance
object from the previous step.DisplayControlImpl.setTitle(String)
with the return
value from DisplayControlImpl.getTitle()
.DisplayControlImpl.checkFlag(int)
with DisplayControlBase.FLAG_CONTOUR
returns
true
, then DisplayControlImpl.setContourInfo(ContourInfo)
is
invoked with the return value from DisplayControlImpl.getContourInfo()
.DisplayControlImpl.checkFlag(int)
with DisplayControlBase.FLAG_COLORTABLE
returns
true
, then
DisplayControlImpl.getRange()
returns null
or DisplayControlImpl.getHaveInitialized()
returns true
, then
DisplayControlImpl.setRange(Range)
is invoked with the return value from
DisplayControlImpl.getInitialRange()
if it is non-null
.
DisplayControlImpl.getHaveInitialized()
returns true
and
the private field colorTable
is
non-null
, then DisplayControlImpl.setColorTable(ColorTable)
is invoked with the private field (there doesn't appear to be
any way to obtain the private field); otherwise,
invokes DisplayControlImpl.setColorTable(ColorTable)
on the return value
from DisplayControlImpl.getInitialColorTable()
when given DisplayControlImpl.paramName
.
setData
in class ImagePlanViewControl
dataChoice
- The DataChoice
to use.VisADException
RemoteException
public void setRange(Range newRange) throws RemoteException, VisADException
ucar.unidata.idv.control.DisplayControlImpl
setRange
in class DisplayControlImpl
newRange
- range to useRemoteException
- some RMI exception occuredVisADException
- error setting the range in VisADpublic void resetColorTable()
protected void getSaveMenuItems(List items, boolean forMenuBar)
ucar.unidata.idv.control.DisplayControlImpl
getSaveMenuItems
in class DisplayControlImpl
items
- List of menu items to add intoforMenuBar
- if this is for the menubarpublic void popupPersistImageParameters()
private Hashtable makeParameterValues()
public void saveDataToLocalDisk()
public void popupSaveImageParameters()
private void showSaveDialog()
private void newComponentError(String comp)
private void removeNode(Element node)
private Node makeNewFolder()
private void makeXmlTree()
private List getFolders()
private void doDeleteRequest(Node node)
private boolean makePopupMenu(XmlTree theTree, Element node, JPopupMenu popup)
theTree
- The XmlTree object displaying the current xml document.node
- The xml node the user clicked on.popup
- The popup menu to put the menu items in.public void moveParameterSet(Element parent, Element newFolder)
private void addToContents(JComponent comp)
comp
- The new gui.public DataSourceImpl getDataSource()
public Element saveParameterSet()