Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2011-12-15 07:46:09 -0500
committerUwe Stieber2011-12-15 07:49:30 -0500
commit94ae86e98b3d3e4e4d2baf73dd7c6ad35dcfd555 (patch)
treef712c9b2e0cda130f31c277e9288350b2e47f37c
parent7ec22f49a2a367c2fffe797c0f9d29ce87d38cf1 (diff)
downloadorg.eclipse.tcf-94ae86e98b3d3e4e4d2baf73dd7c6ad35dcfd555.tar.gz
org.eclipse.tcf-94ae86e98b3d3e4e4d2baf73dd7c6ad35dcfd555.tar.xz
org.eclipse.tcf-94ae86e98b3d3e4e4d2baf73dd7c6ad35dcfd555.zip
Target Explorer: Fix some warnings
-rw-r--r--.gitignore2
-rw-r--r--pom.xml1
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetPatternFilter.java5
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetSelectionPage.java19
4 files changed, 14 insertions, 13 deletions
diff --git a/.gitignore b/.gitignore
index 0bdcbaaac..6e94176e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -104,6 +104,8 @@ plugins/org.eclipse.tcf.rse/bin
/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/bin
/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.console/target
/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.console/bin
+/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/target
+/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views/bin
/target_explorer/plugins/org.eclipse.tcf.te.tests/target
/target_explorer/plugins/org.eclipse.tcf.te.tests/bin
/target_explorer/plugins/org.eclipse.tcf.te.ui/target
diff --git a/pom.xml b/pom.xml
index 1a95908ab..5c58f0e3a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -80,6 +80,7 @@
<module>target_explorer/plugins/org.eclipse.tcf.te.tcf.terminals.ui</module>
<module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui</module>
<module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.console</module>
+ <module>target_explorer/plugins/org.eclipse.tcf.te.tcf.ui.views</module>
<module>target_explorer/features/org.eclipse.tcf.te.feature</module>
<module>target_explorer/features/org.eclipse.tcf.te.sdk.feature</module>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetPatternFilter.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetPatternFilter.java
index 269ff4192..ed16bf508 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetPatternFilter.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetPatternFilter.java
@@ -10,14 +10,13 @@ import org.eclipse.ui.dialogs.PatternFilter;
* string and keywords
* <p>
* This class is copied and adapted from <code>org.eclipse.ui.internal.dialogs.WizardPatternFilter</code>.
- *
+ *
* @since 3.8
*/
-@SuppressWarnings("restriction")
public class TargetPatternFilter extends PatternFilter {
private LabelProvider targetLabelProvider = new LabelProvider();
/**
- * Create a new instance of a WizardPatternFilter
+ * Create a new instance of a WizardPatternFilter
* @param isMatchItem
*/
public TargetPatternFilter() {
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetSelectionPage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetSelectionPage.java
index 504d2ad59..63e333f2b 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetSelectionPage.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.filesystem/src/org/eclipse/tcf/te/tcf/filesystem/internal/wizards/TargetSelectionPage.java
@@ -46,10 +46,9 @@ import org.eclipse.ui.dialogs.PatternFilter;
* The New Target creation wizard selection page implementation.
* <p>
* This class is copied and adapted from <code>org.eclipse.tcf.te.ui.wizards.newWizard.NewWizardSelectionPage</code>.
- *
- * @since 3.8
+ *
+ * @since 3.8
*/
-@SuppressWarnings("restriction")
public class TargetSelectionPage extends AbstractValidatableWizardPage {
// References to the page subcontrol's
private FilteredTree filteredTree;
@@ -82,7 +81,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
/**
* Constructor.
- *
+ *
* @param wizardRegistry The new target wizard registry. Must not be <code>null</code>.
*/
public TargetSelectionPage() {
@@ -97,7 +96,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
}
/**
* Returns the default page title.
- *
+ *
* @return The default page title. Must be never <code>null</code>.
*/
protected String getDefaultTitle() {
@@ -106,7 +105,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
/**
* Returns the default page description.
- *
+ *
* @return The default page description. Must be never <code>null</code>.
*/
protected String getDefaultDescription() {
@@ -198,7 +197,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
// Initialize the context help id
PlatformUI.getWorkbench().getHelpSystem()
.setHelp(getControl(), IUIConstants.HELP_NEW_WIZARD_SELECTION_PAGE);
-
+
setPageComplete(peer != null);
}
@@ -224,7 +223,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
/**
* Initialize the page with the current workbench instance and the current workbench selection.
- *
+ *
* @param workbench The current workbench.
* @param selection The current object selection.
*/
@@ -235,7 +234,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
/**
* Returns the current workbench.
- *
+ *
* @return The current workbench or <code>null</code> if not set.
*/
public IWorkbench getWorkbench() {
@@ -244,7 +243,7 @@ public class TargetSelectionPage extends AbstractValidatableWizardPage {
/**
* Returns the current object selection.
- *
+ *
* @return The current object selection or <code>null</code> if not set.
*/
public IStructuredSelection getSelection() {

Back to the top