Tabnine Logo
IndexDialog.setEnabled
Code IndexAdd Tabnine to your IDE (free)

How to use
setEnabled
method
in
org.apache.directory.server.core.partition.impl.btree.gui.IndexDialog

Best Java code snippets using org.apache.directory.server.core.partition.impl.btree.gui.IndexDialog.setEnabled (Showing top 2 results out of 315)

origin: org.apache.directory/com.springsource.org.apache.directory.server.core

/**
 * Shows a dialog to display and scan indices.
 * 
 * @param idxAttr the name of the index or its attribute
 * @throws Exception if the indices cannot be accessed
 */
public void showIndexDialog( String idxAttr ) throws Exception
{
  Index index = null;
  boolean isSystem = partition.hasSystemIndexOn( idxAttr );
  if ( isSystem )
  {
    index = partition.getSystemIndex( idxAttr );
  }
  else
  {
    index = partition.getUserIndex( idxAttr );
  }
  if ( index != null )
  {
    IndexDialog dialog = new IndexDialog( this, false, index );
    centerOnScreen( dialog );
    dialog.setEnabled( true );
    dialog.setVisible( true );
  }
}
origin: org.apache.directory.server/apacheds-xdbm-tools

/**
 * Shows a dialog to display and scan indices.
 * 
 * @param idxAttr the name of the index or its attribute
 * @throws Exception if the indices cannot be accessed
 */
public void showIndexDialog( String idxAttr ) throws Exception
{
  Index index;
  boolean isSystem = partition.hasSystemIndexOn( idxAttr );
  if ( isSystem )
  {
    index = partition.getSystemIndex( idxAttr );
  }
  else
  {
    index = partition.getUserIndex( idxAttr );
  }
  if ( index != null )
  {
    IndexDialog dialog = new IndexDialog( this, false, index );
    centerOnScreen( dialog );
    dialog.setEnabled( true );
    dialog.setVisible( true );
  }
}
org.apache.directory.server.core.partition.impl.btree.guiIndexDialogsetEnabled

Popular methods of IndexDialog

  • <init>
  • addWindowListener
  • dispose
  • doScan
  • getContentPane
  • initGUI
    This method is called from within the constructor to initialize the form.
  • isVisible
  • pack
  • setBounds
  • setTitle
  • setVisible
  • validate
  • setVisible,
  • validate

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JTable (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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