|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.actions.ReadOnlyStateChecker
public class ReadOnlyStateChecker
The ReadOnlyStateChecker is a helper class that takes a set of resource some of which may be read only and queries the user as to whether or not they wish to continue the operation on it.
| Constructor Summary | |
|---|---|
ReadOnlyStateChecker(Shell parent,
java.lang.String title,
java.lang.String message)
Create a new checker that parents the dialog off of parent using the supplied title and message. |
|
| Method Summary | |
|---|---|
IResource[] |
checkReadOnlyResources(IResource[] itemsToCheck)
Check the supplied resources to see if they are read only. |
boolean |
getIgnoreLinkedResources()
Returns whether to ignore linked resources. |
void |
setIgnoreLinkedResources(boolean ignore)
Sets whether to ignore linked resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReadOnlyStateChecker(Shell parent,
java.lang.String title,
java.lang.String message)
parent - the shell used for dialogstitle - the title for dialogsmessage - the message for a dialog - this will be prefaced with the name of the resource.| Method Detail |
|---|
public IResource[] checkReadOnlyResources(IResource[] itemsToCheck)
itemsToCheck -
public boolean getIgnoreLinkedResources()
true to ignore linked resources, false to consider thempublic void setIgnoreLinkedResources(boolean ignore)
false.
ignore - true to ignore linked resources, false to consider them
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.