public interface ZoomableResourceEditor
Implementing this interface for your ResourceWorkspace
and adding the ZoomIndicator
to the DesignerContext
StatusBar
via addDisplay() allows a visible helper found at the southeast of
the Ignition Designer. ResourceWorkspace.onActivate() and onDeactivate() provide good opportunities to add the
and remove the ZoomIndicator from the designer.
Modifier and Type | Method and Description |
---|---|
int |
getZoom() |
boolean |
isZoomingEnabled()
Whether or not this resource workspace supports or allows zooming.
|
void |
setZoom(int zoom)
Set the amount of zoom for the given resource, where 100 represents 100% sizing
|
void setZoom(int zoom)
int getZoom()
boolean isZoomingEnabled()