diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui')
10 files changed, 179 insertions, 41 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml index e5325aa3d..3ba90eb79 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/plugin.xml @@ -1669,6 +1669,16 @@ <adapter type="org.eclipse.tcf.te.ui.views.interfaces.handler.IDeleteHandlerDelegate"> </adapter> + <adapter + type="org.eclipse.ui.IPersistableElement"> + </adapter> + </factory> + <factory + adaptableType="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel" + class="org.eclipse.tcf.te.tcf.filesystem.ui.internal.adapters.ViewerInputAdapterFactory"> + <adapter + type="org.eclipse.tcf.te.core.interfaces.IViewerInput"> + </adapter> </factory> </extension> @@ -1863,16 +1873,6 @@ </filterContribution> </extension> <extension - point="org.eclipse.core.runtime.adapters"> - <factory - adaptableType="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel" - class="org.eclipse.tcf.te.tcf.filesystem.ui.internal.adapters.ViewerInputAdapterFactory"> - <adapter - type="org.eclipse.tcf.te.core.interfaces.IViewerInput"> - </adapter> - </factory> - </extension> - <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs"> <propertyTabs contributorId="org.eclipse.tcf.te.ui"> @@ -1951,5 +1951,12 @@ tab="org.eclipse.tcf.te.tcf.filesystem.propertytab.advanced"> </propertySection> </propertySections> + </extension> + <extension + point="org.eclipse.ui.elementFactories"> + <factory + class="org.eclipse.tcf.te.tcf.filesystem.ui.internal.adapters.FSTreeNodeFactory" + id="org.eclipse.tcf.te.tcf.filesystem.ui.nodeFactory"> + </factory> </extension> </plugin> diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/activator/UIPlugin.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/activator/UIPlugin.java index 7cbb8ca07..38fd4514b 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/activator/UIPlugin.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/activator/UIPlugin.java @@ -20,11 +20,11 @@ import org.eclipse.jface.resource.ImageDescriptor; import org.eclipse.jface.resource.ImageRegistry; import org.eclipse.swt.SWTException; import org.eclipse.swt.graphics.Image; +import org.eclipse.tcf.te.tcf.filesystem.ui.interfaces.preferences.IPreferenceKeys; import org.eclipse.tcf.te.tcf.filesystem.ui.internal.ImageConsts; import org.eclipse.tcf.te.tcf.filesystem.ui.internal.autosave.SaveAllListener; import org.eclipse.tcf.te.tcf.filesystem.ui.internal.autosave.SaveListener; import org.eclipse.tcf.te.tcf.filesystem.ui.internal.operations.FsClipboard; -import org.eclipse.tcf.te.tcf.filesystem.ui.internal.preferences.PreferencePage; import org.eclipse.tcf.te.ui.jface.images.AbstractImageDescriptor; import org.eclipse.ui.IWorkbenchCommandConstants; import org.eclipse.ui.PlatformUI; @@ -35,7 +35,7 @@ import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ -public class UIPlugin extends AbstractUIPlugin { +public class UIPlugin extends AbstractUIPlugin implements IPreferenceKeys { // The shared instance of this plug-in. private static UIPlugin plugin; // The listener which listens to command "SAVE" and synchronize the local file with the target. @@ -201,10 +201,21 @@ public class UIPlugin extends AbstractUIPlugin { */ public static boolean isAutoSaving() { IPreferenceStore preferenceStore = getDefault().getPreferenceStore(); - boolean autoSaving = preferenceStore.getBoolean(PreferencePage.PREF_AUTOSAVING); + boolean autoSaving = preferenceStore.getBoolean(PREF_AUTOSAVING); return autoSaving; } - + + /** + * If the option of "expanded_persisted" is set to on. + * + * @return true if the expanded state should be persisted or else false. + */ + public static boolean isExpandedPersisted() { + IPreferenceStore preferenceStore = getDefault().getPreferenceStore(); + boolean persisted = preferenceStore.getBoolean(PREF_EXPANDED_PERSISTED); + return persisted; + } + /** * If the option of "in-place editor" is set to on. * @@ -212,7 +223,7 @@ public class UIPlugin extends AbstractUIPlugin { */ public static boolean isInPlaceEditor() { IPreferenceStore preferenceStore = getDefault().getPreferenceStore(); - boolean inPlaceEditor = preferenceStore.getBoolean(PreferencePage.PREF_RENAMING_IN_PLACE_EDITOR); + boolean inPlaceEditor = preferenceStore.getBoolean(PREF_RENAMING_IN_PLACE_EDITOR); return inPlaceEditor; } @@ -223,7 +234,7 @@ public class UIPlugin extends AbstractUIPlugin { */ public static boolean isCopyPermission() { IPreferenceStore preferenceStore = getDefault().getPreferenceStore(); - boolean copyPermission = preferenceStore.getBoolean(PreferencePage.PREF_COPY_PERMISSION); + boolean copyPermission = preferenceStore.getBoolean(PREF_COPY_PERMISSION); return copyPermission; } @@ -234,7 +245,7 @@ public class UIPlugin extends AbstractUIPlugin { */ public static boolean isCopyOwnership() { IPreferenceStore preferenceStore = getDefault().getPreferenceStore(); - boolean copyOwnership = preferenceStore.getBoolean(PreferencePage.PREF_COPY_OWNERSHIP); + boolean copyOwnership = preferenceStore.getBoolean(PREF_COPY_OWNERSHIP); return copyOwnership; } } diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/interfaces/preferences/IPreferenceKeys.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/interfaces/preferences/IPreferenceKeys.java index 69792d607..0a26c18ec 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/interfaces/preferences/IPreferenceKeys.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/interfaces/preferences/IPreferenceKeys.java @@ -23,4 +23,24 @@ public interface IPreferenceKeys { * explorer details editor will be activated and visible to the user. */ public final String PREF_FEATURE_ENABLE_EDITOR_CONTENT_CONTRIBUTION = PREFIX + "feature.editor.content.enable"; //$NON-NLS-1$ + // The preference key to access the option of auto saving + public static final String PREF_AUTOSAVING = "PrefAutoSaving"; //$NON-NLS-1$ + // The default value of the option of auto saving. + public static final boolean DEFAULT_AUTOSAVING = true; + // The preference key to access the option using in-place editor during renaming. + public static final String PREF_RENAMING_IN_PLACE_EDITOR = "PrefRenamingInPlaceEditor"; //$NON-NLS-1$ + // The default value of the option using in-place editor during renaming. + public static final boolean DEFAULT_RENAMING_IN_PLACE_EDITOR = true; + // The preference key to access the option of copy permission when copying files. + public static final String PREF_COPY_PERMISSION = "PrefCopyPermission"; //$NON-NLS-1$ + // The default value of the option of copy permission. + public static final boolean DEFAULT_COPY_PERMISSION = true; + // The preference key to access the option of copy ownership when copying files. + public static final String PREF_COPY_OWNERSHIP = "PrefCopyOwnership"; //$NON-NLS-1$ + // The default value of the option of copy ownership + public static final boolean DEFAULT_COPY_OWNERSHIP = true; + // The preference key to access the option that if expanded nodes should be persisted + public static final String PREF_EXPANDED_PERSISTED = "PrefExpandedPersisted"; //$NON-NLS-1$ + // The default value of the option that if expanded nodes should be persisted + public static final boolean DEFAULT_EXPANDED_PERSISTED = true; } diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeAdapterFactory.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeAdapterFactory.java index a498c8357..7b53d0681 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeAdapterFactory.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeAdapterFactory.java @@ -17,10 +17,12 @@ import java.util.Map; import org.eclipse.core.runtime.IAdapterFactory;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode;
+import org.eclipse.tcf.te.tcf.filesystem.ui.activator.UIPlugin;
import org.eclipse.tcf.te.tcf.filesystem.ui.internal.columns.FSTreeElementLabelProvider;
import org.eclipse.tcf.te.ui.views.interfaces.handler.IDeleteHandlerDelegate;
import org.eclipse.tcf.te.ui.views.interfaces.handler.IRefreshHandlerDelegate;
import org.eclipse.ui.IActionFilter;
+import org.eclipse.ui.IPersistableElement;
/**
* The adapter factory of <code>FSTreeNode</code> over <code>IActionFilter</code>
@@ -45,8 +47,8 @@ public class FSTreeNodeAdapterFactory implements IAdapterFactory { @Override
public Object getAdapter(Object adaptableObject, Class adapterType) {
if(adaptableObject instanceof FSTreeNode) {
+ FSTreeNode node = (FSTreeNode) adaptableObject;
if(adapterType == IActionFilter.class) {
- FSTreeNode node = (FSTreeNode) adaptableObject;
NodeStateFilter filter = filters.get(node);
if(filter == null){
filter = new NodeStateFilter(node);
@@ -63,6 +65,9 @@ public class FSTreeNodeAdapterFactory implements IAdapterFactory { else if(adapterType == IDeleteHandlerDelegate.class) {
return deleteDelegate;
}
+ else if(adapterType == IPersistableElement.class && UIPlugin.isExpandedPersisted()) {
+ return new PersistableNode(node);
+ }
}
return null;
}
@@ -72,6 +77,6 @@ public class FSTreeNodeAdapterFactory implements IAdapterFactory { */
@Override
public Class[] getAdapterList() {
- return new Class[] { IActionFilter.class, ILabelProvider.class, IRefreshHandlerDelegate.class, IDeleteHandlerDelegate.class };
+ return new Class[] { IActionFilter.class, ILabelProvider.class, IRefreshHandlerDelegate.class, IDeleteHandlerDelegate.class, IPersistableElement.class };
}
}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeFactory.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeFactory.java new file mode 100644 index 000000000..2786d555d --- /dev/null +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/FSTreeNodeFactory.java @@ -0,0 +1,53 @@ +/*******************************************************************************
+ * Copyright (c) 2012 Wind River Systems, Inc. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.filesystem.ui.internal.adapters;
+
+import java.util.Map;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.tcf.te.tcf.filesystem.core.internal.operations.IOpExecutor;
+import org.eclipse.tcf.te.tcf.filesystem.core.internal.operations.NullOpExecutor;
+import org.eclipse.tcf.te.tcf.filesystem.core.internal.operations.OpParsePath;
+import org.eclipse.tcf.te.tcf.filesystem.core.model.FSModel;
+import org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel;
+import org.eclipse.tcf.te.tcf.locator.model.Model;
+import org.eclipse.ui.IElementFactory;
+import org.eclipse.ui.IMemento;
+
+/**
+ * The element factory for FSTreeNode used to restore FSTreeNodes persisted
+ * for expanded states.
+ */
+public class FSTreeNodeFactory implements IElementFactory {
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.IElementFactory#createElement(org.eclipse.ui.IMemento)
+ */
+ @Override
+ public IAdaptable createElement(IMemento memento) {
+ String peerId = memento.getString("peerId"); //$NON-NLS-1$
+ Map<String, IPeerModel> peerMap = (Map<String, IPeerModel>) Model.getModel().getAdapter(Map.class);
+ IPeerModel peerModel = peerMap.get(peerId);
+ if(peerModel != null) {
+ String path = memento.getString("path"); //$NON-NLS-1$
+ if(path == null) {
+ return FSModel.getFSModel(peerModel).getRoot();
+ }
+ OpParsePath op = new OpParsePath(peerModel, path);
+ IOpExecutor executor = new NullOpExecutor();
+ IStatus status = executor.execute(op);
+ if(status.isOK()) {
+ return op.getResult();
+ }
+ }
+ return null;
+ }
+}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/PersistableNode.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/PersistableNode.java new file mode 100644 index 000000000..22aa43cd1 --- /dev/null +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/adapters/PersistableNode.java @@ -0,0 +1,52 @@ +/*******************************************************************************
+ * Copyright (c) 2012 Wind River Systems, Inc. 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:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.filesystem.ui.internal.adapters;
+
+import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode;
+import org.eclipse.ui.IMemento;
+import org.eclipse.ui.IPersistableElement;
+
+/**
+ * The adapter class of FSTreeNode for IPersistableElement, used to
+ * persist an FSTreeNode.
+ */
+public class PersistableNode implements IPersistableElement {
+ // The node to be persisted.
+ private FSTreeNode node;
+ /**
+ * Create an instance.
+ *
+ * @param node The node to be persisted.
+ */
+ public PersistableNode(FSTreeNode node) {
+ this.node = node;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.IPersistable#saveState(org.eclipse.ui.IMemento)
+ */
+ @Override
+ public void saveState(IMemento memento) {
+ memento.putString("peerId", node.peerNode.getPeerId()); //$NON-NLS-1$
+ String path = null;
+ if (!node.isSystemRoot()) path = node.getLocation();
+ if (path != null) memento.putString("path", path); //$NON-NLS-1$
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.IPersistableElement#getFactoryId()
+ */
+ @Override
+ public String getFactoryId() {
+ return "org.eclipse.tcf.te.tcf.filesystem.ui.nodeFactory"; //$NON-NLS-1$
+ }
+}
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencePage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencePage.java index 6206db5e3..9fba52217 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencePage.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencePage.java @@ -14,6 +14,7 @@ import org.eclipse.jface.preference.BooleanFieldEditor; import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.tcf.te.tcf.filesystem.ui.activator.UIPlugin;
+import org.eclipse.tcf.te.tcf.filesystem.ui.interfaces.preferences.IPreferenceKeys;
import org.eclipse.tcf.te.tcf.filesystem.ui.nls.Messages;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
@@ -23,23 +24,7 @@ import org.eclipse.ui.IWorkbenchPreferencePage; * the TCF File System Explorer.
*
*/
-public class PreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
- // The preference key to access the option of auto saving
- public static final String PREF_AUTOSAVING = "PrefAutoSaving"; //$NON-NLS-1$
- // The default value of the option of auto saving.
- public static final boolean DEFAULT_AUTOSAVING = true;
- // The preference key to access the option using in-place editor during renaming.
- public static final String PREF_RENAMING_IN_PLACE_EDITOR = "PrefRenamingInPlaceEditor"; //$NON-NLS-1$
- // The default value of the option using in-place editor during renaming.
- public static final boolean DEFAULT_RENAMING_IN_PLACE_EDITOR = true;
- // The preference key to access the option of copy permission when copying files.
- public static final String PREF_COPY_PERMISSION = "PrefCopyPermission"; //$NON-NLS-1$
- // The default value of the option of copy permission.
- public static final boolean DEFAULT_COPY_PERMISSION = true;
- // The preference key to access the option of copy ownership when copying files.
- public static final String PREF_COPY_OWNERSHIP = "PrefCopyOwnership"; //$NON-NLS-1$
- // The default value of the option of copy ownership
- public static final boolean DEFAULT_COPY_OWNERSHIP = true;
+public class PreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage, IPreferenceKeys {
/***
* Create a preference page for Target Explorer File System Explorer.
@@ -64,6 +49,8 @@ public class PreferencePage extends FieldEditorPreferencePage implements IWorkbe addField(copyPermission);
BooleanFieldEditor copyOwnership = new BooleanFieldEditor(PREF_COPY_OWNERSHIP, Messages.PreferencePage_CopyOwnershipText, getFieldEditorParent());
addField(copyOwnership);
+ BooleanFieldEditor persistExpanded = new BooleanFieldEditor(PREF_EXPANDED_PERSISTED, Messages.PreferencePage_PersistExpanded, getFieldEditorParent());
+ addField(persistExpanded);
}
/* (non-Javadoc)
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencesInitializer.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencesInitializer.java index 935e02b9e..ada956d66 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencesInitializer.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/internal/preferences/PreferencesInitializer.java @@ -20,7 +20,7 @@ import org.eclipse.tcf.te.tcf.filesystem.ui.interfaces.preferences.IPreferenceKe /** * The bundle's preference initializer implementation. */ -public class PreferencesInitializer extends AbstractPreferenceInitializer { +public class PreferencesInitializer extends AbstractPreferenceInitializer implements IPreferenceKeys { /** * Constructor. @@ -41,9 +41,10 @@ public class PreferencesInitializer extends AbstractPreferenceInitializer { prefs.putBoolean(IPreferenceKeys.PREF_FEATURE_ENABLE_EDITOR_CONTENT_CONTRIBUTION, true); } IPreferenceStore preferenceStore = UIPlugin.getDefault().getPreferenceStore(); - preferenceStore.setDefault(PreferencePage.PREF_AUTOSAVING, PreferencePage.DEFAULT_AUTOSAVING); - preferenceStore.setDefault(PreferencePage.PREF_RENAMING_IN_PLACE_EDITOR, PreferencePage.DEFAULT_RENAMING_IN_PLACE_EDITOR); - preferenceStore.setDefault(PreferencePage.PREF_COPY_PERMISSION, PreferencePage.DEFAULT_COPY_PERMISSION); - preferenceStore.setDefault(PreferencePage.PREF_COPY_OWNERSHIP, PreferencePage.DEFAULT_COPY_OWNERSHIP); + preferenceStore.setDefault(PREF_AUTOSAVING, DEFAULT_AUTOSAVING); + preferenceStore.setDefault(PREF_RENAMING_IN_PLACE_EDITOR, DEFAULT_RENAMING_IN_PLACE_EDITOR); + preferenceStore.setDefault(PREF_COPY_PERMISSION, DEFAULT_COPY_PERMISSION); + preferenceStore.setDefault(PREF_COPY_OWNERSHIP, DEFAULT_COPY_OWNERSHIP); + preferenceStore.setDefault(PREF_EXPANDED_PERSISTED, DEFAULT_EXPANDED_PERSISTED); } } diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.java index 8e659d1d6..e91a0cac8 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.java @@ -289,6 +289,7 @@ public class Messages extends NLS { public static String PreferencePage_AutoSavingText; public static String PreferencePage_CopyOwnershipText; public static String PreferencePage_CopyPermissionText; + public static String PreferencePage_PersistExpanded; public static String PreferencePage_RenamingOptionText; public static String TargetSelectionPage_Description; diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.properties b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.properties index e149108a3..20e9f6843 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.properties +++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem.ui/src/org/eclipse/tcf/te/tcf/filesystem/ui/nls/Messages.properties @@ -206,6 +206,7 @@ StateManager_UpdateFailureTitle=Update Failure PreferencePage_AutoSavingText=Automatically upload files to targets upon saving PreferencePage_CopyOwnershipText=Copy source UID and GID when copying files PreferencePage_CopyPermissionText=Copy source permissions when copying files +PreferencePage_PersistExpanded=Remember expanded directories PreferencePage_RenamingOptionText=Use In-place Editor when renaming a file/folder TargetSelectionPage_Description=Please select the target where the new file/folder is created. TargetSelectionPage_Targets=Targets: |