📄 projectchange.java
字号:
/** * ProjectChange.java * Copyright 2005 Carlos Silva A. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */package jgantt.model;/** * ProjectChange * * <p>$Date: 2004/04/25 03:00:08 $</p> * @version $Revision: 1.2 $ * @author Carlos Silva */public class ProjectChange extends Change { public static final int TASK_ADDED = 1; public static final int TASK_MODIFIED = 2; public static final int TASK_REMOVED = 3; public static final int STRUCTURE = 4; // mover, desenlazar, constraints public static final int SNAPSHOT_ADDED = 5; public static final int SNAPSHOT_REMOVED = 6; public static final int FORCED_CHANGE = 7; public static final int START_DATE= 8; public static final int CONSTRAINT = 9; public static final int OTHER = 100; /** * @param id */ public ProjectChange(int id) { super(id); } /** * @param id * @param source */ public ProjectChange(int id, Object source) { super(id, source); } public ProjectChange(Task task) { super(TASK_MODIFIED, task); } public String toString(){ return "ProjectChange("+id+")"; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -