當前位置: 首頁>>代碼示例>>Java>>正文


Java Utilities.activeReferenceQueue方法代碼示例

本文整理匯總了Java中org.openide.util.Utilities.activeReferenceQueue方法的典型用法代碼示例。如果您正苦於以下問題:Java Utilities.activeReferenceQueue方法的具體用法?Java Utilities.activeReferenceQueue怎麽用?Java Utilities.activeReferenceQueue使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.openide.util.Utilities的用法示例。


在下文中一共展示了Utilities.activeReferenceQueue方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: Listener

import org.openide.util.Utilities; //導入方法依賴的package包/類
public Listener (
    KeyBindingSettingsImpl kb,
    KeyBindingSettingsFactory baseKBS
) {
    super(kb, Utilities.activeReferenceQueue());
    this.baseKBS = baseKBS;
    this.storage = EditorSettingsStorage.get(KeyMapsStorage.ID);

    addListeners ();
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:11,代碼來源:KeyBindingSettingsImpl.java

示例2: OpenManagersWeakListener

import org.openide.util.Utilities; //導入方法依賴的package包/類
public OpenManagersWeakListener(final PropertyChangeListener listener) {
    super(listener, Utilities.activeReferenceQueue());
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:ProjectProblemsProviders.java

示例3: DocL

import org.openide.util.Utilities; //導入方法依賴的package包/類
public DocL(OffsetsBag bag) {
    super(bag, Utilities.activeReferenceQueue());
    this.document = bag.getDocument();
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:5,代碼來源:OffsetsBag.java

示例4: CleanableWeakReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
public CleanableWeakReference(T o) {
    super(o, Utilities.activeReferenceQueue());
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:TimesCollectorPeer.java

示例5: CleanableWeakReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
public CleanableWeakReference(Object i) {
    super(i, Utilities.activeReferenceQueue());
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:InstanceWatcher.java

示例6: CacheRef

import org.openide.util.Utilities; //導入方法依賴的package包/類
public CacheRef(ClasspathCache referent, String key) {
    super(referent, Utilities.activeReferenceQueue());
    this.refKey = key;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:5,代碼來源:FxBeanCache.java

示例7: TopComponentReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
public TopComponentReference (TopComponent ref, String tcID) {
   super(ref, Utilities.activeReferenceQueue());
   this.tcID = tcID;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:5,代碼來源:PersistenceManager.java

示例8: NR

import org.openide.util.Utilities; //導入方法依賴的package包/類
public NR(SnippetNodes referent, JShell shell) {
    super(referent, Utilities.activeReferenceQueue());
    this.sub = sub;
    this.shellRef = new WeakReference<>(shell);
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:6,代碼來源:SnippetNodes.java

示例9: CleaningWR

import org.openide.util.Utilities; //導入方法依賴的package包/類
public CleaningWR(Elements el) {
    super(el, Utilities.activeReferenceQueue());
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:ComputeOverriding.java

示例10: NodeRef

import org.openide.util.Utilities; //導入方法依賴的package包/類
public NodeRef(Node node, EntryInfo info) {
    super(node, Utilities.activeReferenceQueue());
    info.lazy().registerNode(1, info);
    this.info = info;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:6,代碼來源:EntrySupportLazyState.java

示例11: ChArrRef

import org.openide.util.Utilities; //導入方法依賴的package包/類
public ChArrRef(ChildrenArray referent, boolean weak) {
    super(referent, Utilities.activeReferenceQueue());
    this.chArr = weak ? null : referent;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:5,代碼來源:EntrySupportDefault.java

示例12: WeakFileListener

import org.openide.util.Utilities; //導入方法依賴的package包/類
private WeakFileListener (
        final FreeformSources source,
        final File file) {
    super (source, Utilities.activeReferenceQueue());
    this.file = file;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:7,代碼來源:FreeformSources.java

示例13: GMReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
public GMReference(GlobalManager m, LookupRef context, boolean survive) {
    super(m, Utilities.activeReferenceQueue());
    this.context = context;
    this.survive = survive;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:6,代碼來源:GlobalManager.java

示例14: GMReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
public GMReference(ContextManager m, LookupRef context, boolean survive) {
    super(m, Utilities.activeReferenceQueue());
    this.context = context;
    this.survive = survive;
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:6,代碼來源:ContextManager.java

示例15: TreeReference

import org.openide.util.Utilities; //導入方法依賴的package包/類
TreeReference (TreeDocumentRoot root) {
    super(root, Utilities.activeReferenceQueue());
}
 
開發者ID:apache,項目名稱:incubator-netbeans,代碼行數:4,代碼來源:TreeEditorCookieImpl.java


注:本文中的org.openide.util.Utilities.activeReferenceQueue方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。