|
From: <caw...@us...> - 2007-09-12 20:07:01
|
Revision: 3161
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=3161&view=rev
Author: cawilliams
Date: 2007-09-12 13:06:58 -0700 (Wed, 12 Sep 2007)
Log Message:
-----------
port some of teh javaElementFilters for JDT's PackageExplorer over to RDT's rubyElementFilters for RubyExplorer
Modified Paths:
--------------
trunk/org.rubypeople.rdt.ui/META-INF/MANIFEST.MF
trunk/org.rubypeople.rdt.ui/plugin.xml
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FilterDescriptor.java
Added Paths:
-----------
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ClosedProjectFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FieldsFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ImportDeclarationFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonPublicFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyElementFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyProjectsFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonSharedProjectFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/RubyFileFilter.java
trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/StaticsFilter.java
Modified: trunk/org.rubypeople.rdt.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/org.rubypeople.rdt.ui/META-INF/MANIFEST.MF 2007-09-12 19:50:25 UTC (rev 3160)
+++ trunk/org.rubypeople.rdt.ui/META-INF/MANIFEST.MF 2007-09-12 20:06:58 UTC (rev 3161)
@@ -64,6 +64,7 @@
org.eclipse.ltk.core.refactoring,
com.ibm.icu,
com.aptana.rdt,
- org.eclipse.debug.core
+ org.eclipse.debug.core,
+ org.eclipse.team.core
Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Modified: trunk/org.rubypeople.rdt.ui/plugin.xml
===================================================================
--- trunk/org.rubypeople.rdt.ui/plugin.xml 2007-09-12 19:50:25 UTC (rev 3160)
+++ trunk/org.rubypeople.rdt.ui/plugin.xml 2007-09-12 20:06:58 UTC (rev 3161)
@@ -1560,5 +1560,100 @@
id="org.rubypeople.rdt.internal.ui.text.spelling.DefaultSpellingEngine">
</engine>
</extension>
+
+<!-- =========================================================================== -->
+<!-- Filter Support -->
+<!-- =========================================================================== -->
+ <extension
+ point="org.rubypeople.rdt.ui.rubyElementFilters">
+<!-- Ruby Explorer -->
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideSystemFiles.label"
+ enabled="true"
+ description="%HideSystemFiles.description"
+ pattern=".*">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideNonRubyElements.label"
+ enabled="false"
+ description="%HideNonRubyElements.description"
+ class="org.rubypeople.rdt.internal.ui.filters.NonRubyElementFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.NonRubyElementFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideReferencedLibraries.label"
+ enabled="false"
+ description="%HideReferencedLibraries.description"
+ class="org.rubypeople.rdt.internal.ui.filters.LibraryFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.LibraryFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideRubyFiles.label"
+ enabled="false"
+ description="%HideRubyFiles.description"
+ class="org.rubypeople.rdt.internal.ui.filters.RubyFileFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.RubyFileFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideImportDeclaration.label"
+ enabled="true"
+ description="%HideImportDeclaration.description"
+ class="org.rubypeople.rdt.internal.ui.filters.ImportDeclarationFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.ImportDeclarationFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideNonRubyProjects.label"
+ enabled="false"
+ description="%HideNonRubyProjects.description"
+ class="org.rubypeople.rdt.internal.ui.filters.NonRubyProjectsFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.NonRubyProjectsFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideNonSharedProjects.label"
+ enabled="false"
+ description="%HideNonSharedProjects.description"
+ class="org.rubypeople.rdt.internal.ui.filters.NonSharedProjectFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.NonSharedProjectsFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideClosedProjects.label"
+ enabled="false"
+ description="%HideClosedProjects.description"
+ class="org.rubypeople.rdt.internal.ui.filters.ClosedProjectFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.ClosedProjectsFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideFields.label"
+ enabled="false"
+ description="%HideFields.description"
+ class="org.rubypeople.rdt.internal.ui.filters.FieldsFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.FieldsFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideStatics.label"
+ enabled="false"
+ description="%HideStatics.description"
+ class="org.rubypeople.rdt.internal.ui.filters.StaticsFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.StaticsFilter">
+ </filter>
+ <filter
+ targetId="org.rubypeople.rdt.ui.RubyExplorer"
+ name="%HideNonPublic.label"
+ enabled="false"
+ description="%HideNonPublic.description"
+ class="org.rubypeople.rdt.internal.ui.filters.NonPublicFilter"
+ id="org.rubypeople.rdt.ui.RubyExplorer.NonPublicFilter">
+ </filter>
+ </extension>
</plugin>
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ClosedProjectFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ClosedProjectFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ClosedProjectFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+
+import org.eclipse.core.resources.IResource;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.rubypeople.rdt.core.IRubyElement;
+
+/**
+ * Filters closed projects
+ */
+public class ClosedProjectFilter extends ViewerFilter {
+
+ /*
+ * @see ViewerFilter
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ if (element instanceof IRubyElement)
+ return ((IRubyElement)element).getRubyProject().getProject().isOpen();
+ if (element instanceof IResource)
+ return ((IResource)element).getProject().isOpen();
+ return true;
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ClosedProjectFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FieldsFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FieldsFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FieldsFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+package org.rubypeople.rdt.internal.ui.filters;
+
+import org.rubypeople.rdt.internal.ui.viewsupport.MemberFilter;
+
+/**
+ * Fields filter.
+ *
+ * @since 3.0
+ */
+public class FieldsFilter extends MemberFilter {
+ public FieldsFilter() {
+ addFilter(MemberFilter.FILTER_FIELDS);
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FieldsFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Modified: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FilterDescriptor.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FilterDescriptor.java 2007-09-12 19:50:25 UTC (rev 3160)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/FilterDescriptor.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -30,7 +30,7 @@
/**
* Represents a custom filter which is provided by the
- * "org.eclipse.jdt.ui.javaElementFilters" extension point.
+ * "org.rubypeople.rdt.ui.rubyElementFilters" extension point.
*
* since 2.0
*/
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ImportDeclarationFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ImportDeclarationFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ImportDeclarationFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.rubypeople.rdt.core.IImportContainer;
+import org.rubypeople.rdt.core.IImportDeclaration;
+
+
+/**
+ * Filters import declarations
+ */
+public class ImportDeclarationFilter extends ViewerFilter {
+
+ /*
+ * @see ViewerFilter
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ return !((element instanceof IImportContainer) || (element instanceof IImportDeclaration));
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/ImportDeclarationFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonPublicFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonPublicFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonPublicFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+package org.rubypeople.rdt.internal.ui.filters;
+
+import org.rubypeople.rdt.internal.ui.viewsupport.MemberFilter;
+
+/**
+ * Non-public member filter.
+ *
+ * @since 3.0
+ */
+public class NonPublicFilter extends MemberFilter {
+ public NonPublicFilter() {
+ addFilter(MemberFilter.FILTER_NONPUBLIC);
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonPublicFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyElementFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyElementFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyElementFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,47 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IStorage;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.rubypeople.rdt.core.IRubyElement;
+
+
+/**
+ * Filters out all non-Ruby elements.
+ */
+public class NonRubyElementFilter extends ViewerFilter {
+
+ /**
+ * Returns the result of this filter, when applied to the
+ * given inputs.
+ *
+ * @return Returns true if element should be included in filtered set
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ if (element instanceof IRubyElement)
+ return true;
+
+ if (element instanceof IResource) {
+ IProject project= ((IResource)element).getProject();
+ return project == null || !project.isOpen();
+ }
+
+ // Exclude all IStorage elements which are neither Ruby elements nor resources
+ if (element instanceof IStorage)
+ return false;
+
+ return true;
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyElementFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyProjectsFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyProjectsFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyProjectsFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.rubypeople.rdt.core.IRubyProject;
+
+/**
+ * Filters non-ruby projects
+ */
+public class NonRubyProjectsFilter extends ViewerFilter {
+
+ /*
+ * @see ViewerFilter
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ if (element instanceof IRubyProject)
+ return true;
+ else if (element instanceof IProject)
+ return !((IProject)element).isOpen();
+
+ return true;
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonRubyProjectsFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonSharedProjectFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonSharedProjectFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonSharedProjectFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,44 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.eclipse.team.core.RepositoryProvider;
+import org.rubypeople.rdt.core.IRubyProject;
+
+/**
+ * Filters non-shared projects and Ruby projects. Non-shared projects are
+ * projects that are not controlled by a team provider.
+ *
+ * @since 2.1
+ */
+public class NonSharedProjectFilter extends ViewerFilter {
+
+ /*
+ * @see ViewerFilter
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ if (element instanceof IProject)
+ return isSharedProject((IProject)element);
+
+ if (element instanceof IRubyProject)
+ return isSharedProject(((IRubyProject)element).getProject());
+
+ return true;
+ }
+
+ private boolean isSharedProject(IProject project) {
+ return !project.isAccessible() || RepositoryProvider.isShared(project);
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/NonSharedProjectFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/RubyFileFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/RubyFileFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/RubyFileFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,43 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.rubypeople.rdt.internal.ui.filters;
+
+import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.jface.viewers.ViewerFilter;
+import org.rubypeople.rdt.core.IRubyScript;
+import org.rubypeople.rdt.core.ISourceFolder;
+import org.rubypeople.rdt.core.RubyModelException;
+
+
+/**
+ * Filters out all ruby scripts.
+ */
+public class RubyFileFilter extends ViewerFilter {
+
+ /**
+ * Returns the result of this filter, when applied to the
+ * given inputs.
+ *
+ * @return Returns true if element should be included in filtered set
+ */
+ public boolean select(Viewer viewer, Object parent, Object element) {
+ if (element instanceof IRubyScript)
+ return false;
+
+ if (element instanceof ISourceFolder)
+ try {
+ return ((ISourceFolder)element).getNonRubyResources().length > 0;
+ } catch (RubyModelException ex) {
+ return true;
+ }
+ return true;
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/RubyFileFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/StaticsFilter.java
===================================================================
--- trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/StaticsFilter.java (rev 0)
+++ trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/StaticsFilter.java 2007-09-12 20:06:58 UTC (rev 3161)
@@ -0,0 +1,25 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+
+package org.rubypeople.rdt.internal.ui.filters;
+
+import org.rubypeople.rdt.internal.ui.viewsupport.MemberFilter;
+
+/**
+ * Statics filter.
+ *
+ * @since 3.0
+ */
+public class StaticsFilter extends MemberFilter {
+ public StaticsFilter() {
+ addFilter(MemberFilter.FILTER_STATIC);
+ }
+}
Property changes on: trunk/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/filters/StaticsFilter.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|