All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.jface.text.contentassist.ICompletionProposalExtension6 Maven / Gradle / Ivy

The newest version!
/*******************************************************************************
 * Copyright (c) 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.text.contentassist;

import org.eclipse.jface.viewers.StyledString;


/**
 * Extends {@link org.eclipse.jface.text.contentassist.ICompletionProposal} with the following
 * function:
 * 
    *
  • Allow styled ranges in the display string.
  • *
* * @since 3.4 */ public interface ICompletionProposalExtension6 { /** * Returns the styled string used to display this proposal in the list of completion proposals. * This can for example be used to draw mixed colored labels. *

* Note: {@link ICompletionProposal#getDisplayString()} still needs to be * correctly implemented as this method might be ignored in case of uninstalled owner draw * support. *

* * @return the string builder used to display this proposal */ StyledString getStyledDisplayString(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy