Tabnine Logo
Metadata.getCategories
Code IndexAdd Tabnine to your IDE (free)

How to use
getCategories
method
in
org.kie.guvnor.services.metadata.model.Metadata

Best Java code snippets using org.kie.guvnor.services.metadata.model.Metadata.getCategories (Showing top 2 results out of 315)

origin: org.kie.guvnor/guvnor-core-services-backend

@Override
public List<String> categories() {
  return metadata.getCategories();
}
origin: org.kie.guvnor/guvnor-metadata-widget

private void loadData( final FlexTable list ) {
  for ( int i = 0; i < data.getCategories().size(); i++ ) {
    final int idx = i;
    final String categoryPath = data.getCategories().get( idx );
    list.setWidget( i, 0, new SmallLabel( categoryPath ) );
    if ( !readOnly ) {
      final Image del = Images.INSTANCE.Trash();
      del.setTitle( MetadataConstants.INSTANCE.RemoveThisCategory() );
      del.addClickHandler( new ClickHandler() {
        public void onClick( final ClickEvent event ) {
          removeCategory( idx );
        }
      } );
      list.setWidget( i, 1, del );
    }
  }
}
org.kie.guvnor.services.metadata.modelMetadatagetCategories

Popular methods of Metadata

  • getDiscussion
  • <init>
  • addCategory
  • addDiscussion
  • eraseDiscussion
  • getCheckinComment
  • getCreator
  • getDateCreated
  • getDescription
  • getExternalRelation
  • getExternalSource
  • getLastContributor
  • getExternalSource,
  • getLastContributor,
  • getLastModified,
  • getPath,
  • getSubject,
  • getType,
  • getVersion,
  • removeCategory,
  • setDescription

Popular in Java

  • Finding current android device location
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top 12 Jupyter Notebook Extensions
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