@Inherited @Retention(value=RUNTIME) @Target(value=METHOD) public @interface OnStartup
Methods annotated with this are called by the Workbench before methods
annotated with @OnOpen
. WorkbenchParts should perform any
initialisation activities here (for example load their content from a
persistent store).
For @WorkbenchEditor
's the method should take a single argument of
type org.drools.guvnor.vfs.Path
. The Path specifies the URI for the
resource to be edited. For @WorkbenchScreen
's the method should have
zero arguments. The method should return void.
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.