Interface VisionDesignerInterface
-
- All Superinterfaces:
VisionClientInterface
- All Known Implementing Classes:
VisionDesignerImpl
public interface VisionDesignerInterface extends VisionClientInterface
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterface
VISION_MODULE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNewWindow(ResourcePath parentFolder, int width, int height, java.util.function.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 templatesjava.awt.Component
cloneComponent(java.awt.Component comp)
boolean
configureBinding(java.awt.Component component, java.lang.String property, BindingConfiguration configuration)
Configures a new property binding for the component.property using the given configuration.DesignerPrefs
getCurrentPrefs()
DesignerContext
getDesignerContext()
Palette
getPalette()
WindowWorkspace
getWorkspace()
void
openBindingDialog(java.awt.Component component, java.lang.String property)
Opens the binding dialog for a given component.-
Methods inherited from interface com.inductiveautomation.vision.api.client.VisionClientInterface
addExtensibleBindingType, addWindowListener, getBindingType, getGuiUtil, getGuiUtil, getNavUtil, getNavUtil, removeWindowListener
-
-
-
-
Method Detail
-
getPalette
Palette getPalette()
-
addNewWindow
void addNewWindow(ResourcePath parentFolder, int width, int height, java.util.function.Consumer<ResourcePath> onAfter)
Adds a new window to theFPMIApp
being designed
-
cloneComponent
java.awt.Component cloneComponent(java.awt.Component comp)
-
getCurrentPrefs
DesignerPrefs getCurrentPrefs()
-
getWorkspace
WindowWorkspace getWorkspace()
-
getDesignerContext
DesignerContext getDesignerContext()
-
openBindingDialog
void openBindingDialog(java.awt.Component component, java.lang.String property) throws NotBindableException
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(java.awt.Component component, java.lang.String property, BindingConfiguration configuration) throws java.lang.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:
java.lang.Exception
-
addWindowDropHandler
void addWindowDropHandler(WindowDropHandler handler)
Add a new drop handler for custom drop types onto windows and templates
-
-