congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PluginInterface.getDocumentationUrl
Code IndexAdd Tabnine to your IDE (free)

How to use
getDocumentationUrl
method
in
org.pentaho.di.core.plugins.PluginInterface

Best Java code snippets using org.pentaho.di.core.plugins.PluginInterface.getDocumentationUrl (Showing top 4 results out of 315)

origin: pentaho/pentaho-kettle

public static boolean isPluginDocumented( PluginInterface plugin ) {
 if ( plugin == null ) {
  return false;
 }
 return !StringUtil.isEmpty( plugin.getDocumentationUrl() );
}
origin: pentaho/pentaho-kettle

 /**
  * @param fragment A plugin interface to merge with
  */
 default void merge( PluginInterface fragment ) {
  if ( fragment != null ) {
   Optional.ofNullable( fragment.getClassMap() ).ifPresent( this.getClassMap()::putAll );
   Optional.ofNullable( fragment.getImageFile() ).ifPresent( this::setImageFile );
   Optional.ofNullable( fragment.getLibraries() ).ifPresent( this.getLibraries()::addAll );
   Optional.ofNullable( fragment.getErrorHelpFile() ).ifPresent( this::setErrorHelpFile );
   Optional.ofNullable( fragment.getDocumentationUrl() ).ifPresent( this::setDocumentationUrl );
   Optional.ofNullable( fragment.getCasesUrl() ).ifPresent( this::setCasesUrl );
   Optional.ofNullable( fragment.getForumUrl() ).ifPresent( this::setForumUrl );
   Optional.ofNullable( fragment.getClassLoaderGroup() ).ifPresent( this::setClassLoaderGroup );
  }
 }
}
origin: pentaho/pentaho-kettle

 private void setShellImage( Shell shell ) {
  PluginInterface plugin = PluginRegistry.getInstance().getPlugin( PartitionerPluginType.class, partitioner.getId() );
  if ( !Utils.isEmpty( plugin.getDocumentationUrl() ) ) {
   createHelpButton( shell, stepMeta, plugin );
  }

  shell.setImage( GUIResource.getInstance().getImageSpoon() );
 }
}
origin: pentaho/pentaho-kettle

public static ShowHelpDialog openHelpDialog( Shell shell, PluginInterface plugin ) {
 if ( shell == null || plugin == null ) {
  return null;
 }
 if ( isPluginDocumented( plugin ) ) {
  return openHelpDialog( shell, getHelpDialogTitle( plugin ), plugin.getDocumentationUrl(),
    plugin.getName()  );
 } else {
  MessageBox mb = new MessageBox( shell, SWT.OK | SWT.ICON_ERROR );
  String msgKey = "";
  // TODO currently support only Step and JobEntry - extend if required.
  if ( plugin.getPluginType().equals( StepPluginType.class ) ) {
   msgKey = "System.ShowHelpDialog.Step.HelpIsNotAvailable";
  } else {
   msgKey = "System.ShowHelpDialog.JobEntry.HelpIsNotAvailable";
  }
  mb.setMessage( BaseMessages.getString( PKG, msgKey, plugin.getName() ) );
  mb.setText( BaseMessages.getString( PKG, "System.Dialog.Error.Title" ) );
  mb.open();
 }
 return null;
}
org.pentaho.di.core.pluginsPluginInterfacegetDocumentationUrl

Popular methods of PluginInterface

  • getIds
  • getName
  • getDescription
  • getPluginDirectory
  • getClassMap
  • getImageFile
  • getPluginType
  • getCategory
  • getErrorHelpFile
  • getMainType
  • isNativePlugin
  • matches
  • isNativePlugin,
  • matches,
  • getCasesUrl,
  • getClassLoaderGroup,
  • getForumUrl,
  • getLibraries,
  • getSuggestion,
  • isSeparateClassLoaderNeeded,
  • merge

Popular in Java

  • Reactive rest calls using spring rest template
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • String (java.lang)
  • Permission (java.security)
    Legacy security code; do not use.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JButton (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now