Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » PropertyTester not firing
PropertyTester not firing [message #334568] Wed, 18 February 2009 09:42 Go to next message
Eclipse UserFriend
I got my first plug-in converted to use Command processing instead of
using ActionHandlers. However, when I changed my second plug-in to use
them, the expressions on the plug-in don't seem to be evaluating until
the first, unrelated, plug-in is loaded. Specifically, the
PropertyTester, which is in a separate common plug-in is not firing. It
seems like the expression evaluation is skipping/ignoring the property
tester (i.e. not loading the class). I placed a println at the start/end
of the property tester to print out the receiver and arguments and the
result of the property test. I also enabled the tracing of the handler
as per http://wiki.eclipse.org/Platform_Command_Framework#Tracing_O ption
that generated the following output:

When I displayed the second plug-in's view with the first plug-in not
loaded:

Configuration location:

file:/C:/workspaces/risk-workspace/.metadata/.plugins/org.ec lipse.pde.core/org.kdr.risk.workbench.product/
Configuration file:

file:/C:/workspaces/risk-workspace/.metadata/.plugins/org.ec lipse.pde.core/org.kdr.risk.workbench.product/config.ini
loaded
Install location:
file:/C:/eclipse-3.4/
Framework located:

file:/C:/eclipse-3.4/plugins/org.eclipse.osgi_3.4.2.R34x_v20 080826-1230.jar
Framework classpath:

file:/C:/eclipse-3.4/plugins/org.eclipse.osgi_3.4.2.R34x_v20 080826-1230.jar
Splash location:
null
Debug options:

file:/C:/workspaces/risk-workspace/org.kdr.risk.workbench/de bug.options
loaded
Time to load bundles: 1100
Starting application: 2186
Feb 18, 2009 9:09:33 AM org.jboss.cache.PropertyConfigurator <init>
INFO: Found existing property editor for org.w3c.dom.Element:
org.jboss.util.propertyeditor.ElementEditor@7f1228
Feb 18, 2009 9:09:33 AM org.jboss.cache.PropertyConfigurator configure
INFO: attribute size: 29
log4j:WARN No appenders could be found for logger
(org.jboss.security.SecurityAssociation).
log4j:WARN Please initialize the log4j system properly.
BINDINGS >>> Clearing cache
CONTEXTS >>> register shell 'Shell {KDR Risk Workbench - [local]}' as window
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> ASSP:lastActiveShell: null
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellnull
SOURCES >>> Active shell changed to Shell {KDR Risk Workbench - [local]}
SOURCES >>> Active workbench window changed to
org.eclipse.ui.internal.WorkbenchWindow@1408d95
SOURCES >>> Active workbench window shell changed to Shell {KDR Risk
Workbench - [local]}
SOURCES >>> Active workbench window coolbar visibility true
SOURCES >>> Active workbench window perspective bar visibility true
SOURCES >>> Active workbench window status line visibility true
EVALUATION >>> start source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow.activePerspective,
activeWorkbenchWindow.isStatusLineVisible,
activeWorkbenchWindow.isCoolbarVisible,
activeWorkbenchWindow.isPerspectiveBarVisible, activeWorkbenchWindow]
EVALUATION >>> end source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow.activePerspective,
activeWorkbenchWindow.isStatusLineVisible,
activeWorkbenchWindow.isCoolbarVisible,
activeWorkbenchWindow.isPerspectiveBarVisible, activeWorkbenchWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow,
org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> Action sets changed to [Workbench Action Set]
EVALUATION >>> start source changed: [activeActionSets]
EVALUATION >>> end source changed: [activeActionSets]
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Active part changed to org.kdr.ui.trade.viewer.TradeView@b53114
SOURCES >>> Active part id changed to view.trade
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.trade]
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.trade]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Selection changed to null
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
Application Started: 16017
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP:lastActiveShell: Shell {KDR Risk Workbench - [local]}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellShell {KDR Risk
Workbench - [local]}
SOURCES >>> Active shell changed to Shell {Show View}
SOURCES >>> Active workbench window changed to null
SOURCES >>> Active workbench window shell changed to null
SOURCES >>> Active workbench window coolbar visibility true
SOURCES >>> Active workbench window perspective bar visibility true
SOURCES >>> Active workbench window status line visibility true
EVALUATION >>> start source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
EVALUATION >>> end source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.kdr.risk.workbench.action.set, org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.eclipse.ui.contexts.dialogAndWindow]
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> Action sets changed to []
EVALUATION >>> start source changed: [activeActionSets]
EVALUATION >>> end source changed: [activeActionSets]
SOURCES >>> Contexts changed to [org.eclipse.ui.contexts.dialog,
org.eclipse.ui.contexts.dialogAndWindow]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Active part changed to null
SOURCES >>> Active part id changed to null
SOURCES >>> Active site changed to null
SOURCES >>> Active editor changed to null
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> Selection changed to null
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> ASSP: passOnEvent: Text {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: FilteredTree {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Tree {}
SOURCES >>> ASSP: passOnEvent: Composite {}
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to [org.eclipse.ui.contexts.dialog]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog]
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to []
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
CONTEXTS >>> []
SOURCES >>> ASSP:lastActiveShell: Shell {*Disposed*}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellnull
SOURCES >>> Active shell changed to Shell {KDR Risk Workbench - [local]}
SOURCES >>> Active workbench window changed to
org.eclipse.ui.internal.WorkbenchWindow@1408d95
SOURCES >>> Active workbench window shell changed to Shell {KDR Risk
Workbench - [local]}
SOURCES >>> Active workbench window coolbar visibility true
SOURCES >>> Active workbench window perspective bar visibility true
SOURCES >>> Active workbench window status line visibility true
EVALUATION >>> start source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
EVALUATION >>> end source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow,
org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache hit
SOURCES >>> Action sets changed to [Workbench Action Set]
EVALUATION >>> start source changed: [activeActionSets]
EVALUATION >>> end source changed: [activeActionSets]
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Active part changed to org.kdr.ui.trade.viewer.TradeView@b53114
SOURCES >>> Active part id changed to view.trade
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.trade]
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.trade]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Active site changed to
PartSite(id=view.trade,pluginId=org.kdr.risk.trade,registere dName=Trades,hashCode=3594368)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Active part changed to
org.kdr.ui.security.role.viewer.RoleView@10b15a7
SOURCES >>> Active part id changed to view.security.role
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> Contexts changed to [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
HANDLERS >>> Command('org.kdr.risk.command.security.role.new') has
changed to 'org.kdr.ui.security.role.handler.RoleAddHandler' as its handler
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP:lastActiveShell: Shell {KDR Risk Workbench - [local]}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellShell {KDR Risk
Workbench - [local]}
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
KEYS >>> Listener.handleEvent(type = KeyDown, stateMask = 0x0, keyCode =
0x10000, time = 6343406, character = 0x0)
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]

