|
Re: Read-only diagram [message #168445 is a reply to message #168407] |
Wed, 16 January 2008 13:49 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------040009080200080809020300
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Youmm,
This map in AdapterFactoryEditingDomain probably helps:
/**
* Returns the map of resource to a Boolean value indicating
whether the resource is read only.
*/
public Map<Resource, Boolean> getResourceToReadOnlyMap()
{
return resourceToReadOnlyMap;
}
Youmm P. wrote:
> Hello,
>
> Is there a way to display a diagram to the user but as a read-only
> diagram? That is, no modifications of the diagram are allowed.
--------------040009080200080809020300
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Youmm,<br>
<br>
This map in AdapterFactoryEditingDomain probably helps:<br>
<blockquote> /**<br>
* Returns the map of resource to a Boolean value indicating whether
the resource is read only.<br>
*/<br>
public Map<Resource, Boolean> getResourceToReadOnlyMap()<br>
{<br>
return resourceToReadOnlyMap;<br>
}<br>
</blockquote>
<br>
Youmm P. wrote:
<blockquote cite="mid:fml16c$9d6$1@build.eclipse.org" type="cite">Hello,
<br>
<br>
Is there a way to display a diagram to the user but as a read-only
diagram? That is, no modifications of the diagram are allowed.
<br>
</blockquote>
<br>
</body>
</html>
--------------040009080200080809020300--
|
|
|
|
Powered by
FUDForum. Page generated in 0.01972 seconds