1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

[209593] [api] add support for "file permissions" and "owner" properties for unix files

note, property constants and resources for files are in ui right now - need to move these to files.ui
This commit is contained in:
David McKnight 2008-01-16 18:38:15 +00:00
parent 6cd50c21dd
commit 1715294582
3 changed files with 26 additions and 3 deletions

View file

@ -12,7 +12,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.internal.ui.view; package org.eclipse.rse.internal.ui.view;
@ -171,6 +171,15 @@ public class SystemViewResources extends NLS {
public static String RESID_PROPERTY_FILE_EXTENSION_LABEL; public static String RESID_PROPERTY_FILE_EXTENSION_LABEL;
public static String RESID_PROPERTY_FILE_EXTENSION_TOOLTIP; public static String RESID_PROPERTY_FILE_EXTENSION_TOOLTIP;
public static String RESID_PROPERTY_FILE_PERMISSIONS_LABEL;
public static String RESID_PROPERTY_FILE_PERMISSIONS_TOOLTIP;
public static String RESID_PROPERTY_FILE_OWNER_LABEL;
public static String RESID_PROPERTY_FILE_OWNER_TOOLTIP;
public static String RESID_PROPERTY_FILE_GROUP_LABEL;
public static String RESID_PROPERTY_FILE_GROUP_TOOLTIP;
public static String RESID_PROPERTY_FILE_CLASSIFICATION_LABEL; public static String RESID_PROPERTY_FILE_CLASSIFICATION_LABEL;
public static String RESID_PROPERTY_FILE_CLASSIFICATION_TOOLTIP; public static String RESID_PROPERTY_FILE_CLASSIFICATION_TOOLTIP;

View file

@ -12,7 +12,7 @@
# Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. # Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
# #
# Contributors: # Contributors:
# {Name} (company) - description of contribution. # David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
############################################################################### ###############################################################################
# NLS_MESSAGEFORMAT_VAR # NLS_MESSAGEFORMAT_VAR
@ -137,6 +137,13 @@ RESID_PROPERTY_FILE_CLASSIFICATION_TOOLTIP=Classification path of this file
RESID_PROPERTY_FILE_EXTENSION_LABEL=Extension RESID_PROPERTY_FILE_EXTENSION_LABEL=Extension
RESID_PROPERTY_FILE_EXTENSION_TOOLTIP=Extension of this file RESID_PROPERTY_FILE_EXTENSION_TOOLTIP=Extension of this file
RESID_PROPERTY_FILE_PERMISSIONS_LABEL=Permissions
RESID_PROPERTY_FILE_PERMISSIONS_TOOLTIP=The user, group and other permissions of this file
RESID_PROPERTY_FILE_OWNER_LABEL=Owner
RESID_PROPERTY_FILE_OWNER_TOOLTIP=The owner of this file
RESID_PROPERTY_FILE_GROUP_LABEL=Group
RESID_PROPERTY_FILE_GROUP_TOOLTIP=The group of this file
#SEARCH RESULT PROPERTIES #SEARCH RESULT PROPERTIES
RESID_PROPERTY_SEARCH_LINE_LABEL=Line RESID_PROPERTY_SEARCH_LINE_LABEL=Line

View file

@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley. * Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.ui.view; package org.eclipse.rse.ui.view;
@ -61,6 +61,13 @@ public interface ISystemPropertyConstants extends IBasicPropertyConstants
public static final String P_FILE_WRITABLE = P_PREFIX+"file.writable"; //$NON-NLS-1$ public static final String P_FILE_WRITABLE = P_PREFIX+"file.writable"; //$NON-NLS-1$
public static final String P_FILE_HIDDEN = P_PREFIX+"file.hidden"; //$NON-NLS-1$ public static final String P_FILE_HIDDEN = P_PREFIX+"file.hidden"; //$NON-NLS-1$
public static final String P_FILE_PERMISSIONS = P_PREFIX+"file.permissions"; //$NON-NLS-1$
public static final String P_FILE_OWNER = P_PREFIX+"file.owner"; //$NON-NLS-1$
public static final String P_FILE_GROUP = P_PREFIX+"file.group"; //$NON-NLS-1$
// SEARCH LOCATION PROPERTIES // SEARCH LOCATION PROPERTIES
public static final String P_SEARCH_LINE = P_PREFIX+"search.line"; //$NON-NLS-1$ public static final String P_SEARCH_LINE = P_PREFIX+"search.line"; //$NON-NLS-1$
//public static final String P_SEARCH_CHAR_END = P_PREFIX+"search.char.end"; //public static final String P_SEARCH_CHAR_END = P_PREFIX+"search.char.end";