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 TypeMethodDescriptionvoidaddNewWindow(ResourcePath parentFolder, int width, int height, Consumer<ResourcePath> onAfter) Adds a new window to theFPMIAppbeing designedvoidaddWindowDropHandler(WindowDropHandler handler) Add a new drop handler for custom drop types onto windows and templatescloneComponent(Component comp) booleanconfigureBinding(Component component, String property, BindingConfiguration configuration) Configures a new property binding for the component.property using the given configuration.voidopenBindingDialog(Component component, String property) Opens the binding dialog for a given component.voidremoveWindowDropHandler(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 theFPMIAppbeing 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
-