resources.java

来自「AJAX_aptana_update 关于AJAX的Eclipse插件。可以在这」· Java 代码 · 共 83 行

JAVA
83
字号
/** * Copyright (c) 2005-2006 Aptana, Inc. * * 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. If redistributing this code, * this entire header must remain intact. */package org.eclipse.eclipsemonkey.lang.javascript.doms.resources;import org.mozilla.javascript.Scriptable;import org.mozilla.javascript.ScriptableObject;/** *  * @author Paul Colton * */public class Resources extends ScriptableObject{	/*	 * Fields	 */	private static final long serialVersionUID = 5439070601529120100L;		/**	 * 	 */		private org.eclipse.eclipsemonkey.doms.resources.Resources _resources;		/*	 * Properties	 */	/**	 * @see org.mozilla.javascript.ScriptableObject#getClassName()	 */	public String getClassName()	{		return "Resources";	}	/**	 * Constructors	 */	public Resources()	{		System.err.println("Shouldn't be used directly.");	}	/**	 * Create a new instance of Views	 * 	 * @param scope	 */	public Resources(Scriptable scope)	{		this.setParentScope(scope);		_resources = new org.eclipse.eclipsemonkey.doms.resources.Resources();				String[] names = new String[] { 				"filesMatching"				};		this.defineFunctionProperties(names, Resources.class, PERMANENT | READONLY);//		this.defineProperty("all", Resources.class, PERMANENT | READONLY);//		this.defineProperty("activeEditor", Resources.class, PERMANENT | READONLY);	}		/**	 * @param patternString	 * @return filesMatching	 */	public Object[] filesMatching(String patternString)	{		return _resources.filesMatching(patternString);	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?