Oxygen XML Editor, Version 14.2

ro.sync.sample.plugin.workspace
Class CustomWorkspaceAccessPluginExtension

java.lang.Object
  extended by ro.sync.sample.plugin.workspace.CustomWorkspaceAccessPluginExtension
All Implemented Interfaces:
PluginExtension, WorkspaceAccessPluginExtension

public class CustomWorkspaceAccessPluginExtension
extends java.lang.Object
implements WorkspaceAccessPluginExtension

Plugin extension - workspace access extension.


Constructor Summary
CustomWorkspaceAccessPluginExtension()
           
 
Method Summary
 boolean applicationClosing()
          Notified before the editors are closed and the application exits.
 void applicationStarted(StandalonePluginWorkspace pluginWorkspaceAccess)
          Main plugin method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomWorkspaceAccessPluginExtension

public CustomWorkspaceAccessPluginExtension()
Method Detail

applicationStarted

public void applicationStarted(StandalonePluginWorkspace pluginWorkspaceAccess)
Description copied from interface: WorkspaceAccessPluginExtension
Main plugin method. Notified when the application is started.
IMPORTANT: This method must not block, the plug-in can add its listeners or customize the main menu and then return.

Specified by:
applicationStarted in interface WorkspaceAccessPluginExtension
Parameters:
pluginWorkspaceAccess - The workspace access
See Also:
WorkspaceAccessPluginExtension.applicationStarted(ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace)

applicationClosing

public boolean applicationClosing()
Description copied from interface: WorkspaceAccessPluginExtension
Notified before the editors are closed and the application exits. You can reject the close.

Specified by:
applicationClosing in interface WorkspaceAccessPluginExtension
Returns:
True application can close, false, if vetoed.
See Also:
WorkspaceAccessPluginExtension.applicationClosing()

Oxygen XML Editor, Version 14.2

© Copyright Syncro Soft SRL 2002 - 2013. All rights reserved.