📄 2explorer.html
字号:
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Together 简介 -- 2</title>
<script language="JavaScript"><!--
function doExerciseWindow(questionURL, col, row, topPercent)
{
var wf = "";
wf = wf + "width=" + col;
wf = wf + ",height=" + row;
wf = wf + ",resizable=yes";
wf = wf + ",scrollbars=yes";
wf = wf + ",menubar=no";
wf = wf + ",toolbar=no";
wf = wf + ",directories=no";
wf = wf + ",location=no";
wf = wf + ",status=no";
var n = window.open("",
"questionWindow",
wf);
//"toolbar=no,width=500,height=500");
//windowFeatures);
// "toolbar=no,width=" + col + ",height=" + row);
var framesetString = '<FRAMESET ROWS="';
framesetString = framesetString + topPercent;
framesetString = framesetString + '%,*" frameborder=0 framespacing=2 border=0>';
n.document.write(framesetString);
n.document.write('<frame src="' + questionURL +'" name="question">');
n.document.write('<frame src="blankpage.html" name="answer">');
n.document.write('</frameset>');
n.document.write('<noframes> <body> </body> </noframes>');
}
// -->
</script>
<link href="tutor.css" rel="styleSheet" type="text/css">
</head>
<body bgcolor="white" link="#003399" alink="#999999" vlink="#000066">
<div align="left">
<p class="footnote"><span style="font-size: 9pt">
<a href="mailto:%20e.w@263.net">翻译: 李颖(e.w@263.net)</a></span></p>
</div>
<div align="center">
<p class="head2"><a name="top"></a>Together 简介</p>
</div>
<div align="center">
<p class="head2">2: Explorer 面板</p>
</div>
<p>Together 的 Explorer
面板是一个非常强大的特性,
可用于浏览, 控制,
甚至可用于代码生成.
<b>简介</b>的这一部分将详细介绍
Explorer 面板.</p>
<p>在这一课中,
你将看到如何使用 Explorer
得到当前工程和文件系统的信息.
你将看到如何使用 Explorer
检查底层模型.
你将看到如何使用 Explorer
面板访问已存在的代码模块以及定制编译模块.
最后, 你将看到 Together
的测试体系.</p>
<p>我们的讨论将基于 Java
示例工程 <b>CashSales</b> 和 <b>CashSalesTest</b>. </p>
<p><b>目录:</b></p>
<ul>
<li><a class="onPage" href="#explore">浏览 Explorer
面板</a>
<li><a class="onPage" href="#tab">Directory 页:
浏览文件系统</a>
<li><a class="onPage" href="#modeltab">Model 页:
检查当前打开工程的逻辑视图</a>
<li><a class="onPage" href="#favorites">Server, Favorites, 和 Diagrams
页: 辅助浏览</a>
<li><a class="onPage" href="#componentstab">Component 页:
访问并重用组件模型</a>
<li><a class="onPage" href="#tab">Module 页:
访问并扩展 Together
编译模块</a>
<li><a class="onPage" href="#testingtab">Testing 页:
显示测试计划</a>
</ul>
<p></p>
<p><img height="2" width="900" src="images/generic/rainbow2.gif"></p>
<p class="head3"><a name="explore"></a>浏览 Explorer
面板</p>
<p> Explorer
面板以页面的形式组织,
页面显示情况与工程设置及被激活的特性有关.</p>
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
<tr>
<td bgcolor="#bbbbbb">
<table border="0" cellpadding="5" cellspacing="2">
<tr>
<td bgcolor="white"><img height="14" width="14" src="images/icons/directoryicon.gif" hspace="5" alt="Directory icon"></td>
<td bgcolor="white">Directory</td>
<td bgcolor="white">当前打开工程及文件系统的物理结构</td>
</tr>
<tr>
<td bgcolor="white"><img height="14" width="14" src="images/icons/modelicon.gif" hspace="5" alt="Model icon"></td>
<td bgcolor="white">Model </td>
<td bgcolor="white">工程模型元素的逻辑视图</td>
</tr>
<tr>
<td bgcolor="white"><img src="images/icons/servers.gif" width="15" height="14" border="0" hspace="5" alt="servers"></td>
<td bgcolor="white">Servers</td>
<td bgcolor="white">与 Together
安装相关的服务器</td>
</tr>
<tr>
<td bgcolor="white"><img src="images/icons/favorites.gif" width="12" height="11" border="0" alt="Favorites tab" hspace="5"></td>
<td bgcolor="white">Favorites</td>
<td bgcolor="white">经常访问的("favorite")模型元素及文件</td>
</tr>
<tr>
<td bgcolor="white"><img height="14" width="14" src="images/icons/explorerdiagramicon.gif" hspace="5" alt="Diagram icon"></td>
<td bgcolor="white">Diagram</td>
<td bgcolor="white">工程中模型图的分类列表</td>
</tr>
<tr>
<td bgcolor="white"><img height="14" width="14" src="images/icons/componenticon.gif" hspace="5" alt="Component icon"></td>
<td bgcolor="white">Components</td>
<td bgcolor="white">可重用的模型组件</td>
</tr>
<tr>
<td bgcolor="white"><img height="15" width="14" src="images/icons/moduleicon.gif" hspace="5" alt="Module icon"></td>
<td bgcolor="white">Modules</td>
<td bgcolor="white">定制编译模块</td>
</tr>
<tr>
<td bgcolor="white"><img src="images/icons/explorer_xml_file.gif" alt="xml" width="12" height="14" border="0" hspace="5"></td>
<td bgcolor="white">Xplorer</td>
<td bgcolor="white">浏览和编辑 XML
文件</td>
</tr>
<tr>
<td bgcolor="white"><img src="images/icons/designer_gui_builder.gif" width="15" height="16" border="0" alt="icon" hspace="5"></td>
<td bgcolor="white">UI Builder</td>
<td bgcolor="white">用于图形用户界面的类</td>
</tr>
<tr>
<td bgcolor="white"><img src="images/icons/testingframework.gif" width="16" height="15" border="0" hspace="5" alt="icon"></td>
<td bgcolor="white">Testing</td>
<td bgcolor="white">测试体系指令及结果</td>
</tr>
</table>
</td>
</tr>
</table>
<p> Directory 和 Modules
页上永远被显示的.
其他所有页则需要打开工程才被显示. UI
设计器, XML 浏览器, Testing 页
需要激活特定的系统功能模块.
点击一个页可将它切换到最前.</p>
<p></p>
<table border="0" cellpadding="0" cellspacing="2" bgcolor="#993300" width="100%">
<tr>
<td bgcolor="#993300">
<table border="0" cellpadding="0" cellspacing="2" bgcolor="#ffffcc" width="100%">
<tr>
<td bgcolor="#ffffcc"><b>操作步骤:</b>
打开 Java
示例工程 <b>CashSales</b>.
(<a href="1gettoknow.html#opening">前面的课程</a>中讲解了如何打开工程.)</td>
</tr>
</table>
</td>
</tr>
</table>
<p></p>
<hr>
<p class="head3"><a name="tab"></a>Directory 页:
浏览文件系统</p>
<p> Directory
页用于浏览物理文件系统以及当前工程的物理结构.</p>
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
<tr>
<td bgcolor="#bbbbbb">
<table border="0" cellpadding="5" cellspacing="2">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -