Examples of closeEntry()


Examples of com.aelitis.azureus.ui.mdi.MultipleDocumentInterface.closeEntry()

      public void handleEvent(Event event) {
        MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
        if (mdi != null) {
          MdiEntry currentEntry = mdi.getCurrentEntry();
          if (currentEntry != null && currentEntry.isCloseable()) {
            mdi.closeEntry(currentEntry.getId());
          }
        }
      }
    });
    menu.addMenuListener(new MenuListener() {
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MultipleDocumentInterface.closeEntry()

        int i = id.lastIndexOf('.');
        if (i > 0) {
          id = id.substring(i + 1);
        }
      }
      mdi.closeEntry(id);

    } catch (Exception e) {
      Logger.log(new LogEvent(LOGID, "closePluginView", e));
    }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MultipleDocumentInterface.closeEntry()

    try {
      MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
      if (mdi == null) {
        return;
      }
      mdi.closeEntry(sViewID);
     
    } catch (Exception e) {
      Logger.log(new LogEvent(LOGID, "closePluginViews", e));
    }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MultipleDocumentInterface.closeEntry()

    MdiEntry[] sideBarEntries = mdi.getEntries();
    for (int i = 0; i < sideBarEntries.length; i++) {
      MdiEntry entry = sideBarEntries[i];
      String id = entry.getId();
      if (id != null && id.startsWith("DMDetails_")) {
        mdi.closeEntry(id);
      }
    }

  }
 
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.mdi.MultipleDocumentInterfaceSWT.closeEntry()

            if (mdi != null) {
              MdiEntry entry = mdi.getEntryBySkinView(Browse.this);
              if (entry != null) {
                entry.removeListener(Browse.this);
              }
              mdi.closeEntry(ContentNetworkUtils.getTarget(contentNetwork));
            }
            contentNetwork.remove();
          }
        });
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.mdi.MultipleDocumentInterfaceSWT.closeEntry()

            if (mdi != null) {
              MdiEntry entry = mdi.getEntryBySkinView(Browse.this);
              if (entry != null) {
                entry.removeListener(Browse.this);
              }
              mdi.closeEntry(ContentNetworkUtils.getTarget(contentNetwork));
            }
          }
        });
      }
      menuItem = menuManager.addMenuItem(parent, "Source Ref: "
View Full Code Here

Examples of com.alimama.mdrill.utils.zip.ZipOutputStream.closeEntry()

            basePath =f.getPath();
        } else {
            basePath = f.getPath().getParent();
        }
        zipFile(fs,f, basePath, zos);
        zos.closeEntry();
        zos.close();
        bos.close();
        out.close();
    }
   
View Full Code Here

Examples of com.facebook.presto.spi.block.BlockBuilder.closeEntry()

            assertTrue(block.equals(position, offset, expectedBlock, 0, offset, 3));
            assertEquals(block.compareTo(position, offset, 3, expectedBlock, 0, offset, 3), 0);

            BlockBuilder blockBuilder = VARBINARY.createBlockBuilder(new BlockBuilderStatus());
            block.writeBytesTo(position, offset, 3, blockBuilder);
            blockBuilder.closeEntry();
            Block segment = blockBuilder.build();

            assertTrue(block.equals(position, offset, segment, 0, 0, 3));
        }
    }
View Full Code Here

Examples of com.ice.tar.TarOutputStream.closeEntry()

                tarOutStream.putNextEntry(tarEntry);
                while((bytes_read = inStream.read(buffer)) != -1) {
                    tarOutStream.write(buffer,0,bytes_read);
                }
                tarOutStream.closeEntry();
                inStream.close();

                // Restart the wait period (so if the time to send a single
                // file is too long the processor is killed).
                super.processorSyncFlag.restartWaitUntilFalse();
View Full Code Here

Examples of com.sun.enterprise.deploy.shared.FileArchive.closeEntry()

                _logger.log(Level.WARNING, "error.extracting.archive", args);
                return false;
            } finally {
                try {
                    if (os != null) {
                        fa.closeEntry();
                    }

                } catch (IOException ioe) {
                    if (_logger.isLoggable(Level.FINEST)) {
                        _logger.log(Level.FINEST, "Exception while closing archive [ " + fileName + " ]", ioe);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.