mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 19:23:38 +02:00
[267061] resource dialog/form to allow custom host combo label
This commit is contained in:
parent
5ef3cd1a6b
commit
84ce2fdee3
2 changed files with 23 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/********************************************************************************
|
/********************************************************************************
|
||||||
* Copyright (c) 2006, 2008 IBM Corporation and others. All rights reserved.
|
* Copyright (c) 2006, 2009 IBM Corporation and others. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
||||||
* David Dykstal (IBM) - [232130] meaningless label provided for filter references
|
* David Dykstal (IBM) - [232130] meaningless label provided for filter references
|
||||||
* David McKnight (IBM) - [244430] [regression] Incorrect behaviour for SystemSelectRemoteFolderAction
|
* David McKnight (IBM) - [244430] [regression] Incorrect behaviour for SystemSelectRemoteFolderAction
|
||||||
|
* David McKnight (IBM) - [267061] resource dialog/form to allow custom host combo label
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -643,4 +644,12 @@ public class SystemResourceSelectionForm implements ISelectionChangedListener
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the label for the connection combo in the form
|
||||||
|
*/
|
||||||
|
public void setConnectionComboLabel(String label)
|
||||||
|
{
|
||||||
|
_connectionCombo.setLabel(label);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -17,6 +17,7 @@
|
||||||
* Kevin Doyle (IBM) - [198114] Allowed to move file into existing folder/archive on first attempt
|
* Kevin Doyle (IBM) - [198114] Allowed to move file into existing folder/archive on first attempt
|
||||||
* Xuan Chen (IBM) - [220999] [api] Need to change class SystemSelectRemoteFileAction to use SystemRemoteFileDialog
|
* Xuan Chen (IBM) - [220999] [api] Need to change class SystemSelectRemoteFileAction to use SystemRemoteFileDialog
|
||||||
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
* David McKnight (IBM) - [225506] [api][breaking] RSE UI leaks non-API types
|
||||||
|
* David McKnight (IBM) - [267061] resource dialog/form to allow custom host combo label
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.ui.dialogs;
|
package org.eclipse.rse.ui.dialogs;
|
||||||
|
@ -36,7 +37,9 @@ import org.eclipse.swt.widgets.Shell;
|
||||||
|
|
||||||
public abstract class SystemRemoteResourceDialog extends SystemPromptDialog
|
public abstract class SystemRemoteResourceDialog extends SystemPromptDialog
|
||||||
{
|
{
|
||||||
|
|
||||||
private SystemResourceSelectionForm _form;
|
private SystemResourceSelectionForm _form;
|
||||||
|
|
||||||
private ISystemResourceSelectionInputProvider _inputProvider;
|
private ISystemResourceSelectionInputProvider _inputProvider;
|
||||||
private Object _preSelection;
|
private Object _preSelection;
|
||||||
private IValidatorRemoteSelection _selectionValidator;
|
private IValidatorRemoteSelection _selectionValidator;
|
||||||
|
@ -305,6 +308,16 @@ public abstract class SystemRemoteResourceDialog extends SystemPromptDialog
|
||||||
return _form.isPageComplete();
|
return _form.isPageComplete();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the label for the connection combo in the form
|
||||||
|
*
|
||||||
|
* @since 3.1
|
||||||
|
*/
|
||||||
|
public void setConnectionComboLabel(String label){
|
||||||
|
_form.setConnectionComboLabel(label);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public abstract SystemActionViewerFilter getViewerFilter();
|
public abstract SystemActionViewerFilter getViewerFilter();
|
||||||
public abstract String getVerbiage();
|
public abstract String getVerbiage();
|
||||||
public abstract String getTreeTip();
|
public abstract String getTreeTip();
|
||||||
|
|
Loading…
Add table
Reference in a new issue