rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
Mapper mapper = collectionDescriptor.getClassDescriptor().getMappingDescriptor().getMapper(); ClassDescriptor elementClassDescriptor = mapper.getClassDescriptor( ReflectionUtils.forName(collectionDescriptor.getElementClassName()));
ClassDescriptor elementClassDescriptor = mapper.getClassDescriptor( ReflectionUtils.forName(collectionDescriptor.getElementClassName()));
protected ManageableCollection doGetCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, Class collectionFieldClass) throws Reposit...
Mapper mapper = collectionDescriptor.getClassDescriptor().getMappingDescriptor().getMapper(); ClassDescriptor elementClassDescriptor = mapper.getClassDescriptor( ReflectionUtils.forName(collectionDescriptor.getElementClassName()));
ClassDescriptor elementClassDescriptor = mapper.getClassDescriptor( ReflectionUtils.forName(collectionDescriptor.getElementClassName()));
protected void doInsertCollection(Session session, Node parentNode, CollectionDescriptor collectionDescriptor, ManageableCollection collection) { if (collection == null) { return; ...
if (searchJTextField.hasFocus()) {
if (userActivated) {
protected void paintComponent(final Graphics g) { super.paintComponent(g); final Graphics2D g2 = (Graphics2D) g.create(); try { if (searchJTextField.hasFocus()) { final Point leftLocation = leftJLabel.getLocation(); g2.drawImage(Images.BrowserTitle.HALO,...
repaint();
private void searchJTextFieldFocusGained(final java.awt.event.FocusEvent e) {//GEN-FIRST:event_searchJTextFieldFocusGained // NOTE Perhaps reconsider this approach if we need to tab to this control. // Don't show the caret or repaint unless the mouse actually clicked in the JTextField if (searc...
userActivated = Boolean.FALSE;
private void searchJTextFieldFocusLost(final java.awt.event.FocusEvent e) {//GEN-FIRST:event_searchJTextFieldFocusLost if (null != getParent()) { // Note that repaint(), or getParent().repaint() on bounds, causes visible flicker drawing rectangle. getParent().repaint(); } }//G...
userActivated = Boolean.TRUE;
private void searchJTextFieldMouseClicked(java.awt.event.MouseEvent evt) {// GEN-FIRST:event_searchJTextFieldMouseClicked searchJTextField.getCaret().setVisible(true); repaint(); }// GEN-LAST:event_searchJTextFieldMouseClicked
setInput(AvatarId.SESSION_SEND_FORM, session.getSelectedDocumentId());
public void displaySessionSendFormAvatar() { displayAvatar(WindowId.POPUP, AvatarId.SESSION_SEND_FORM); }
logger.debug(newL);
public void moveBrowserWindow(final Point l) { final Point newL = mainWindow.getLocation(); newL.x += l.x; newL.y += l.y; logger.debug(newL); mainWindow.setLocation(newL); }
setInput(AvatarId.SESSION_SEND_FORM, documentId);
public void selectDocument(final Long documentId) { session.setSelectedDocumentId(documentId); setInput(AvatarId.SESSION_SEND_FORM, documentId); }
TrayNotification notification; for (final Iterator<TrayNotification> i = queue.iterator();
Notification notification; for (final Iterator<Notification> i = queue.iterator();
private void processQueue() { if (0 < getQueueTotal()) { synchronized (this) { TrayNotification notification; for (final Iterator<TrayNotification> i = queue.iterator(); i.hasNext();) { notification = i.next(); ...
sysTray.display(notification);
NotifyPanel.display(notification);
private void processQueue() { if (0 < getQueueTotal()) { synchronized (this) { TrayNotification notification; for (final Iterator<TrayNotification> i = queue.iterator(); i.hasNext();) { notification = i.next(); ...
super();
public XMPPSessionImpl() { this.listeners = new ArrayList<SessionListener>(); this.xmppArchive = new XMPPArchive(this); this.xmppBackup = new XMPPBackup(this); this.xmppArtifact = new XMPPArtifact(this); this.xmppContainer = new XMPPContainer(this); this.xmppContact = new XMPPContact(this); ...
public void addPacketListener(final PacketListener listener, final PacketFilter filter) { logger.logApiId(); logger.logVariable("listener", listener); logger.logVariable("filter", filter);
public void addPacketListener(final PacketListener listener, final PacketFilter filter) {
public void addPacketListener(final PacketListener listener, final PacketFilter filter) { logger.logApiId(); logger.logVariable("listener", listener); logger.logVariable("filter", filter); xmppConnection.addPacketListener(listener, filter); }
listeners.clear(); logger.logTraceId();
synchronized (listeners) { listeners.clear(); } xmppArchive.clearListeners();
public void clearListeners() { logger.logApiId(); listeners.clear(); logger.logTraceId(); xmppArtifact.clearListeners(); logger.logTraceId(); xmppContact.clearListeners(); logger.logTraceId(); xmppContainer.clearListeners(); logger.logTraceId(); ...
logger.logTraceId();
xmppBackup.clearListeners();
public void clearListeners() { logger.logApiId(); listeners.clear(); logger.logTraceId(); xmppArtifact.clearListeners(); logger.logTraceId(); xmppContact.clearListeners(); logger.logTraceId(); xmppContainer.clearListeners(); logger.logTraceId(); ...
logger.logTraceId();
public void clearListeners() { logger.logApiId(); listeners.clear(); logger.logTraceId(); xmppArtifact.clearListeners(); logger.logTraceId(); xmppContact.clearListeners(); logger.logTraceId(); xmppContainer.clearListeners(); logger.logTraceId(); ...
logger.logTraceId();
xmppStream.clearListeners(); xmppSystem.clearListeners();
public void clearListeners() { logger.logApiId(); listeners.clear(); logger.logTraceId(); xmppArtifact.clearListeners(); logger.logTraceId(); xmppContact.clearListeners(); logger.logTraceId(); xmppContainer.clearListeners(); logger.logTraceId(); ...
logger.logApiId(); logger.logVariable("uniqueId", uniqueId);
public void createDraft(final UUID uniqueId) { logger.logApiId(); logger.logVariable("uniqueId", uniqueId); xmppArtifact.createDraft(uniqueId); }
logger.logApiId();
public JabberId getUserId() { return JabberIdBuilder.parseQualifiedJabberId(xmppConnection.getUser()); }
return (null != xmppConnection
return null != xmppConnection
public Boolean isLoggedIn() { logger.logApiId(); return (null != xmppConnection && xmppConnection.isConnected() && xmppConnection.isAuthenticated()); }
&& xmppConnection.isAuthenticated());
&& xmppConnection.isAuthenticated() && null != xmppAnonymousConnection && xmppAnonymousConnection.isConnected() && xmppAnonymousConnection.isAuthenticated();
public Boolean isLoggedIn() { logger.logApiId(); return (null != xmppConnection && xmppConnection.isConnected() && xmppConnection.isAuthenticated()); }
Map<DocumentVersion, String> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); } catch (final IOException iox) { throw translateError(iox); }
Map<DocumentVersion, String> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn);
public void publish(ContainerVersion container, Map<DocumentVersion, String> documents, List<JabberId> publishTo, JabberId publishedBy, Calendar publishedOn) { try { xmppContainer.publish(container, documents, publishTo, publishedBy, publishedOn); } ...
(getMac() && getMajorVersion() >= 5 ||
(getMac() && getMajorVersion() >= 5) ||
public boolean getCss2() { return getIe() && (getMac() && getMajorVersion() >= 5 || (getWin32() && getMajorVersion() >= 6) || getGecko() // && version >= ? || (getOpera() && getMajorVersion() >= 4) || (getSafari() && getMajorVersion(...
getGecko()
getGecko() ||
public boolean getCss2() { return getIe() && (getMac() && getMajorVersion() >= 5 || (getWin32() && getMajorVersion() >= 6) || getGecko() // && version >= ? || (getOpera() && getMajorVersion() >= 4) || (getSafari() && getMajorVersion(...
public boolean getDom0() { return (getIe() && getMajorVersion() >= 3) || (getNetscape() && getMajorVersion() >= 2) || (getOpera() && getMajorVersion() >= 3) || getGecko() || getSafari() || getKonqueror(); }
public boolean getCss2() { return getIe() && (getMac() && getMajorVersion() >= 5 || (getWin32() && getMajorVersion() >= 6) || getGecko() // && version >= ? || (getOpera() && getMajorVersion() >= 4) || (getSafari() && getMajorVersion(...
selfAbsolute = false; selfParams = false;
public LinkTool() { uri = null; anchor = null; queryData = null; queryDataDelim = HTML_QUERY_DELIMITER; }
copy.selfAbsolute = this.selfAbsolute; copy.selfParams = this.selfParams;
protected LinkTool duplicate() { try { return (LinkTool)this.clone(); } catch (CloneNotSupportedException e) { LOG.warn("Could not properly clone " + getClass() + " - " + e); // "clone" manually LinkTool copy; try ...
out.append(ServletUtils.getPath(request));
out.append(getRequestPath());
public String getBaseRef() { StringBuffer out = new StringBuffer(); out.append(getContextURL()); out.append(ServletUtils.getPath(request)); return out.toString(); }
return response.encodeURL(out.toString());
String str = out.toString(); if (str.length() == 0) { return str; } else { return response.encodeURL(str); }
public String toString() { StringBuffer out = new StringBuffer(); if (uri != null) { out.append(uri); } String query = getQueryData(); if (query != null) { // Check if URI already contains query data if ( uri == null || uri.indexOf...
return copyWith(request.getContextPath() + uri);
return copyWith(ctxPath + uri);
public LinkTool setRelative(String uri) { if (uri.startsWith("/")) { return copyWith(request.getContextPath() + uri); } else { return copyWith(request.getContextPath() + '/' + uri); } }
return copyWith(request.getContextPath() + '/' + uri); }
return copyWith(ctxPath + '/' + uri); }
public LinkTool setRelative(String uri) { if (uri.startsWith("/")) { return copyWith(request.getContextPath() + uri); } else { return copyWith(request.getContextPath() + '/' + uri); } }
dv.setSize(session.getLong("CONTENT_SIZE"));
private DocumentVersion extractDocumentVersion(final Session session) { final DocumentVersion dv = new DocumentVersion(); dv.setArtifactId(session.getLong("DOCUMENT_ID")); dv.setArtifactType(session.getTypeFromInteger("ARTIFACT_TYPE_ID")); dv.setArtifactUniqueId(session.getUniqueId("ARTI...
public IntTypeConverterImpl(ValueFactory factory) { super(factory); }
public IntTypeConverterImpl() { super(); }
public IntTypeConverterImpl(ValueFactory factory) { super(factory); }
if(document.isClosed()) { jPopupMenu.add(new Reactivate(application)); }
private void triggerOnline(final Browser application, final JPopupMenu jPopupMenu, final MouseEvent e) { final Set<User> team = document.getTeam(); // MENU_ITEM Open jPopupMenu.add(new Open(application)); if(document.isClosed()) { // MENU_ITEM Delete jPopupMenu.addS...
logApiId();
void handleSessionEstablished() { notifyListeners(new EventNotifier<SessionListener>() { public void notifyListener(final SessionListener listener) { listener.sessionEstablished(); } }); }
public void handleSessionTerminated(final Exception cause) {
void handleSessionTerminated(final Exception cause) {
public void handleSessionTerminated(final Exception cause) { logApiId(); notifyListeners(new EventNotifier<SessionListener>() { public void notifyListener(final SessionListener listener) { listener.sessionTerminated(cause); } }); }
final JabberId jabberId) throws SmackException;
final JabberId jabberId);
public void addTeamMember(final UUID artifactUniqueId, final JabberId jabberId) throws SmackException;
final JabberId invitedBy) throws SmackException;
final JabberId invitedBy);
public void declineInvitation(final EMail invitedAs, final JabberId invitedBy) throws SmackException;
final Credentials credentials) throws SmackException;
final Credentials credentials);
public void login(final Environment environment, final Credentials credentials) throws SmackException;
public void logout() throws SmackException;
public void logout();
public void logout() throws SmackException;
final Calendar publishedOn) throws SmackException;
final Calendar publishedOn);
public void publish(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> publishTo, final JabberId publishedBy, final Calendar publishedOn) throws SmackException;
public User readCurrentUser() throws SmackException;
public User readCurrentUser();
public User readCurrentUser() throws SmackException;
public Profile readProfile() throws SmackException;
public Profile readProfile();
public Profile readProfile() throws SmackException;
final Calendar sentOn) throws SmackException;
final Calendar sentOn);
public void send(final ContainerVersion container, final Map<DocumentVersion, InputStream> documents, final List<JabberId> sendTo, final JabberId sentBy, final Calendar sentOn) throws SmackException;
case CONTAINER_DELETE: action = new com.thinkparity.browser.platform.action.container.Delete(browser); break;
private AbstractAction doCreateAction(final ActionId actionId) { logApiId(); debugVariable("actionId", actionId); final AbstractAction action; switch(actionId) { case ARTIFACT_APPLY_FLAG_SEEN: action = new com.thinkparity.browser.platform.action.artifact.ApplyFlagSeen(browser); ...
break; case CONTAINER_DELETE: action = new com.thinkparity.browser.platform.action.container.Delete(browser); break; case CONTAINER_DELETE_DRAFT: action = new com.thinkparity.browser.platform.action.container.DeleteDraft(browser);
private AbstractAction doCreateAction(final ActionId actionId) { logApiId(); debugVariable("actionId", actionId); final AbstractAction action; switch(actionId) { case ARTIFACT_APPLY_FLAG_SEEN: action = new com.thinkparity.browser.platform.action.artifact.ApplyFlagSeen(browser); ...
return MessageFormat.format("{0}.{1}",
return MessageFormat.format("{0}{1}",
public String exportFileName(final DocumentVersion version) { return MessageFormat.format("{0}.{1}", FileUtil.getName(version.getName()), FileUtil.getExtension(version.getName())); }
contacts = readContacts();
contacts = readContacts(teamMembers);
public CustomTableModel(final Long containerId) { super(); if (null==containerId) { // Likely true on first call to reload() teamMembers = null; contacts = null; publishTo = null; } else { teamMembers = r...
private List<Contact> readContacts() {
private List<Contact> readContacts(List<TeamMember> teamMembers) {
private List<Contact> readContacts() { final List<Contact> list = new LinkedList<Contact>(); final Contact[] array = (Contact[]) ((CompositeFlatSingleContentProvider) contentProvider).getElements(0, null); for (final Contact contact : array) { list.add(contact); } retur...
list.add(contact);
Boolean found = Boolean.FALSE; for (final TeamMember teamMember : teamMembers) { if (teamMember.getId().equals(contact.getId())) { found = Boolean.TRUE; break; } } if (!found) { list.add((Contact) contact); }
private List<Contact> readContacts() { final List<Contact> list = new LinkedList<Contact>(); final Contact[] array = (Contact[]) ((CompositeFlatSingleContentProvider) contentProvider).getElements(0, null); for (final Contact contact : array) { list.add(contact); } retur...
connectionJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.SmallFont);
connectionJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.StatusBar);
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel separator1JLabel; javax.swing.JLabel separator2JLabel; connectionJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.SmallFont); separator1JLabel = new javax.swin...
filterJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.SmallFont);
filterJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.StatusBar);
private void initComponents() { java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel separator1JLabel; javax.swing.JLabel separator2JLabel; connectionJLabel = LabelFactory.create(getString("Empty"), BrowserConstants.Fonts.SmallFont); separator1JLabel = new javax.swin...
return getTemplate(request.getServletPath() );
String path = (String)request.getAttribute("javax.servlet.include.servlet_path"); if (path == null) { path = request.getServletPath(); } return getTemplate(path);
protected Template handleRequest(HttpServletRequest request, HttpServletResponse response, Context ctx ) throws Exception { return getTemplate(request.getServletPath() ); }
final JiveProperties jiveProperties = JiveProperties.getInstance(); logger.logInfo("{0}:{1}", "xmpp.auth.anonymous", jiveProperties.get("xmpp.auth.anonymous")); logger.logInfo("{0}:{1}", "xmpp.domain", jiveProperties.get("xmpp.domain")); logger.logInfo("{0}:{1}", "xmpp.server.socket.port", jiveProperties.get("xmpp.serv...
public void initializePlugin(final PluginManager manager, final File pluginDirectory) { initializeLogging(); initializeHandlers(pluginDirectory); startStream(); startArchive(); final String message = MessageFormat.format("{0} - {1} - {2}", Version.getName(), Version.getMode()...
StreamModel.getModel().start();
private void startStream() {// StreamModel.getModel().start(); }
StreamModel.getModel().stop();
private void stopStream() {// StreamModel.getModel().stop(); }
createDraft(OpheliaTestUser.JUNIT, container);
createDraft(OpheliaTestUser.JUNIT, container.getId());
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ...
publishToTeam(OpheliaTestUser.JUNIT, container);
publishToTeam(OpheliaTestUser.JUNIT, container.getId());
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ...
createDraft(OpheliaTestUser.JUNIT_X, container);
createDraft(OpheliaTestUser.JUNIT_X, container.getId());
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ...
publishToTeam(OpheliaTestUser.JUNIT_X, container);
publishToTeam(OpheliaTestUser.JUNIT_X, container.getId());
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final InternalContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); ...
private AbstractEastCell() {
private AbstractEastCell(final WestCell parent) {
private AbstractEastCell() { super(); setEnabled(isLatest()); }
this.parent = parent;
private AbstractEastCell() { super(); setEnabled(isLatest()); }
add(EmptyCell.getEmptyCell());
add(new EmptyEastCell(this));
private AbstractWestCell() { super(); setEnabled(isLatest()); add(EmptyCell.getEmptyCell()); }
add(new ContainerVersionUserCell(this, teamMember));
add(new ContainerTeamMemberCell(this, teamMember));
private void addUserCells(final List<TeamMember> team) { for (final TeamMember teamMember : team) { add(new ContainerVersionUserCell(this, teamMember)); } }
super(); this.parent = parent;
super(parent);
private ContainerDraftDocumentCell(final WestCell parent, final Document document, final DraftView draftView) { super(); this.parent = parent; this.document = document; setIcon(fileIconReader.getIcon(document)); switch (draftView.getDraft().g...
super(); this.parent = parent;
super(parent);
private ContainerVersionDocumentCell(final WestCell parent, final ContainerVersion containerVersion, final DocumentView documentView) { super(); this.parent = parent; this.delta = documentView.getDelta(); this.version = documentView.getVersion(); ...
add(new DraftDocumentCell(document));
add(new DraftDocumentCell(this, document));
private DraftCell() { super(); for (final Document document : draft.getDocuments()) { add(new DraftDocumentCell(document)); } }
private DraftDocumentCell(final Document document) { super();
private DraftDocumentCell(final WestCell parent, final Document document) { super(parent);
private DraftDocumentCell(final Document document) { super(); this.document = document; setIcon(fileIconReader.getIcon(document)); switch (draft.getState(document)) { case ADDED: case MODIFIED: case REMOVED: setAdditiona...
super();
super(parent);
private VersionDocumentCell(final WestCell parent, final DocumentVersion version, final Delta delta) { super(); this.delta = delta; this.parent = parent; this.version = version; setIcon(fileIconReader.getIcon(version)); switch (del...
this.parent = parent;
private VersionDocumentCell(final WestCell parent, final DocumentVersion version, final Delta delta) { super(); this.delta = delta; this.parent = parent; this.version = version; setIcon(fileIconReader.getIcon(version)); switch (del...
super(); this.parent = parent;
super(parent);
private VersionUserCell(final WestCell parent, final User user) { super(); this.parent = parent; this.user = user; setIcon(IMAGE_CACHE.read(TabPanelIcon.USER)); setText(user.getName()); setAdditionalText(localization.getString("UserPublished")); ...
public void mousePressed(java.awt.event.MouseEvent e) { collapsedJPanelMousePressed(e); } public void mouseReleased(java.awt.event.MouseEvent e) { collapsedJPanelMouseReleased(e);
public void mousePressed(java.awt.event.MouseEvent evt) { collapsedJPanelMousePressed(evt); } public void mouseReleased(java.awt.event.MouseEvent evt) { collapsedJPanelMouseReleased(evt);
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
public void mouseEntered(java.awt.event.MouseEvent e) { iconJLabelMouseEntered(e); } public void mouseExited(java.awt.event.MouseEvent e) { iconJLabelMouseExited(e); } public void mousePressed(java.awt.event.MouseEvent e) { iconJLabelMousePressed(e);
public void mouseEntered(java.awt.event.MouseEvent evt) { iconJLabelMouseEntered(evt); } public void mouseExited(java.awt.event.MouseEvent evt) { iconJLabelMouseExited(evt); } public void mousePressed(java.awt.event.MouseEvent evt) { iconJLabelMousePressed(evt);
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
public void mousePressed(java.awt.event.MouseEvent e) { expandedJPanelMousePressed(e); } public void mouseReleased(java.awt.event.MouseEvent e) { expandedJPanelMouseReleased(e);
public void mousePressed(java.awt.event.MouseEvent evt) { expandedJPanelMousePressed(evt); } public void mouseReleased(java.awt.event.MouseEvent evt) { expandedJPanelMouseReleased(evt);
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
java.util.ResourceBundle bundle = java.util.ResourceBundle.getBundle("localization/ListItem_Messages"); westFirstJLabel.setText(bundle.getString("ContainerPanel.firstJLabelWest"));
westFirstJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.firstJLabelWest"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
westPreviousJLabel.setText(bundle.getString("ContainerPanel.previousJLabelWest"));
westPreviousJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.previousJLabelWest"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
westCountJLabel.setText(bundle.getString("ContainerPanel.countJLabel"));
westCountJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.countJLabel"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
westNextJLabel.setText(bundle.getString("ContainerPanel.nextJLabelWest"));
westNextJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.nextJLabelWest"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
westLastJLabel.setText(bundle.getString("ContainerPanel.lastJLabelWest"));
westLastJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.lastJLabelWest"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
eastFirstJLabel.setText(bundle.getString("ContainerPanel.firstJLabelEast"));
eastFirstJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.firstJLabelEast"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
eastPreviousJLabel.setText(bundle.getString("ContainerPanel.previousJLabelEast"));
eastPreviousJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.previousJLabelEast"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
eastCountJLabel.setText(bundle.getString("ContainerPanel.countJLabel"));
eastCountJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.countJLabel"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
eastNextJLabel.setText(bundle.getString("ContainerPanel.nextJLabelEast"));
eastNextJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.nextJLabelEast"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
eastLastJLabel.setText(bundle.getString("ContainerPanel.lastJLabelEast"));
eastLastJLabel.setText(java.util.ResourceBundle.getBundle("localization/ListItem_Messages").getString("ContainerPanel.lastJLabelEast"));
private void initComponents() { javax.swing.JLabel eastFillerJLabel; java.awt.GridBagConstraints gridBagConstraints; javax.swing.JLabel westFillerJLabel; westListJPanel = new PanelCellListJPanel(westListModel, ListType.WEST_LIST); westFillerJLabel = new javax.swing.JLabel(); ...
public void mousePressed(java.awt.event.MouseEvent e) { collapsedJPanelMousePressed(e);
public void mousePressed(java.awt.event.MouseEvent evt) { collapsedJPanelMousePressed(evt);
public void mousePressed(java.awt.event.MouseEvent e) { collapsedJPanelMousePressed(e); }
public void mouseReleased(java.awt.event.MouseEvent e) { collapsedJPanelMouseReleased(e);
public void mouseReleased(java.awt.event.MouseEvent evt) { collapsedJPanelMouseReleased(evt);
public void mouseReleased(java.awt.event.MouseEvent e) { collapsedJPanelMouseReleased(e); }
public void mouseEntered(java.awt.event.MouseEvent e) { iconJLabelMouseEntered(e);
public void mouseEntered(java.awt.event.MouseEvent evt) { iconJLabelMouseEntered(evt);
public void mouseEntered(java.awt.event.MouseEvent e) { iconJLabelMouseEntered(e); }
public void mouseExited(java.awt.event.MouseEvent e) { iconJLabelMouseExited(e);
public void mouseExited(java.awt.event.MouseEvent evt) { iconJLabelMouseExited(evt);
public void mouseExited(java.awt.event.MouseEvent e) { iconJLabelMouseExited(e); }
public void mousePressed(java.awt.event.MouseEvent e) { iconJLabelMousePressed(e);
public void mousePressed(java.awt.event.MouseEvent evt) { iconJLabelMousePressed(evt);
public void mousePressed(java.awt.event.MouseEvent e) { iconJLabelMousePressed(e); }
public void mousePressed(java.awt.event.MouseEvent e) { expandedJPanelMousePressed(e);
public void mousePressed(java.awt.event.MouseEvent evt) { expandedJPanelMousePressed(evt);
public void mousePressed(java.awt.event.MouseEvent e) { expandedJPanelMousePressed(e); }
public void mouseReleased(java.awt.event.MouseEvent e) { expandedJPanelMouseReleased(e);
public void mouseReleased(java.awt.event.MouseEvent evt) { expandedJPanelMouseReleased(evt);
public void mouseReleased(java.awt.event.MouseEvent e) { expandedJPanelMouseReleased(e); }
public void panelCellMousePressed(final Cell cell, final MouseEvent e) {
public void panelCellMousePressed(final Cell cell, final Boolean onIcon, final MouseEvent e) {
public void panelCellMousePressed(final Cell cell, final MouseEvent e) { if (cell instanceof WestCell) { westListModel.setSelectedCell(cell); } if ((e.getClickCount() % 2) == 0) { tabDelegate.toggleExpansion(this); } }
if ((e.getClickCount() % 2) == 0) {
if (!onIcon && e.getClickCount() % 2 == 0) {
public void panelCellMousePressed(final Cell cell, final MouseEvent e) { if (cell instanceof WestCell) { westListModel.setSelectedCell(cell); } if ((e.getClickCount() % 2) == 0) { tabDelegate.toggleExpansion(this); } }
assertNotNull(document);
public void testGet() { try { Document document; for(Fixture datum : data) { document = datum.documentModel.get(datum.id); assertNotNull(document); assertEquals(datum.document, document); } } catch(Throwable t) { fail(getFailMessage(t)); } }
public void airBrushReceiveMessage(Message msg) {
public boolean airBrushReceiveMessage(Message msg) { if (super.airBrushReceiveMessage(msg)) return true;
public void airBrushReceiveMessage(Message msg) { // TODO Auto-generated method stub System.out.println("Receiving " + msg.type + " from AirBrush."); if (msg.type.equals("Story")) { System.out.println("Story content: " + msg.content); Story story; // Parse the X...
return false;
public void airBrushReceiveMessage(Message msg) { // TODO Auto-generated method stub System.out.println("Receiving " + msg.type + " from AirBrush."); if (msg.type.equals("Story")) { System.out.println("Story content: " + msg.content); Story story; // Parse the X...
else { deleteLocal(document); }
else { getInternalSessionModel().sendDelete(document.getId()); deleteLocal(document); }
void delete(final Long documentId) throws ParityException { logger.info("[LMODEL] [DOCUMENT MODEL] [DELETE]"); logger.debug(documentId); assertOnline("[LMODEL] [DOCUMENT MODEL] [DELETE] [USER IS NOT ONLINE]"); final Document document = get(documentId); if(isClosed(document)) { deleteLocal(docume...
final InternalSessionModel iSModel = getInternalSessionModel(); iSModel.sendCreate(document);
final DocumentVersion version = readLatestVersion(documentId); final DocumentVersionContent versionContent = getVersionContent(documentId, version.getVersionId()); final Set<User> users = iAModel.readTeam(documentId); final List<JabberId> team = new ArrayList<JabberId>(); for(final User user : users) { team.add(user.ge...
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
final Set<User> users = iAModel.readTeam(documentId); Collection<User> userCollection; Collection<DocumentVersion> versions; for(final User user : users) { userCollection = new Vector<User>(1); userCollection.add(user); versions = listVersions(documentId); for(final DocumentVersion version : versions) { getInternalSess...
final Calendar currentDateTime = currentDateTime(); auditor.reactivate(documentId, currentDateTime, currentUserId(), version.getVersionId(), currentUserId(), currentDateTime); notifyDocumentReactivated(readUser(currentUserId()), document, version, localEventGen);
void reactivate(final Long documentId) throws ParityException { logger.info(getApiId("[REACTIVATE]")); assertIsClosed(getErrorId("[REACTIVATE]", "[CANNOT REACTIVATE A CLOSED DOCUMENT]"), get(documentId)); // update the local state final Document document = get(documentId); assertS...
notifyTeamMemberRemoved(user, get(documentId), remoteEventGen);
void removeTeamMember(final Long documentId, final JabberId jabberId) throws ParityException { logger.info("[LMODEL] [DOCUMENT] [REMOVE TEAM MEMBER]"); logger.debug(documentId); logger.debug(jabberId); // remove the team member locally getInternalArtifactModel().removeT...