| java.lang.Object com.projity.pm.dependency.DependencyService
DependencyService | public class DependencyService (Code) | | Manages the creation and deleting of dependencies as well as events
|
Method Summary | |
public void | addEndSentinelDependency(HasDependencies sentinel, HasDependencies predecessor) | public void | addStartSentinelDependency(HasDependencies sentinel, HasDependencies successor) | public void | connect(Dependency dependency, Object eventSource) | public void | connect(List tasks, Object eventSource, Predicate canBeSuccessorCondition) Connect tasks sequentially. | public void | fireTaskPredecessors(Collection list) | public static String | getCircularCrossProjectLinkMessage(Object predecessor, Object successor) | public static DependencyService | getInstance() | public UndoableEditSupport | getUndoableEditSupport(Dependency dependency) | public void | initDependency(Dependency dependency, HasDependencies predecessor, HasDependencies successor, Object eventSource) | public Dependency | newDependency(HasDependencies predecessor, HasDependencies successor, int dependencyType, long lead, Object eventSource) | public void | remove(Dependency dependency, Object eventSource, boolean undo) | public void | remove(Collection dependencyList, Object eventSource) | public void | remove(Collection dependencyList, Collection toRemove) | public void | removeAnyDependencies(List tasks, Object eventSource) | public void | removeAnyDependencies(HasDependencies first, HasDependencies second, Object eventSource) | public boolean | removeEndSentinel(HasDependencies sentinel, HasDependencies task) | public boolean | removeStartSentinel(HasDependencies sentinel, HasDependencies task) | public void | setFields(Dependency dependency, long lag, int type, Object eventSource) | public void | update(Dependency dependency, Object eventSource) | public void | updateSentinels(Dependency dependency) | public static void | warnCircularCrossProjectLinkMessage(Object predecessor, Object successor) Warn that a cross project link is disabled. |
getCircularCrossProjectLinkMessage | public static String getCircularCrossProjectLinkMessage(Object predecessor, Object successor)(Code) | | |
removeAnyDependencies | public void removeAnyDependencies(List tasks, Object eventSource)(Code) | | Remove all dependencies between all tasks in an array
Parameters: tasks - Parameters: eventSource - |
warnCircularCrossProjectLinkMessage | public static void warnCircularCrossProjectLinkMessage(Object predecessor, Object successor)(Code) | | Warn that a cross project link is disabled. This is invoked later to give time for the gantt to redraw first
Parameters: predecessor - Parameters: successor - |
|
|