Package org.aperteworkflow.ui.help

Examples of org.aperteworkflow.ui.help.HelpProviderFactory


    setMargin(new MarginInfo(false, false, true, true));
    initLayout(false);
  }

  private void prepare() {
        HelpProviderFactory helpProviderFactory =
                ProcessToolContext.Util.getThreadProcessToolContext().getRegistry().lookupService(HelpProviderFactory.class.getName());
        if (helpProviderFactory != null)
            helpFactory = helpProviderFactory.getInstance(application, task.getProcessDefinition(), true, "step_help");

    actionCallback = new MyProcessToolActionCallback();
  }
View Full Code Here


        this.helpDictionaryName = helpDictionaryName;
    }

    private void initHelpProvider() {
        if (helpProvider == null) {
      HelpProviderFactory helpProviderFactory = (HelpProviderFactory)ProcessToolContext.Util
          .getThreadProcessToolContext()
          .getRegistry()
          .lookupService(HelpProviderFactory.class.getName());
      helpProvider = helpProviderFactory
          .getInstance(getApplication(), getProcessDefinitions(), !cannotEdit(), helpDictionaryName);
            if (helpProvider == null) {
                helpProvider = createDummyHelpProvider();
            }
        }
View Full Code Here

    @Override
    public void start(BundleContext bundleContext) throws Exception {

        bundleContext.registerService(HelpProviderFactory.class.getName(),
                new HelpProviderFactory() {
          @Override
          public HelpProvider getInstance(Application application, ProcessDefinitionConfig cfg, boolean canEdit, String dictName) {
            return getInstance(application, Arrays.asList(cfg), canEdit, dictName);
          }
View Full Code Here

TOP

Related Classes of org.aperteworkflow.ui.help.HelpProviderFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.