Interface VisionDesignerInterface
- All Superinterfaces:
VisionClientInterface
- All Known Implementing Classes:
VisionDesignerImpl
-
Field Summary
Fields inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterface
VISION_MODULE_ID
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNewWindow
(ResourcePath parentFolder, int width, int height, Consumer<ResourcePath> onAfter) Adds a new window to theFPMIApp
being designedvoid
addWindowDropHandler
(WindowDropHandler handler) Add a new drop handler for custom drop types onto windows and templatescloneComponent
(Component comp) boolean
configureBinding
(Component component, String property, BindingConfiguration configuration) Configures a new property binding for the component.property using the given configuration.void
openBindingDialog
(Component component, String property) Opens the binding dialog for a given component.void
removeWindowDropHandler
(WindowDropHandler handler) Removes a drop handler for custom drop types onto windows and templatesMethods inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterface
addExtensibleBindingType, addWindowListener, getBindingType, getGuiUtil, getGuiUtil, getNavUtil, getNavUtil, removeWindowListener
-
Method Details
-
getPalette
Palette getPalette() -
addNewWindow
Adds a new window to theFPMIApp
being designed -
cloneComponent
-
getCurrentPrefs
DesignerPrefs getCurrentPrefs() -
getWorkspace
WindowWorkspace getWorkspace() -
getDesignerContext
DesignerContext getDesignerContext() -
openBindingDialog
Opens the binding dialog for a given component. The component should be on a window that is currently open for design- Throws:
NotBindableException
-
configureBinding
boolean configureBinding(Component component, String property, BindingConfiguration configuration) throws Exception Configures a new property binding for the component.property using the given configuration. The binding type is defined by the configuration'sBindingConfiguration.getBindingType()
- Throws:
Exception
-
addWindowDropHandler
Add a new drop handler for custom drop types onto windows and templates -
removeWindowDropHandler
Removes a drop handler for custom drop types onto windows and templates
-