iwrappedresource.java
来自「Python Development Environment (Python I」· Java 代码 · 共 39 行
JAVA
39 行
package org.python.pydev.navigator.elements;
import org.eclipse.core.runtime.IAdaptable;
/**
* Interface for a child resource (a resource that has a parent)
*
* @author fabioz
*/
public interface IWrappedResource extends IAdaptable {
int RANK_SOURCE_FOLDER = 0;
int RANK_PYTHON_FOLDER = 1;
int RANK_PYTHON_FILE = 2;
int RANK_PYTHON_RESOURCE = 3;
int RANK_PYTHON_NODE = 4;
/**
* @return the parent for this resource
*/
Object getParentElement();
/**
* @return the actual object we are wrapping here
*/
Object getActualObject();
/**
* @return the source folder that contains this resource
*/
PythonSourceFolder getSourceFolder();
/**
* @return the ranking for the object. Lower values have higher priorities
*/
int getRank();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?