You can see the context org.kdr.risk.context.security.role and the view
view.security.role are active during the start of the evaluation.

Following the activation of the first plug-in's view and then switching
back to the second plug-in's view the log changes to the following and
all actions are enabled/disabled as they should be:

SOURCES >>> ASSP:lastActiveShell: Shell {KDR Risk Workbench - [local]}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellShell {KDR Risk
Workbench - [local]}
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP:lastActiveShell: Shell {KDR Risk Workbench - [local]}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellShell {KDR Risk
Workbench - [local]}
SOURCES >>> Active shell changed to Shell {Show View}
SOURCES >>> Active workbench window changed to null
SOURCES >>> Active workbench window shell changed to null
SOURCES >>> Active workbench window coolbar visibility true
SOURCES >>> Active workbench window perspective bar visibility true
SOURCES >>> Active workbench window status line visibility true
EVALUATION >>> start source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
EVALUATION >>> end source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.kdr.risk.context.security.role, org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.kdr.risk.context.security.role, org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.kdr.risk.workbench.action.set, org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog,
org.eclipse.ui.contexts.dialogAndWindow]
BINDINGS >>> Cache hit
SOURCES >>> Action sets changed to []
EVALUATION >>> start source changed: [activeActionSets]
EVALUATION >>> end source changed: [activeActionSets]
SOURCES >>> Contexts changed to [org.eclipse.ui.contexts.dialog,
org.eclipse.ui.contexts.dialogAndWindow]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
HANDLERS >>> Command('org.kdr.risk.command.security.role.new') has
changed to no handler
SOURCES >>> Active part changed to null
SOURCES >>> Active part id changed to null
SOURCES >>> Active site changed to null
SOURCES >>> Active editor changed to null
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> Selection changed to null
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> ASSP: passOnEvent: Text {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: FilteredTree {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Tree {}
SOURCES >>> ASSP: passOnEvent: Composite {}
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to [org.eclipse.ui.contexts.dialog]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
CONTEXTS >>> [org.eclipse.ui.contexts.dialog]
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to []
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
CONTEXTS >>> []
SOURCES >>> ASSP:lastActiveShell: Shell {*Disposed*}
SOURCES >>> ASSP:lastActiveWorkbenchWindowShellnull
SOURCES >>> Active shell changed to Shell {KDR Risk Workbench - [local]}
SOURCES >>> Active workbench window changed to
org.eclipse.ui.internal.WorkbenchWindow@1408d95
SOURCES >>> Active workbench window shell changed to Shell {KDR Risk
Workbench - [local]}
SOURCES >>> Active workbench window coolbar visibility true
SOURCES >>> Active workbench window perspective bar visibility true
SOURCES >>> Active workbench window status line visibility true
EVALUATION >>> start source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
EVALUATION >>> end source changed: [activeShell,
activeWorkbenchWindowShell, activeWorkbenchWindow]
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.ctx.delete'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.delete'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.perturbation.condition.token.delete'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.perturbation.rule.context.delete'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.apply.change'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.apply.delete'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.change'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.trade.settlement.rule.ctx.change'
HANDLERS >>> Unresolved conflict detected for
'org.kdr.risk.command.perturbation.rule.context.change'
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow]
CONTEXTS >>> [org.eclipse.ui.contexts.dialogAndWindow,
org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache hit
SOURCES >>> Action sets changed to [Workbench Action Set]
EVALUATION >>> start source changed: [activeActionSets]
EVALUATION >>> end source changed: [activeActionSets]
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
SOURCES >>> Active part changed to
org.kdr.ui.security.role.viewer.RoleView@10b15a7
SOURCES >>> Active part id changed to view.security.role
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
CONTEXTS >>> [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
EVALUATION >>> end source changed: [activeContexts]
HANDLERS >>> Command('org.kdr.risk.command.security.role.new') has
changed to 'org.kdr.ui.security.role.handler.RoleAddHandler@cb577' as
its handler
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
EVALUATION >>> end source changed: [selection]
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
[]: [add, org.kdr.security.role.Role]
[]: result true
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> ASSP: passOnEvent: Tree {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Active part changed to
org.kdr.ui.portfolio.viewer.PortfolioView@1e84970
SOURCES >>> Active part id changed to view.portfolio
SOURCES >>> Active site changed to
PartSite(id=view.portfolio,pluginId=org.kdr.risk.portfolio,r egisteredName=Portfolios,hashCode=31605941)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
HANDLERS >>> Command('org.kdr.risk.command.security.role.new') has
changed to no handler
CONTEXTS >>> [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.portfolio]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.portfolio]
BINDINGS >>> Cache miss
BINDINGS >>> There are 0 deletion markers
SOURCES >>> Contexts changed to [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window,
org.kdr.risk.context.portfolio]
EVALUATION >>> start source changed: [activeContexts]
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
EVALUATION >>> end source changed: [activeContexts]
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
SOURCES >>> Active site changed to
PartSite(id=view.portfolio,pluginId=org.kdr.risk.portfolio,r egisteredName=Portfolios,hashCode=31605941)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
[]: [add, org.kdr.security.role.Role]
[]: result true
EVALUATION >>> end source changed: [selection]
SOURCES >>> ASSP: passOnEvent: Table {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> ASSP: passOnEvent: Composite {}
SOURCES >>> Active part changed to
org.kdr.ui.security.role.viewer.RoleView@10b15a7
SOURCES >>> Active part id changed to view.security.role
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
CONTEXTS >>> [org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
CONTEXTS >>> [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
BINDINGS >>> Cache hit
SOURCES >>> Contexts changed to [org.kdr.risk.context.security.role,
org.kdr.risk.workbench.action.set,
org.eclipse.ui.contexts.dialogAndWindow, org.eclipse.ui.contexts.window]
EVALUATION >>> start source changed: [activeContexts]
[]: [add, org.kdr.security.role.Role]
[]: result true
EVALUATION >>> end source changed: [activeContexts]
HANDLERS >>> Command('org.kdr.risk.command.security.role.new') has
changed to 'org.kdr.ui.security.role.handler.RoleAddHandler@cb577' as
its handler
[]: [add, org.kdr.security.role.Role]
[]: result true
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
[]: [add, org.kdr.security.role.Role]
[]: result true
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
SOURCES >>> Selection changed to <empty selection>
EVALUATION >>> start source changed: [selection]
<empty selection>: [add, org.kdr.portfolio.Portfolio]
<empty selection>: result true
[]: [add, org.kdr.security.role.Role]
[]: result true
[]: [add, org.kdr.security.role.Role]
[]: result true
EVALUATION >>> end source changed: [selection]
SOURCES >>> Selection changed to [aggregator.name.add]
EVALUATION >>> start source changed: [selection]
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
[aggregator.name.add]: [add, org.kdr.portfolio.Portfolio]
[aggregator.name.add]: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
[aggregator.name.add]: [add, org.kdr.security.role.Role]
[aggregator.name.add]: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
[aggregator.name.add]: [add, org.kdr.security.role.Role]
[aggregator.name.add]: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
EVALUATION >>> end source changed: [selection]
KEYS >>> Listener.handleEvent(type = KeyDown, stateMask = 0x0, keyCode =
0x10000, time = 6479891, character = 0x0)
SOURCES >>> Active site changed to
PartSite(id=view.security.role,pluginId=org.kdr.risk.securit y,registeredName=Roles,hashCode=4305405)
SOURCES >>> Active editor id changed to null
EVALUATION >>> start source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]
aggregator.name.add: [remove]
aggregator.name.add: result true
[aggregator.name.add]: [add, org.kdr.security.role.Role]
[aggregator.name.add]: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [change]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
aggregator.name.add: [remove]
aggregator.name.add: result true
EVALUATION >>> end source changed: [activePartId, showInSelection,
activePart, activeSite, activeEditorId, showInInput, activeEditor]


The second plug-in's plugin.xml contains the following contexts:

<extension point="org.eclipse.ui.contexts">
<context description="%context.security.role.description"
id="org.kdr.risk.context.security.role"
name="%context.security.role.name"
parentId="org.eclipse.ui.contexts.window" />
</extension>

The following commands:

<extension point="org.eclipse.ui.commands">

<!-- Role -->
<command categoryId="org.kdr.risk.workbench.commands"
description="%command.security.role.new.description"
id="org.kdr.risk.command.security.role.new"
name="%command.security.role.new.name" />
<command categoryId="org.kdr.risk.workbench.commands"
description="%command.security.role.save.description"
id="org.kdr.risk.command.security.role.save"
name="%command.security.role.save.name" />
<command categoryId="org.kdr.risk.workbench.commands"
description="%command.security.role.delete.description"
id="org.kdr.risk.command.security.role.delete"
name="%command.security.role.delete.name" />
<command categoryId="org.kdr.risk.workbench.commands"
description="%command.security.role.change.description"
id="org.kdr.risk.command.security.role.change"
name="%command.security.role.change.name" />
<command categoryId="org.kdr.risk.workbench.commands"
description="%command.security.role.refresh.description"
id="org.kdr.risk.command.security.role.refresh"
name="%command.security.role.refresh.name" />
</extension>

The following menu contributions:

<extension point="org.eclipse.ui.menus">

<!-- Context Menus -->
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=content">
<command
commandId="org.kdr.risk.command.security.role.new"
icon="icons/add.gif"
id="org.kdr.risk.menu.context.security.role.new"
mnemonic="%action.new.mnemonic"
style="push"
tooltip="%security.role.new.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.role.security.add ">
</reference>
</and>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.change"
icon="icons/change.gif"
id="org.kdr.risk.menu.context.security.role.change"
mnemonic="%action.change.mnemonic"
style="push"
tooltip="%security.role.change.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.role.selected ">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.change">
</reference>
</and>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.save"
icon="icons/save.gif"
id="org.kdr.risk.menu.context.security.role.save"
mnemonic="%action.save.mnemonic"
style="push"
tooltip="%security.role.save.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.editor.focus ">
</reference>
</and>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.delete"
icon="icons/delete.gif"
id="org.kdr.risk.menu.context.security.role.delete"
mnemonic="%action.delete.mnemonic"
style="push"
tooltip="%security.role.delete.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<or>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.role.editor.focus ">
</reference>
</or>
<reference
definitionId="org.kdr.risk.definition.security.delete">
</reference>
</and>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.refresh"
icon="icons/refresh.gif"
id="org.kdr.risk.menu.context.security.role.refresh"
mnemonic="%action.refresh.mnemonic"
style="push"
tooltip="%security.role.refresh.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
</visibleWhen>
</command>
</menuContribution>

<!-- View Menus -->
<menuContribution
locationURI="menu:view.security.role?after=content">
<command
commandId="org.kdr.risk.command.security.role.new"
icon="icons/add.gif"
id="org.kdr.risk.menu.view.security.role.new"
mnemonic="%action.new.mnemonic"
style="push"
tooltip="%security.role.new.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.role.security.add ">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.change"
icon="icons/change.gif"
id="org.kdr.risk.menu.view.security.role.change"
mnemonic="%action.change.mnemonic"
style="push"
tooltip="%security.role.change.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.change">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.delete"
icon="icons/delete.gif"
id="org.kdr.risk.menu.view.security.role.delete"
mnemonic="%action.delete.mnemonic"
style="push"
tooltip="%security.role.delete.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.delete">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.refresh"
icon="icons/refresh.gif"
id="org.kdr.risk.menu.view.security.role.refresh"
mnemonic="%action.refresh.mnemonic"
style="push"
tooltip="%security.role.refresh.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
</visibleWhen>
</command>
</menuContribution>

<!-- View Toolbars -->
<menuContribution
locationURI="toolbar:view.security.role?after=additions">
<command
commandId="org.kdr.risk.command.security.role.new"
icon="icons/add.gif"
id="org.kdr.risk.toolbar.view.security..role.new"
mnemonic="%action.new.mnemonic"
style="push"
tooltip="%security.role.new.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.role.security.add ">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.change"
icon="icons/change.gif"
id="org.kdr.risk.toolbar.view.security.role.change"
mnemonic="%action.change.mnemonic"
style="push"
tooltip="%security.role.change.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.change">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.delete"
icon="icons/delete.gif"
id="org.kdr.risk.toolbar.view.security.role.delete"
mnemonic="%action.delete.mnemonic"
style="push"
tooltip="%security.role.delete.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.delete">
</reference>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.refresh"
icon="icons/refresh.gif"
id="org.kdr.risk.toolbar.view.security.role.refresh"
mnemonic="%action.refresh.mnemonic"
style="push"
tooltip="%security.role.refresh.tooltip">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
</visibleWhen>
</command>
</menuContribution>

<!-- Main Toolbar -->
<menuContribution
locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions ">
<toolbar
id="org.kdr.security.role.toolbar">
<command
commandId="org.kdr.risk.command.security.role.delete"
icon="icons/delete.gif"
id="org.kdr.risk.toolbar.main.security.role.delete"
mnemonic="%action.delete.mnemonic"
style="push"
tooltip="%security.role.delete.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.editor" >
</reference>
<reference
definitionId="org.kdr.risk.definition.security.delete">
</reference>
</and>
</visibleWhen>
</command>
<command
commandId="org.kdr.risk.command.security.role.save"
icon="icons/save.gif"
id="org.kdr.risk.toolbar.main.security.role.save"
mnemonic="%action.save.mnemonic"
style="push"
tooltip="%security.role.save.tooltip">
<visibleWhen
checkEnabled="false">
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.editor" >
</reference>
</and>
</visibleWhen>
</command>
</toolbar>
</menuContribution>

</extension>

The following property testers:

<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.kdr.ui.tester.SecurityRolePropertyTester"
id="org.kdr.risk.security.security"
namespace="org.kdr"
properties="isAllowed"
type="java.lang.Object">
</propertyTester>
<propertyTester
class="org.kdr.ui.tester.IsNewPropertyTester"
id="org.kdr.risk.security.isNew"
namespace="org.kdr"
properties="isNew"
type="java.lang.Object">
</propertyTester>
<propertyTester
class="org.kdr.ui.tester.IsDirtyPropertyTester"
id="org.kdr.risk.security.isDirty"
namespace="org.kdr"
properties="isDirty"
type="java.lang.Object">
</propertyTester>
</extension>

The following handlers:

<extension point="org.eclipse.ui.handlers">

<!-- Add Handlers -->
<handler
class="org.kdr.ui.security.role.handler.RoleAddHandler"
commandId="org.kdr.risk.command.security.role.new">
<activeWhen>
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.role.security.add ">
</reference>
</and>
</activeWhen>
<enabledWhen>
<and>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
<reference
definitionId="org.kdr.risk.definition.security.role.security.add ">
</reference>
</and>
</enabledWhen>
</handler>

<!-- Refresh Handlers -->
<handler
class="org.kdr.ui.security.role.handler.RoleRefreshHandler"
commandId="org.kdr.risk.command.security.role.refresh">
<activeWhen>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
</activeWhen>
<enabledWhen>
<reference
definitionId="org.kdr.risk.definition.security.role.view">
</reference>
</enabledWhen>
</handler>

<!-- Change Handlers -->
<handler
class="org.kdr.ui.security.role.handler.RoleChangeHandler"
commandId="org.kdr.risk.command.security.role.change">
<activeWhen>
<and>
Re: PropertyTester not firing [message #334625 is a reply to message #334568] Fri, 20 February 2009 10:59 Go to previous message
Eclipse UserFriend
PropertyTesters return NOT_LOADED (which equates to TRUE) until their
plugin is loaded. Evaluation a property tester will not cause it to
load. In RCP apps you can use forcePluginActivation="true" in your
tests to force it to load.

Starting the first, unrelated plugin must load a class from the common
plugin (which means the next evaluation to the property tester will
return TRUE/FALSE since it is now loaded)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm
Previous Topic:[JFace] Accelarator doesn not work anymore
Next Topic:Radio tool item with pulldown menu
Goto Forum:
  


Current Time: Sun Mar 16 22:01:29 EDT 2025

Powered by FUDForum. Page generated in 0.03863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top