classlisthistoryitem.java

来自「Semantic Web Ontology Editor」· Java 代码 · 共 40 行

JAVA
40
字号
/*
 * Created on Nov 13, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.mindswap.swoop.utils.graph.hierarchy.classlist;

import javax.swing.ListModel;

import org.mindswap.swoop.utils.graph.hierarchy.OntologyWithClassHierarchyGraph;

/**
 * @author Dave Wang
 *
 *  Represents an abstract list item on the class list seen in MotherShip
 * 
 */
public abstract class ClassListHistoryItem
{	
	protected ListModel myModel     = null;
	protected String    myLabel = null;
	protected OntologyWithClassHierarchyGraph myGraph = null;
	
	public ClassListHistoryItem( OntologyWithClassHierarchyGraph graph, ListModel model, String label)
	{
		myModel = model;
		myLabel = label;
		myGraph = graph;
	}
	
	public String getLabel()
	{ return myLabel; }
	
	public ListModel getModel()
	{ return myModel; }
	
	abstract public void executeLoadHistory();
	
}

⌨️ 快捷键说明

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