public interface DesignerContext extends ClientContext, DesignerProjectContext
Modifier and Type | Method and Description |
---|---|
void |
addBeanInfoSearchPath(java.lang.String packageName)
Adds the given fully-qualified path name to the Introspector's BeanInfo search path.
|
void |
addPropertyEditor(java.lang.Class<? extends AbstractPropertyEditorPanel> pageClass)
Adds a property editor page that will be incorporated into the Designer's project property editing system.
|
XMLSerializer |
createSerializer()
Creates a new XML serializer that has been configured by all installed modules for custom serialization delegates
|
void |
editResourceDocs(ProjectResource resource,
ProjectScope scope)
Opens up the resource notes editor for the given project resources
|
void |
exportResources(java.util.Collection<java.lang.Long> resourceIds,
ProjectScope scope)
Shows the project export window (after doing a commit) with the given resource IDs checked.
|
javax.swing.Action |
getCopyAction() |
javax.swing.Action |
getCutAction() |
javax.swing.Action |
getDeleteAction() |
PersistentProperties |
getDesignerPrefs()
Returns a PersistentProperties file that will be stored on a per-user basis for "persistent" but not
project-encapsulated preferences
|
com.jidesoft.docking.DockingManager |
getDockingManager()
Returns the JIDE DockingManager for the Designer
|
java.awt.Frame |
getFrame()
Returns the owning frame of the designer.
|
DesignerProjectContext |
getGlobalProject()
Returns the project holder for the global project.
|
DesignerLocalizationManager |
getLocalizationManager() |
ResourceLockManager |
getLockManager()
Deprecated.
The Designer Context is a lock manager now.
|
OPCBrowserPanel |
getOPCBrowser()
Returns the OPCBrowserPanel that can be used to browse and import OPC items
|
javax.swing.Action |
getPasteAction() |
ProjectBrowserRoot |
getProjectBrowserRoot()
Returns the root node of the project browser tree, so that modules may add their own nodes.
|
DesignerProjectContext |
getProjectContext(ProjectScope scope)
Provides a way to get the local or global project scope by ProjectScope enum.
|
QueryBrowser |
getQueryBrowserPanel()
Returns the DB query browser tool
|
java.util.List<SearchProvider> |
getSearchProviders() |
SQLTagTreeModel |
getSQLTagTreeModel() |
StatusBar |
getStatusBar()
The StatusBar at the bottom of the Designer can be used to display temporary messages and for adding
always-present little components that appear in the bottom-right
|
TagBrowserPanel |
getTagBrowser()
Returns the TagBrowserPanel that can be used to select SQLTags
|
TagEditor |
getTagEditor()
Returns the TagEditorPanel that can be used to edit/add SQLTags
|
TagUtilities |
getTagUtilities()
A class that has some handy functions for dealing with SQLTags
|
com.jidesoft.action.DockableBarManager |
getToolbarManager()
Returns the JIDE dockable toolbar manager
|
void |
registerResourceWorkspace(ResourceWorkspace workspace)
Registers a new resource workspace, which is a main editing area for the designer.
|
void |
registerSearchProvider(SearchProvider provider)
Registers a search provider that will be exposed through the find/replace system.
|
addPropertyChangeListener, addPropertyChangeListener, applyGlobalDiff, deserialize, getAuthProfileName, getCacheDir, getDefaultDatasourceName, getDefaultSQLTagsProviderName, getExecutionManager, getLaunchContext, getModules, getProgressManager, getProjectVersion, getRootPaneContainer, getTagManager, getTagPollRate
createDeserializer, getEventBus, getExpressionFunctionFactory, getLicenseState, getLoggingManager, getModule, getScriptManager
addFolder, canEditResourceProtection, deleteResource, getScope, moveResource, structuredRename, updateResource, updateResource
addProjectChangeListener, applyDiff, getProject, removeProjectChangeListener
hasLock, isLockModified, isLockOpen, newResourceId, releaseLock, requestLock, requestLockQuietly, synchLocks, updateLock
DesignerProjectContext getGlobalProject()
getGlobalProject
in interface ClientContext
DesignerProjectContext getProjectContext(ProjectScope scope)
void exportResources(java.util.Collection<java.lang.Long> resourceIds, ProjectScope scope)
void addBeanInfoSearchPath(java.lang.String packageName)
packageName
- XMLSerializer createSerializer()
StatusBar getStatusBar()
SQLTagTreeModel getSQLTagTreeModel()
void editResourceDocs(ProjectResource resource, ProjectScope scope)
ProjectBrowserRoot getProjectBrowserRoot()
PersistentProperties getDesignerPrefs()
DesignerLocalizationManager getLocalizationManager()
getLocalizationManager
in interface ClientContext
java.awt.Frame getFrame()
javax.swing.Action getCutAction()
javax.swing.Action getCopyAction()
javax.swing.Action getPasteAction()
javax.swing.Action getDeleteAction()
TagEditor getTagEditor()
TagBrowserPanel getTagBrowser()
OPCBrowserPanel getOPCBrowser()
TagUtilities getTagUtilities()
QueryBrowser getQueryBrowserPanel()
com.jidesoft.docking.DockingManager getDockingManager()
com.jidesoft.action.DockableBarManager getToolbarManager()
void registerResourceWorkspace(ResourceWorkspace workspace)
@Deprecated ResourceLockManager getLockManager()
void addPropertyEditor(java.lang.Class<? extends AbstractPropertyEditorPanel> pageClass)
Adds a property editor page that will be incorporated into the Designer's project property editing system. This class will be instantiated the first time that the property editor is displayed, and must have either a nullary constructor or a constructor that takes a DesignerContext.
The Property Editing framework is designed around the idea that modules will store properties in opaquely xml-serialized project resources which can be uniquely identified by their module ID and resource type. The property editing UI will handle the de/serialization and project syncing tasks so that the property editor pages can simply focus on UI.
void registerSearchProvider(SearchProvider provider)
provider
- java.util.List<SearchProvider> getSearchProviders()