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

How to use
checkInitialization
method
in
org.eclipse.jface.text.rules.FastPartitioner

Best Java code snippets using org.eclipse.jface.text.rules.FastPartitioner.checkInitialization (Showing top 16 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: at.bestsolution.eclipse/org.eclipse.fx.text.compat

/**
 * {@inheritDoc}
 * <p>
 * May be extended by subclasses.
 * </p>
 */
public void connect(IDocument document, boolean delayInitialization) {
  Assert.isNotNull(document);
  Assert.isTrue(!document.containsPositionCategory(fPositionCategory));
  fDocument= document;
  fDocument.addPositionCategory(fPositionCategory);
  fIsInitialized= false;
  if (!delayInitialization)
    checkInitialization();
}
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * {@inheritDoc}
 * <p>
 * May be extended by subclasses.
 * </p>
 */
@Override
public void connect(IDocument document, boolean delayInitialization) {
  Assert.isNotNull(document);
  Assert.isTrue(!document.containsPositionCategory(fPositionCategory));
  fDocument= document;
  fDocument.addPositionCategory(fPositionCategory);
  fIsInitialized= false;
  if (!delayInitialization)
    checkInitialization();
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.text.compat

/**
 * {@inheritDoc}
 * <p>
 * May be extended by subclasses.
 * </p>
 */
public void connect(IDocument document, boolean delayInitialization) {
  Assert.isNotNull(document);
  Assert.isTrue(!document.containsPositionCategory(fPositionCategory));
  fDocument= document;
  fDocument.addPositionCategory(fPositionCategory);
  fIsInitialized= false;
  if (!delayInitialization)
    checkInitialization();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * {@inheritDoc}
 * <p>
 * May be extended by subclasses.
 * </p>
 */
@Override
public void connect(IDocument document, boolean delayInitialization) {
  Assert.isNotNull(document);
  Assert.isTrue(!document.containsPositionCategory(fPositionCategory));
  fDocument= document;
  fDocument.addPositionCategory(fPositionCategory);
  fIsInitialized= false;
  if (!delayInitialization)
    checkInitialization();
}
origin: at.bestsolution.eclipse/org.eclipse.fx.text.compat

/**
 * {@inheritDoc}
 * <p>
 * May be replaced or extended by subclasses.
 * </p>
 */
public String getContentType(int offset) {
  checkInitialization();
  TypedPosition p= findClosestPosition(offset);
  if (p != null && p.includes(offset))
    return p.getType();
  return IDocument.DEFAULT_CONTENT_TYPE;
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.text.compat

/**
 * {@inheritDoc}
 * <p>
 * May be replaced or extended by subclasses.
 * </p>
 */
public String getContentType(int offset) {
  checkInitialization();
  TypedPosition p= findClosestPosition(offset);
  if (p != null && p.includes(offset))
    return p.getType();
  return IDocument.DEFAULT_CONTENT_TYPE;
}
origin: org.eclipse.platform/org.eclipse.jface.text

/**
 * {@inheritDoc}
 * <p>
 * May be replaced or extended by subclasses.
 * </p>
 */
@Override
public String getContentType(int offset) {
  checkInitialization();
  TypedPosition p= findClosestPosition(offset);
  if (p != null && p.includes(offset))
    return p.getType();
  return IDocument.DEFAULT_CONTENT_TYPE;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

/**
 * {@inheritDoc}
 * <p>
 * May be replaced or extended by subclasses.
 * </p>
 */
@Override
public String getContentType(int offset) {
  checkInitialization();
  TypedPosition p= findClosestPosition(offset);
  if (p != null && p.includes(offset))
    return p.getType();
  return IDocument.DEFAULT_CONTENT_TYPE;
}
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.text.compat

checkInitialization();
List list= new ArrayList();
origin: org.eclipse.platform/org.eclipse.jface.text

checkInitialization();
List<TypedRegion> list= new ArrayList<>();
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

checkInitialization();
List<TypedRegion> list= new ArrayList<>();
origin: at.bestsolution.eclipse/org.eclipse.fx.text.compat

checkInitialization();
List list= new ArrayList();
origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.text.compat

checkInitialization();
origin: org.eclipse.platform/org.eclipse.jface.text

checkInitialization();
origin: at.bestsolution.eclipse/org.eclipse.fx.text.compat

checkInitialization();
origin: org.eclipse.scout.sdk.deps/org.eclipse.jface.text

checkInitialization();
org.eclipse.jface.text.rulesFastPartitionercheckInitialization

Javadoc

Calls #initialize() if the receiver is not yet initialized.

Popular methods of FastPartitioner

  • <init>
    Creates a new partitioner that uses the given scanner and may return partitions of the given legal c
  • connect
    May be extended by subclasses.
  • flushRewriteSession
    Flushes the active rewrite session.
  • clearPositionCache
    Clears the position cache. Needs to be called whenever the positions have been updated.
  • computePartitioning
    May be replaced or extended by subclasses.
  • createRegion
    Creates the minimal region containing all partition changes using the remembered offset, end offset,
  • documentChanged2
    May be extended by subclasses.
  • findClosestPosition
    Returns the position in the partitoner's position category which is close to the given offset. This
  • getFirstIndexEndingAfterOffset
    Returns the index of the first position which ends after the given offset.
  • getFirstIndexStartingAfterOffset
    Returns the index of the first position which starts at or after the given offset.
  • getPartition
    May be replaced or extended by subclasses.
  • getPositions
    Returns the partitioners positions.
  • getPartition,
  • getPositions,
  • getTokenContentType,
  • initialize,
  • isSupportedContentType,
  • overlapsOrTouches,
  • rememberDeletedOffset,
  • rememberRegion,
  • toString

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSharedPreferences (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • PhpStorm for WordPress
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