mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
Bug 133881 - Make refreshing after building optional
Work in progress.
This commit is contained in:
parent
badab3650e
commit
d79a9c2863
6 changed files with 35 additions and 2 deletions
Binary file not shown.
After Width: | Height: | Size: 327 B |
Binary file not shown.
After Width: | Height: | Size: 583 B |
BIN
build/org.eclipse.cdt.managedbuilder.ui/icons/obj16/file_obj.gif
Normal file
BIN
build/org.eclipse.cdt.managedbuilder.ui/icons/obj16/file_obj.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 596 B |
Binary file not shown.
After Width: | Height: | Size: 354 B |
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2002, 2010 Rational Software Corporation and others.
|
||||
* Copyright (c) 2002, 2011 Rational Software 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
|
||||
|
@ -71,7 +71,34 @@ public class ManagedBuilderUIImages {
|
|||
public static final ImageDescriptor DESC_EDITABLE = createManaged(T_OBJ, IMG_EDITABLE);
|
||||
public static final String IMG_BUILT_IN = NAME_PREFIX + "built_in.gif"; //$NON-NLS-1$
|
||||
public static final ImageDescriptor DESC_BUILT_IN = createManaged(T_OBJ, IMG_BUILT_IN);
|
||||
|
||||
|
||||
// refresh policy tab
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final String IMG_FILE_OBJ = NAME_PREFIX + "file_obj.gif"; //$NON-NLS-1$
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final ImageDescriptor DESC_FILE_OBJ = createManaged(T_OBJ, IMG_FILE_OBJ);
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final String IMG_TEXTFILE_OBJ = NAME_PREFIX + "textfile_obj.gif"; //$NON-NLS-1$
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final ImageDescriptor DESC_TEXTFILE_OBJ = createManaged(T_OBJ, IMG_TEXTFILE_OBJ);
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final String IMG_FILE_FOLDER_OBJ = NAME_PREFIX + "fileFolder_obj.gif"; //$NON-NLS-1$
|
||||
/**
|
||||
* @since 8.0
|
||||
*/
|
||||
public static final ImageDescriptor DESC_FILE_FOLDER_OBJ = createManaged(T_OBJ, IMG_FILE_FOLDER_OBJ);
|
||||
|
||||
|
||||
private static ImageDescriptor createManaged(String prefix, String name) {
|
||||
return createManaged(imageRegistry, prefix, name);
|
||||
}
|
||||
|
|
|
@ -61,6 +61,12 @@ public abstract class RefreshExclusionContributor {
|
|||
}
|
||||
|
||||
abstract public RefreshExclusion createExclusion();
|
||||
|
||||
/**
|
||||
* Creates the UI that allows user to modify the given RefreshExclusion
|
||||
* @param parent - the parent composite to contain the UI
|
||||
* @param exclusion - the RefreshExclusion to be modified
|
||||
*/
|
||||
abstract public void createProperiesUI(Composite parent, RefreshExclusion exclusion);
|
||||
abstract public RefreshExclusion createExclusionFromXML(Element exclusionElement);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue