diff --git a/features.php b/features.php index 6cc774e..8c974cd 100644 --- a/features.php +++ b/features.php @@ -1,513 +1,514 @@ "accept_signal", "AcceptTimeEvent" => "accept_time_event", "Activity" => "usecase", "ActivityNode" => "usecase", "ActivityFinal" => "final_activity", "AsynchronousMessage" => "umbr-message-asynchronous", "Asynchronous Message" => "umbr-coll-message-asynchronous", "CentralBuffer" => "object_node", "Choice" => "choice-rhomb", "CombinedFragment" => "combined_fragment", "ControlFlow" => "uniassociation", "DeepHistory" => "deep-history", "DataStore" => "object_node", "DirectionalAssociation" => "uniassociation", "Enumeration" => "enum", "Implementation" => "realization", "ImplementsAssociation" => "generalisation", "ExceptionHandler" => "exception", "ExpansionRegion" => "region", "FinalNode" => "end_state", "FinalState" => "end_state", "FoundMessage" => "umbr-message-found", "FlowFinal" => "final_activity", "ForkNode" => "activity-fork", "Fork" => "state-fork", "InitialState" => "initial_state", "InitalNode" => "initial_state", "InterruptibleActivityRegion" => "region", "InputPin" => "pin", "JoinNode" => "activity-fork", "Join" => "state-fork", "LostMessage" => "umbr-message-lost", "MergeNode" => "branch", "ObjectFlow" => "uniassociation", "ObjectNode" => "object_node", "Objects" => "object_node", "OutputPin" => "pin", "PreCondition" => "PrePostCondition", "ReceiveSignal" => "accept_signal", "SendSignal" => "send_signal", "SendSignalAction" => "send_signal", "ShallowHistory" => "shallow-history", "State" => "usecase", "Synchronous Message" => "umbr-coll-message-synchronous", "SynchronousMessage" => "umbr-message-synchronous", "PostCondition" => "PrePostCondition", "Transformation" => "PrePostCondition", "Unidirectional Association" => "uniassociation", "Usage" => "dependency", "Use case" => "usecase", "ValuePin" => "pin", ); function elementToImageTag($e) { global $ImageFileNameMap; if (array_key_exists($e,$ImageFileNameMap)) $n = $ImageFileNameMap[$e]; else $n = strtolower($e); $imageFilePath = "pics/umbrello/$n.png"; if (file_exists($imageFilePath)) return ""; else return ""; } class Table { const Unused = -1; const No = 0; const Yes = 1; const Partial = 2; const Unknown = 3; const InApplicable = 4; var $subentry = 0; var $showIcons = 0; function Table($icons=true) { $this->showIcons = $icons; } function Header($col1, $col2flag, $col2text, $col3flag, $col3text, $col4flag=Table::Unused, $col4text="") { ?>
" ." | " ." | " . ($col4flag != Table::Unused ? " | " : "") ." | ||||
---|---|---|---|---|---|---|---|
$col1 | " ."$col2flag | $col2text | " ."$col3flag | $col3text | " . ($col4flag != Table::Unused ? "$col4flag | $col4text | " : "") .""; if ($this->withDetails()) { if ($this->subentry) { $this->SubEntryEnd(); $this->lineHeader(); } } echo " |
$tag | $col1text | "; else echo "$col1text | "; echo $td.$this->colEntry($col2flag)."".$td.htmlentities($col2text)."" . $td.$this->colEntry($col3flag)."".$td.htmlentities($col3text)."" . ($col4flag != Table::Unused ? $td.$this->colEntry($col4flag)."".$td.htmlentities($col4text)."" : "") . ""; if ($this->withDetails()) { if ($this->subentry == 0) echo " | ||||
Diagram Elements | |||||||
".($this->showIcons ? elementToImageTag($col1text) : '')." | $col1text | " . $td.$this->colEntry($col2flag)."".$td.htmlentities($col2text)."" . $td.$this->colEntry($col3flag)."".$td.htmlentities($col3text)."" . ($col4flag != Table::Unused ? $td.$this->colEntry($col4flag)."".$td.htmlentities($col4text)."" : "") . "||||||
Legend
".$this->colEntry(Table::No)." | Not implemented |
".$this->colEntry(Table::Partial)." | Partially implemented |
".$this->colEntry(Table::Yes)." | Available/implemented |
".$this->colEntry(Table::InApplicable)." | Inapplicable |
".$this->colEntry(Table::Unknown)." | Unknown (not evaluated yet) |
Most umbrello features and diagram types depends on the public UML standards.
To see what kind of diagram elements are supported, click here.'; else echo 'To collapse details, click here.
'; ?>