blob: 65ae60c2a6cec0f96f57ee2603d54602efdd3cc4 [file] [log] [blame]
/*=============================================================================#
# Copyright (c) 2009, 2019 Stephan Wahlbrink and others.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# Stephan Wahlbrink <sw@wahlbrink.eu> - initial API and implementation
#=============================================================================*/
package org.eclipse.statet.ltk.ui;
import org.eclipse.jface.resource.ImageRegistry;
import org.eclipse.statet.jcommons.lang.NonNullByDefault;
import org.eclipse.statet.internal.ltk.ui.LTKUIPlugin;
@NonNullByDefault
public class LTKUI {
/**
* ID of command 'insert assignment'.
*
* Value: @value
*/
public static final String INSERT_ASSIGNMENT_COMMAND_ID= "org.eclipse.statet.ltk.commands.InsertAssignment"; //$NON-NLS-1$
/**
* ID of command 'strip comments'.
*
* Value: @value
*/
public static final String STRIP_COMMENTS_COMMAND_ID= "org.eclipse.statet.ltk.commands.StripComments"; //$NON-NLS-1$
/**
* ID of command 'add doc comment'.
*
* Value: @value
*/
public static final String ADD_DOC_COMMENT_COMMAND_ID= "org.eclipse.statet.ltk.commands.AddDocComment"; //$NON-NLS-1$
/**
* ID of command 'generate element comment'.
*
* Value: @value
*/
public static final String GENERATE_ELEMENT_COMMENT_COMMAND_ID= "org.eclipse.statet.ltk.commands.GenerateElementComment"; //$NON-NLS-1$
/**
* ID of command 'correct indentation'.
*
* Value: @value
*/
public static final String CORRECT_INDENT_COMMAND_ID= "org.eclipse.statet.ltk.commands.CorrectIndent"; //$NON-NLS-1$
/**
* ID of command to show quick outline.
*
* Value: @value
*/
public static final String SHOW_QUICK_SOURCE_OUTLINE_COMMAND_ID= "org.eclipse.statet.ltk.commands.ShowQuickSourceOutline"; //$NON-NLS-1$
/**
* ID of command to show quick element structure.
*
* Value: @value
*/
public static final String SHOW_QUICK_ELEMENT_OUTLINE_COMMAND_ID= "org.eclipse.statet.ltk.commands.ShowQuickElementOutline"; //$NON-NLS-1$
/**
* ID of command to show quick element hierarchy.
*
* Value: @value
*/
public static final String SHOW_QUICK_ELEMENT_HIERARCHY_COMMAND_ID= "org.eclipse.statet.ltk.commands.ShowQuickElementHierarchy"; //$NON-NLS-1$
/**
* ID of command to search for access (all occurrences) of an element.
*
* Value: @value
*/
public static final String SEARCH_ALL_ELEMENT_ACCESS_COMMAND_ID= "org.eclipse.statet.ltk.commands.SearchAllElementAccess"; //$NON-NLS-1$
/**
* ID of command to search for write access of an element.
*
* Value: @value
*/
public static final String SEARCH_WRITE_ELEMENT_ACCESS_COMMAND_ID= "org.eclipse.statet.ltk.commands.SearchWriteElementAccess"; //$NON-NLS-1$
/**
* Name of command parameter defining the scope of a search.
*
* Value: @value
*/
public static final String SEARCH_SCOPE_PARAMETER_ID= "scope"; //$NON-NLS-1$
public static final String SEARCH_SCOPE_WORKSPACE_PARAMETER_VALUE= "workspace"; //$NON-NLS-1$
public static final String SEARCH_SCOPE_PROJECT_PARAMETER_VALUE= "project"; //$NON-NLS-1$
public static final String SEARCH_SCOPE_FILE_PARAMETER_VALUE= "file"; //$NON-NLS-1$
public static final String OBJ_TEXT_TEMPLATE_IMAGE_ID= LTKUIPlugin.BUNDLE_ID + "/image/obj/text.template"; //$NON-NLS-1$
public static final String OBJ_TEXT_AT_TAG_IMAGE_ID= LTKUIPlugin.BUNDLE_ID + "/image/obj/text.at_tag"; //$NON-NLS-1$
public static final String OBJ_TEXT_LINKEDRENAME_IMAGE_ID= LTKUIPlugin.BUNDLE_ID + "/image/obj/assist.linked_rename"; //$NON-NLS-1$
public static ImageRegistry getImages() {
return LTKUIPlugin.getInstance().getImageRegistry();
}
}