Class WindowWorkspace
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTabbedPane
com.jidesoft.swing.JideTabbedPane
com.inductiveautomation.ignition.designer.designable.AbstractDesignableWorkspace
com.inductiveautomation.ignition.designer.designable.DefaultDesignableWorkspace
com.inductiveautomation.factorypmi.designer.workspace.WindowWorkspace
- All Implemented Interfaces:
ResourceWorkspace,ImageObserver,MenuContainer,Serializable,Accessible,SwingConstants
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines the options available for drawing dependency arrowsclassNested classes/interfaces inherited from class com.jidesoft.swing.JideTabbedPane
com.jidesoft.swing.JideTabbedPane.ColorProvider, com.jidesoft.swing.JideTabbedPane.GradientColorProvider, com.jidesoft.swing.JideTabbedPane.IgnoreableSingleSelectionModel, com.jidesoft.swing.JideTabbedPane.NoFocusButton, com.jidesoft.swing.JideTabbedPane.PageLastFocusTracker, com.jidesoft.swing.JideTabbedPane.TabListCellRendererNested classes/interfaces inherited from class javax.swing.JTabbedPane
JTabbedPane.AccessibleJTabbedPane, JTabbedPane.ModelListenerNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectKey object to use on a FPMIWindow.setClientProperty(COMMIT_HINT, boolean) before you close it to see if the window should be committed or not.static final StringFields inherited from class com.inductiveautomation.ignition.designer.designable.DefaultDesignableWorkspace
designerContext, rootLayerPanelFields inherited from class com.inductiveautomation.ignition.designer.designable.AbstractDesignableWorkspace
currentTool, DESIGNABLE_CONTAINER_ICON_KEY, DESIGNTIME_PROPNAME, listeners, log, openContainers, selectedItems, selectionControl, selectionToolFields inherited from class com.jidesoft.swing.JideTabbedPane
_focusChangeListener, _tabEditingAllowed, _tabEditValidator, BOLDACTIVETAB_PROPERTY, BOX_STYLE_PROPERTY, BUTTON_CLOSE, BUTTON_EAST, BUTTON_LIST, BUTTON_NORTH, BUTTON_SOUTH, BUTTON_WEST, COLOR_THEME_DEFAULT, COLOR_THEME_OFFICE2003, COLOR_THEME_VSNET, COLOR_THEME_WIN2K, COLOR_THEME_WINXP, GRIPPER_PROPERTY, HIDE_IF_ONE_TAB_PROPERTY, ONENOTE_COLOR_PROVIDER, PROPERTY_COLOR_THEME, PROPERTY_CONTENT_BORDER_INSETS, PROPERTY_DRAG_OVER_DISABLED, PROPERTY_SELECTED_INDEX, PROPERTY_SHOW_CLOSE_BUTTON_ON_MOUSE_OVER, PROPERTY_TAB_AREA_INSETS, PROPERTY_TAB_COLOR_PROVIDER, PROPERTY_TAB_INSETS, PROPERTY_TAB_LEADING_COMPONENT, PROPERTY_TAB_RESIZE_MODE, PROPERTY_TAB_SHAPE, PROPERTY_TAB_TRAILING_COMPONENT, RESIZE_MODE_COMPRESSED, RESIZE_MODE_DEFAULT, RESIZE_MODE_FIT, RESIZE_MODE_FIXED, RESIZE_MODE_NONE, SCROLL_TAB_ON_WHEEL_PROPERTY, SHAPE_BOX, SHAPE_DEFAULT, SHAPE_ECLIPSE, SHAPE_ECLIPSE3X, SHAPE_EXCEL, SHAPE_FLAT, SHAPE_OFFICE2003, SHAPE_ROUNDED_FLAT, SHAPE_ROUNDED_VSNET, SHAPE_VSNET, SHAPE_WINDOWS, SHAPE_WINDOWS_SELECTED, SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY, SHOW_CLOSE_BUTTON_PROPERTY, SHOW_ICONS_PROPERTY, SHOW_TAB_AREA_PROPERTY, SHOW_TAB_BUTTONS_PROPERTY, SHOW_TAB_CONTENT_PROPERTY, SHRINK_TAB_PROPERTY, TAB_CLOSABLE_PROPERTY, USE_DEFAULT_SHOW_CLOSE_BUTTON_ON_TAB_PROPERTY, USE_DEFAULT_SHOW_ICONS_PROPERTYFields inherited from class javax.swing.JTabbedPane
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUTFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(VisionContainer container, JComponent comp) Method that adds the brand new component comp to the container.protected voidclose(DesignableContainer container) Closes the DesignPanel for the given container, if it is open.voidcloseDesignable(DesignableContainer container) voidcommitAll(SaveContext save) Commits each open designable containervoidcommitDesignable(ResourcePath path) Commits the window to the project.voiddeleteTopLevelContainer(ResourcePath id, boolean confirm) Deletes the named window.voiddispose()Called when the workspace should be completely disposed.voiddoSelectAll(boolean byType, boolean entireWindow) Duplicates the designable with the given id.findDesignableContainer(ResourcePath resourcePath) Finds a DesignableContainer that is currently open for editing in this workspace.findDropTarget(List<JComponent> itemsUnderDrop, DropTargetDragEvent dtde) Override to allow dropping onto itemsintThe handler that responds to common edit actions, like cut, copy, paste, and deleteReturns a collection ofResourceWorkspaceFrames that will be associated with this workspace.Returns the settings for the grid/guide/snapping systemgetItemDelegate(DesignableContainer container) Called to provide the DesignableDelegate that is appropriate for the given DesignableContainergetKey()Returns a keyname for the workspace.getMenu()Returns a menu merge for the menu options that should be present when this workspace is active.protected JPopupMenugetPopupMenu(DesignPanel panel) getRoot()The currently selected designable container, or null if none is selectedgetSelectionPopupMenu(List<JComponent> items) Gives the workspace a chance to provide a popup menu for the currently selected itemsList<com.jidesoft.action.CommandBar>Returns the toolbars that will be added when this workspace is active.The component that makes up the workspace itself.voidCalled when the user double-clicks using the selection tool.booleanhandleDrop(Object droppedOn, DropTargetDropEvent event) voidCalled when the user edit-clicks a component (clicks on an already selected component)protected voidinit()voidbooleanReturns whether or not the zoom level of design panels can be altered.protected LoggerExprotected IDesignToolvoidCalled when the resource workspace will become the active workspace and will be displayed.protected booleanonBeforeClose(DesignableContainer container) If the project isn't set as auto-commit, ask if they want to commit, and set the response in the COMMIT_HINT property.voidonClose(DesignableContainer container) Provides subclasses a chance to handle when a tab is closedprotected voidonCurrentToolChanged(IDesignTool oldTool, IDesignTool newTool) Provides AbstractDesignableWorkspace subclasses a way to be notified when the design tool has been changed.voidCalled when the resource workspace will be swapped out for a different workspace.voidonEditorPaint(DesignPanel panel, Graphics graphics) Provides subclasses a chance to paint onto each tab's DesignPanel backgroundvoidopenTemplate(ResourcePath templateId) Opens the template identified by the providedtemplateId.voidopenTemplate(ResourcePath templateId, VisionTemplate template) Opens a deserialized template instance and ensures it gets initialized correctly for the designervoidopenTemplate(String templatePath) voidopenWindow(String path) Opens window atpath, and sets it as the selected object.voidpaintInteractionLayerHigh(Graphics2D g, DesignableContainer container) voidpaintInteractionLayerLow(Graphics2D g, DesignableContainer container) voidresetFrames(com.jidesoft.docking.DockingManager dockingManager, com.jidesoft.action.DockableBarManager barManager) Programmatically set the options on the frames and bars that represent the workspace's "defaults"booleanvoidsetOpenOnStart(ResourcePath windowId, boolean set) Set whether or not this window is a startup windowvoidshutdown()voidWill toggle the given window's about window status.voidupdateMouseLocation(int x, int y) Called when the mouse moves over the design area.Methods inherited from class com.inductiveautomation.ignition.designer.designable.DefaultDesignableWorkspace
getTabToolTip, setStatusMessageMethods inherited from class com.inductiveautomation.ignition.designer.designable.AbstractDesignableWorkspace
addDesignableWorkspaceListener, createWorkspaceHomeTab, getCurrentTool, getEditorBackground, getOpenContainerCount, getSelectedDesignPanel, getSelectedItems, getSelectedItemsCount, getSelectionControl, getSelectionTool, getTabPopupMenu, isDesignTime, isOpen, isOpen, newDesignPanel, open, openArbitraryTab, removeDesignableWorkspaceListener, removeTab, setCurrentTool, setDesignTime, setSelectedContainer, setSelectedItems, setSelectedItems, setupWorkspaceHomeTab, toggleItemSelection, updateSelectionControl, updateStatusBarTextMethods inherited from class com.jidesoft.swing.JideTabbedPane
add, addNotify, addTabEditingListener, calculateTabListPopupPosition, cancelTabEditing, clearVisComp, createFocusChangeListener, createNoFocusButton, createTabList, createTabListPopup, editTabAt, fireStateChanged, fireTabEditing, getCloseAction, getColorTheme, getContentBorderInsets, getDefaultColorTheme, getDefaultTabResizeMode, getDefaultTabStyle, getDisplayTitleAt, getEditingTabIndex, getIconForTab, getLastFocusedComponent, getPageLastFocusTrackers, getResourceString, getSelectedTabFont, getStringConverter, getTabAlignment, getTabAreaInsets, getTabAtLocation, getTabColorProvider, getTabEditingListeners, getTabEditingValidator, getTabHeight, getTabInsets, getTabLeadingComponent, getTabListCellRenderer, getTabResizeMode, getTabShape, getTabTrailingComponent, getUI, getUIClassID, hasFocusComponent, hideTabListPopup, insertTab, isAutoFocusOnTabHideClose, isAutoRequestFocus, isBoldActiveTab, isCloseTabOnMouseMiddleButton, isDragOverDisabled, isHideOneTab, isHideTrailingWhileNoButtons, isLayoutTrailingComponentBeforeButtons, isRightClickSelect, isScrollSelectedTabOnWheel, isShowCloseButton, isShowCloseButtonOnMouseOver, isShowCloseButtonOnSelectedTab, isShowCloseButtonOnTab, isShowGripper, isShowIconsOnTab, isShowTabArea, isShowTabButtons, isShowTabContent, isSuppressSetSelectedIndex, isSuppressStateChangedEvents, isTabClosableAt, isTabEditing, isTabEditingAllowed, isTabEditingAllowed, isTabListPopupVisible, isTabShown, isUseDefaultShowCloseButtonOnTab, isUseDefaultShowIconsOnTab, moveSelectedTabTo, popupSelectedIndex, processMouseSelection, removeAll, removeNotify, removeTabAt, removeTabEditingListener, repaintContentBorder, repaintTabAreaAndContentBorder, requestFocusForVisibleComponent, resetDefaultCloseAction, scrollSelectedTabToVisible, setAutoFocusOnTabHideClose, setAutoRequestFocus, setBoldActiveTab, setCloseAction, setCloseTabOnMouseMiddleButton, setColorTheme, setComponentAt, setContentBorderInsets, setDragOverDisabled, setHideOneTab, setHideTrailingWhileNoButtons, setLayoutTrailingComponentBeforeButtons, setRightClickSelect, setScrollSelectedTabOnWheel, setSelectedIndex, setSelectedTabFont, setShowCloseButton, setShowCloseButtonOnMouseOver, setShowCloseButtonOnSelectedTab, setShowCloseButtonOnTab, setShowGripper, setShowIconsOnTab, setShowTabArea, setShowTabButtons, setShowTabContent, setStringConverter, setSuppressSetSelectedIndex, setSuppressStateChangedEvents, setTabAlignment, setTabAreaInsets, setTabClosableAt, setTabColorProvider, setTabEditingAllowed, setTabEditingValidator, setTabInsets, setTabLeadingComponent, setTabListCellRenderer, setTabResizeMode, setTabShape, setTabTrailingComponent, setUI, setUseDefaultShowCloseButtonOnTab, setUseDefaultShowIconsOnTab, showTabListPopup, stopTabEditing, updateUIMethods inherited from class javax.swing.JTabbedPane
add, add, add, add, addChangeListener, addTab, addTab, addTab, createChangeListener, getAccessibleContext, getBackgroundAt, getBoundsAt, getChangeListeners, getComponentAt, getDisabledIconAt, getDisplayedMnemonicIndexAt, getForegroundAt, getIconAt, getMnemonicAt, getModel, getSelectedComponent, getSelectedIndex, getTabComponentAt, getTabCount, getTabLayoutPolicy, getTabPlacement, getTabRunCount, getTitleAt, getToolTipText, getToolTipTextAt, indexAtLocation, indexOfComponent, indexOfTab, indexOfTab, indexOfTabComponent, isEnabledAt, paramString, remove, remove, removeChangeListener, setBackgroundAt, setDisabledIconAt, setDisplayedMnemonicIndexAt, setEnabledAt, setForegroundAt, setIconAt, setMnemonicAt, setModel, setSelectedComponent, setTabComponentAt, setTabLayoutPolicy, setTabPlacement, setTitleAt, setToolTipTextAtMethods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateMethods inherited from class java.awt.Container
addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
WINDOW_WORKSPACE_KEY
- See Also:
-
COMMIT_HINT
Key object to use on a FPMIWindow.setClientProperty(COMMIT_HINT, boolean) before you close it to see if the window should be committed or not.
-
-
Constructor Details
-
WindowWorkspace
-
-
Method Details
-
init
protected void init() -
getPopupMenu
-
initStartupPanel
public void initStartupPanel() -
getDesignerContext
- Overrides:
getDesignerContextin classDefaultDesignableWorkspace
-
getWorkspace
Description copied from interface:ResourceWorkspaceThe component that makes up the workspace itself. Must not be null- Specified by:
getWorkspacein interfaceResourceWorkspace- Overrides:
getWorkspacein classDefaultDesignableWorkspace
-
newSelectionTool
- Overrides:
newSelectionToolin classAbstractDesignableWorkspace
-
newLogger
- Overrides:
newLoggerin classAbstractDesignableWorkspace
-
getSelectedContainer
Description copied from class:AbstractDesignableWorkspaceThe currently selected designable container, or null if none is selected- Overrides:
getSelectedContainerin classAbstractDesignableWorkspace
-
isZoomingEnabled
public boolean isZoomingEnabled()Description copied from class:AbstractDesignableWorkspaceReturns whether or not the zoom level of design panels can be altered. Default is always true.- Overrides:
isZoomingEnabledin classAbstractDesignableWorkspace
-
findDesignableContainer
Description copied from class:AbstractDesignableWorkspaceFinds a DesignableContainer that is currently open for editing in this workspace.- Overrides:
findDesignableContainerin classAbstractDesignableWorkspace- Parameters:
resourcePath- The resource path of the resource container to look for- Returns:
- The container with the given id and scope, or null if that resource isn't currently open.
-
onCurrentToolChanged
Description copied from class:AbstractDesignableWorkspaceProvides AbstractDesignableWorkspace subclasses a way to be notified when the design tool has been changed.- Overrides:
onCurrentToolChangedin classAbstractDesignableWorkspace
-
onBeforeClose
If the project isn't set as auto-commit, ask if they want to commit, and set the response in the COMMIT_HINT property. Update the snapshot.- Overrides:
onBeforeClosein classAbstractDesignableWorkspace
-
onActivation
public void onActivation()Description copied from interface:ResourceWorkspaceCalled when the resource workspace will become the active workspace and will be displayed.- Specified by:
onActivationin interfaceResourceWorkspace- Overrides:
onActivationin classDefaultDesignableWorkspace
-
onDeactivation
public void onDeactivation()Description copied from interface:ResourceWorkspaceCalled when the resource workspace will be swapped out for a different workspace.- Specified by:
onDeactivationin interfaceResourceWorkspace- Overrides:
onDeactivationin classDefaultDesignableWorkspace
-
onClose
Description copied from class:AbstractDesignableWorkspaceProvides subclasses a chance to handle when a tab is closed- Overrides:
onClosein classAbstractDesignableWorkspace
-
onEditorPaint
Description copied from class:AbstractDesignableWorkspaceProvides subclasses a chance to paint onto each tab's DesignPanel background- Overrides:
onEditorPaintin classAbstractDesignableWorkspace
-
getGridSettings
Description copied from class:AbstractDesignableWorkspaceReturns the settings for the grid/guide/snapping system- Specified by:
getGridSettingsin classAbstractDesignableWorkspace
-
getSelectionPopupMenu
Description copied from class:AbstractDesignableWorkspaceGives the workspace a chance to provide a popup menu for the currently selected items- Overrides:
getSelectionPopupMenuin classAbstractDesignableWorkspace
-
updateMouseLocation
public void updateMouseLocation(int x, int y) Description copied from class:AbstractDesignableWorkspaceCalled when the mouse moves over the design area. Coordinates will be (-1, -1) when the mouse leaves the area.- Overrides:
updateMouseLocationin classAbstractDesignableWorkspace
-
getItemDelegate
Description copied from class:AbstractDesignableWorkspaceCalled to provide the DesignableDelegate that is appropriate for the given DesignableContainer- Specified by:
getItemDelegatein classAbstractDesignableWorkspace
-
restrictMovementToParentBounds
public boolean restrictMovementToParentBounds()- Overrides:
restrictMovementToParentBoundsin classAbstractDesignableWorkspace
-
getAcceptableDropActions
- Overrides:
getAcceptableDropActionsin classAbstractDesignableWorkspace
-
findDropTarget
Description copied from class:AbstractDesignableWorkspaceOverride to allow dropping onto items- Overrides:
findDropTargetin classAbstractDesignableWorkspace
-
handleDrop
- Overrides:
handleDropin classAbstractDesignableWorkspace
-
handleDoubleClick
Description copied from class:AbstractDesignableWorkspaceCalled when the user double-clicks using the selection tool.- Overrides:
handleDoubleClickin classAbstractDesignableWorkspace
-
handleEditClick
Description copied from class:AbstractDesignableWorkspaceCalled when the user edit-clicks a component (clicks on an already selected component)- Overrides:
handleEditClickin classAbstractDesignableWorkspace
-
paintInteractionLayerLow
- Overrides:
paintInteractionLayerLowin classAbstractDesignableWorkspace
-
paintInteractionLayerHigh
- Overrides:
paintInteractionLayerHighin classAbstractDesignableWorkspace
-
getGradientTool
-
getHandler
-
shutdown
public void shutdown() -
dispose
public void dispose()Description copied from interface:ResourceWorkspaceCalled when the workspace should be completely disposed. -
commitAll
Commits each open designable container -
getRoot
-
getVisionDesigner
-
getKey
Description copied from interface:ResourceWorkspaceReturns a keyname for the workspace. Used by nav tree nodes to specify which workspace to switch to when they are selected. -
getMenu
Description copied from interface:ResourceWorkspaceReturns a menu merge for the menu options that should be present when this workspace is active. May be null. -
getToolbars
Description copied from interface:ResourceWorkspaceReturns the toolbars that will be added when this workspace is active. May be null or empty. -
getFrames
Description copied from interface:ResourceWorkspaceReturns a collection ofResourceWorkspaceFrames that will be associated with this workspace. May be null or empty. -
getEditActionHandler
Description copied from interface:ResourceWorkspaceThe handler that responds to common edit actions, like cut, copy, paste, and delete -
resetFrames
public void resetFrames(com.jidesoft.docking.DockingManager dockingManager, com.jidesoft.action.DockableBarManager barManager) Description copied from interface:ResourceWorkspaceProgrammatically set the options on the frames and bars that represent the workspace's "defaults" -
getPropertyTablePanel
-
getLayoutManipulator
-
add
Method that adds the brand new component comp to the container.- Parameters:
container- Container for Componentcomp- Component to add
-
openWindow
Opens window atpath, and sets it as the selected object. If this window is currently open, brings it to the front. -
closeDesignable
-
commitDesignable
Commits the window to the project. This means that the window is serialized and the serialized code is updated in the WindowCache's WindowInfo. Also updates the snapshot for the window. -
duplicateDesignable
Duplicates the designable with the given id. If the window is open it is committed first. This works on closed windows (unlike doDuplicateSelection) -
doSelectAll
public void doSelectAll(boolean byType, boolean entireWindow) -
toggleAboutWindow
Will toggle the given window's about window status. If another window is currently the about window, that window's about status will also be cleared. -
setOpenOnStart
Set whether or not this window is a startup window -
deleteTopLevelContainer
Deletes the named window. If confirm=true, a confirmation box will be shown first -
openTemplate
Opens the template identified by the providedtemplateId. If the template is not already open, it deserializes and opens an instance of the template -
openTemplate
Opens a deserialized template instance and ensures it gets initialized correctly for the designer -
openTemplate
-
close
Description copied from class:AbstractDesignableWorkspaceCloses the DesignPanel for the given container, if it is open.- Overrides:
closein classAbstractDesignableWorkspace
-