Available Methods
- create ( )
- getOptions ( )
- removeElementChangedListener ( )
- newLibraryEntry ( )
- getOption ( )
- addElementChangedListener ( )
- getClasspathContainer ( )
- newContainerEntry ( )
- setComplianceOptions ( )
- newSourceEntry ( )
- getWorkingCopies ( )
- getClasspathVariable ( )
- createCompilationUnitFrom ( )
- PLUGIN_ID
- newProjectEntry ( )
- setClasspathVariable ( )
- newRegion ( )
- VERSION_1_6 ( )
- getClasspathContainerInitializer ( )
- setClasspathContainer ( )
- setOptions ( )
- VERSION_1_3 ( )
- newClasspathAttribute ( )
- removeJavaLikeExtension ( )
- VERSION_1_7 ( )
- initializeAfterLoad ( )
- getDefaultOptions ( )
- newAccessRule ( )
- getPlugin ( )
- run ( )
- VERSION_1_8 ( )
- VERSION_1_4 ( )
- getResolvedVariablePath ( )
- VERSION_1_5 ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- java.util.Iterator
- java.net.URL
- java.util.Hashtable
- org.eclipse.core.runtime.CoreException
- org.eclipse.core.runtime.IProgressMonitor
- org.eclipse.core.runtime.IStatus
- org.eclipse.core.runtime.Status
- org.eclipse.core.runtime.Path
- org.eclipse.core.resources.IResource
- org.eclipse.core.resources.IFile
- org.eclipse.core.runtime.IPath
- org.eclipse.core.resources.ResourcesPlugin
- org.eclipse.core.resources.IProject
- org.eclipse.jface.preference.IPreferenceStore
- org.eclipse.core.runtime.NullProgressMonitor
- org.eclipse.jface.text.IDocument
- org.eclipse.core.resources.IWorkspaceRoot
- org.eclipse.core.resources.IFolder
- org.eclipse.core.resources.IMarker
- org.eclipse.core.resources.IWorkspace
- org.eclipse.core.resources.IContainer
- org.eclipse.core.resources.IProjectDescription
Java Code Examples for org.eclipse.jdt.core.JavaCore#newAccessRule()
The following examples show how to use
org.eclipse.jdt.core.JavaCore#newAccessRule() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LibraryClasspathContainerResolverService.java From google-cloud-eclipse with Apache License 2.0 | 5 votes |
private static IAccessRule[] getAccessRules(List<Filter> filters) { IAccessRule[] accessRules = new IAccessRule[filters.size()]; int idx = 0; for (Filter filter : filters) { int accessRuleKind = filter.isExclude() ? IAccessRule.K_NON_ACCESSIBLE : IAccessRule.K_ACCESSIBLE; accessRules[idx++] = JavaCore.newAccessRule(new Path(filter.getPattern()), accessRuleKind); } return accessRules; }
Example 2
Source File: SerializableAccessRules.java From google-cloud-eclipse with Apache License 2.0 | 4 votes |
IAccessRule toAccessRule() { return JavaCore.newAccessRule(new Path(pattern), ruleKind.kind); }
Example 3
Source File: AccessRuleEntryDialog.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 4 votes |
public IAccessRule getRule() { IPath filePattern= new Path(fPattern); int kind= fRuleKinds[fRuleKindCombo.getSelectionIndex()]; return JavaCore.newAccessRule(filePattern, kind); }