bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,270 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,271 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,272 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,273 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,274 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,275 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,276 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,277 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,278 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,279 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 3,225,280 |
private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, Context c, Box block, int minHeight, LinkedList pushedOnFirstLine) { if (c.hasFirstLineStyles()) { //first pop element styles pushed on first line for (int i = 0; i < ... | private static void saveLine(LineBox line_to_save, LineBox prev_line, Rectangle bounds, Context c, Box block, int minHeight, LinkedList pushedOnFirstLine) { if (c.hasFirstLineStyles()) { //first pop element styles pushed on first line for (int i = 0; i < ... | 3,225,282 |
public void fileNameProblemsDetected( FileNameProblemEvent fileNameProblemEvent) { log().debug( "****************** " + fileNameProblemEvent.getFolder() + " " + fileNameProblemEvent.getScanResult().getProblemFiles()); FilenameProblemDialog dialog = new FilenameProbl... | public void fileNameProblemsDetected( FileNameProblemEvent fileNameProblemEvent) { log().debug( "****************** " + fileNameProblemEvent.getFolder() + " " + fileNameProblemEvent.getScanResult().getProblemFiles()); FilenameProblemDialog dialog = new FilenameProbl... | 3,225,283 |
protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | protected String eval(String script) throws Exception { /* pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); //... | 3,225,284 |
protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | 3,225,285 |
protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | 3,225,286 |
protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | protected String eval(String script) throws Exception { pipeIn = new PipedInputStream(); in = new BufferedReader(new InputStreamReader(pipeIn)); String output = null; StringBuffer result = new StringBuffer(); out = new PrintStream(new PipedOutputStream(pipeIn), true); // ... | 3,225,287 |
static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | static List getChildContentList(Context c, Content parent) { List inlineList = new LinkedList(); List blockList = null; FirstLineStyle firstLineStyle = null; FirstLetterStyle firstLetterStyle = null; TextContent textContent = null; CascadedStyle parentStyle = parent.getStyl... | 3,225,288 |
private void checkBaseDir(File baseDir) throws FolderException { // Basic checks if (!localBase.exists()) { if (!localBase.mkdirs()) { throw new FolderException(getInfo(), Translation .getTranslation("foldercreate.error.unable_tocreate", ... | private void checkBaseDir(File baseDir) throws FolderException { // Basic checks if (!localBase.exists()) { if (!localBase.mkdirs()) { throw new FolderException(getInfo(), Translation .getTranslation("foldercreate.error.unable_to_create", ... | 3,225,289 |
public void paint(Context ctx, Box box) { //u.p("checking: " + box); //u.p("hashcode = " + box.hashCode()); if (box.border == null) return; Graphics g = ctx.getGraphics(); // TODO: color is per-side ((PWW 13/08/04)) //u.p("border = " + ctx.css.getBorderColor(box.getRealElem... | public void paint(Context ctx, Box box) { //u.p("checking: " + box); //u.p("hashcode = " + box.hashCode()); if (box.border == null) return; Graphics g = ctx.getGraphics(); // TODO: color is per-side ((PWW 13/08/04)) //u.p("border = " + ctx.css.getBorderColor(box.getRealElem... | 3,225,290 |
public R21BasicStackPresentation(R21PaneFolder control, IStackPresentationSite stackSite) { super(stackSite); paneFolder = control; shellActive = paneFolder.getControl().getShell().equals( control.getControl().getDisplay().getActiveShell()); // tabFolder.setMin... | public R21BasicStackPresentation(R21PaneFolder control, IStackPresentationSite stackSite) { super(stackSite); paneFolder = control; shellActive = paneFolder.getControl().getShell().equals( control.getControl().getDisplay().getActiveShell()); // tabFolder.setMin... | 3,225,291 |
private void updateCloseButton() { // remove the close button if needed if (current == null || !getSite().isCloseable(current)) { if (closeButton != null) { closeButton.dispose(); closeButton = null; paneFolder.flush(); } re... | private void updateCloseButton() { // remove the close button if needed if (current == null || !getSite().isCloseable(current)) { if (closeButton != null) { closeButton.dispose(); closeButton = null; paneFolder.flush(); } re... | 3,225,292 |
public RubyObject initialize(RubyObject[] args) { if (isInstanceVarDefined("begin")) { throw new RubyNameException(getRuby(), "'initialize' called twice."); } if (args.length == 3) { init(args[0], args[1], (RubyBoolean) args[2]); } else if (args.length == 2) { ... | public RubyObject initialize(RubyObject[] args) { if (isInstanceVarDefined("begin")) { throw new NameError(getRuby(), "'initialize' called twice."); } if (args.length == 3) { init(args[0], args[1], (RubyBoolean) args[2]); } else if (args.length == 2) { in... | 3,225,296 |
private RubyObject defaultObjectUnmarshal() throws IOException { RubySymbol className = (RubySymbol) unmarshalObject(); int variableCount = unmarshalInt(); RubyMap variables = new RubyHashMap(variableCount); for (int i = 0; i < variableCount; i++) { RubySymbol name = (RubySymb... | private RubyObject defaultObjectUnmarshal() throws IOException { RubySymbol className = (RubySymbol) unmarshalObject(); int variableCount = unmarshalInt(); RubyMap variables = new RubyHashMap(variableCount); for (int i = 0; i < variableCount; i++) { RubySymbol name = (RubySymb... | 3,225,297 |
public JMSPreferencePage() { super(GRID); mPreferences = new ScopedPreferenceStore(new ConfigurationScope(), Application.PLUGIN_ID); setPreferenceStore(mPreferences); } | public JMSPreferencePage() { super(GRID); mPreferences = new ScopedPreferenceStore(new ConfigurationScope(), Application.PLUGIN_ID); setPreferenceStore(mPreferences); } | 3,225,299 |
protected void createFieldEditors() { StringFieldEditor stringEditor = new StringFieldEditor( ConnectionConstants.JMS_CONNECTION_FACTORY_KEY, "Connection factory name", getFieldEditorParent() ); addField(stringEditor); stringEditor = new StringFieldEditor(... | protected void createFieldEditors() { StringFieldEditor serverUrlEditor = new UrlFieldEditor( ConnectionConstants.JMS_CONNECTION_FACTORY_KEY, "Connection factory name", getFieldEditorParent() ); addField(stringEditor); serverUrlEditor = new UrlFieldEditor(... | 3,225,300 |
protected void createFieldEditors() { StringFieldEditor stringEditor = new StringFieldEditor( ConnectionConstants.JMS_CONNECTION_FACTORY_KEY, "Connection factory name", getFieldEditorParent() ); addField(stringEditor); stringEditor = new StringFieldEditor(... | protected void createFieldEditors() { StringFieldEditor stringEditor = new StringFieldEditor( ConnectionConstants.JMS_CONNECTION_FACTORY_KEY, "Connection factory name", getFieldEditorParent() ); addField(serverUrlEditor); stringEditor = new StringFieldEdit... | 3,225,301 |
public boolean performOk() { try { mPreferences.save(); } catch (IOException e) { //TODO: do something } return super.performOk(); } | public boolean performOk() { try { serverUrlEditor.setStringValue(serverUrlEditor.getStringValue().trim()); super.performOk(); preferences.save(); } catch (IOException e) { //TODO: do something } return super.performOk(); } | 3,225,302 |
public boolean performOk() { try { mPreferences.save(); } catch (IOException e) { //TODO: do something } return super.performOk(); } | public boolean performOk() { try { mPreferences.save(); } catch (IOException e) { //TODO: do something } return true; } | 3,225,303 |
private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline( Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align ) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 3,225,304 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 3,225,306 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 3,225,307 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 3,225,308 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) {//u.p("starting to lay out the children");if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) {return box;}if ( !box.isAnonymous() ) {if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) {// u.p("doing up block for: " + box);return super.layoutChildren( c, box );}}//... | 3,225,309 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 3,225,310 |
public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | public Box layoutChildren( Context c, Box box ) { //u.p("starting to lay out the children"); if ( LayoutUtil.isHiddenNode( box.getElement(), c ) ) { return box; } if ( !box.isAnonymous() ) { if ( LayoutUtil.isBlockLayout( box.getElement(), c ) ) { // ... | 3,225,311 |
private void appear(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name .equalsIgnoreCase(IWorkbenchConstants.PL_ACTION_SET_PART_ASSOCIATIONS)) { loadActionSetPartAssociation(ext); return; } if (name.equalsIgno... | private void appear(IExtensionPoint extPt, IExtension ext) { String name = extPt.getSimpleIdentifier(); if (name .equalsIgnoreCase(IWorkbenchConstants.PL_ACTION_SET_PART_ASSOCIATIONS)) { loadActionSetPartAssociation(ext); return; } if (name.equalsIgno... | 3,225,312 |
public RubyObject eval(Ruby ruby, RubyObject self) { if (getDefnNode() != null) { if (ruby.getRubyClass() == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { ... | public RubyObject eval(Ruby ruby, RubyObject self) { if (getDefnNode() != null) { if (ruby.getRubyClass() == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { ... | 3,225,313 |
public RubyObject eval(Ruby ruby, RubyObject self) { if (getDefnNode() != null) { if (ruby.getRubyClass() == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { ... | public RubyObject eval(Ruby ruby, RubyObject self) { if (getDefnNode() != null) { if (ruby.getRubyClass() == null) { throw new RubyTypeException("no class to add method"); } //if (ruby_class == getRuby().getObjectClass() && node.nd_mid() == init) { ... | 3,225,314 |
public static boolean isFloated(CascadedStyle style) { if (style == null) return false; if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String float_val = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (float_val == null) { return f... | public static boolean isFloated(CascadedStyle style) { if (style == null) return false; if (!style.hasProperty(CSSName.DISPLAY)) return false;//default is inline String float_val = style.propertyByName(CSSName.DISPLAY).getValue().getCssText(); if (float_val == null) { return f... | 3,225,315 |
public void testCompare() { System.out.println("VersionCompareTest"); assertTrue(Util.compareVersions("1", "0.9.3")); assertTrue(Util.compareVersions("1 devel", "0.9.3")); assertFalse(Util.compareVersions("0.3 devel", "0.9.3")); assertFalse(Util.compareVersions("0.3.0", "0.9.3"));... | public void testCompare() { assertTrue(Util.compareVersions("1", "0.9.3")); assertTrue(Util.compareVersions("1 devel", "0.9.3")); assertFalse(Util.compareVersions("0.3 devel", "0.9.3")); assertFalse(Util.compareVersions("0.3.0", "0.9.3")); assertFalse(Util.compareVersions("... | 3,225,316 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; Border border = c.getCu... | 3,225,317 |
public void reloadPage() throws Exception { logger.info("Reloading Page: "); if (manager.getBaseURL() != null) { loadPage(manager.getBaseURL()); } } | public void reloadPage() throws Exception { logger.info("Reloading Page: "); if (manager.getBaseURL() != null) { loadPage(manager.getBaseURL()); } } | 3,225,318 |
final void createChildNode(final MenuElement element, final SLocation location) throws NotDefinedException { if (element == null) { throw new NullPointerException( "A child node cannot be created from a null element"); //$NON-NLS-1$ } final String id = element.getId(); LayoutNode childNode = null; if (chi... | final void createChildNode(final MenuElement element, final SLocation location) throws NotDefinedException { if (element == null) { throw new NullPointerException( "A child node cannot be created from a null element"); //$NON-NLS-1$ } final String id = element.getId(); LayoutNode childNode = null; if (chi... | 3,225,320 |
public static boolean isOnLanOrLoopback(InetAddress addr) { Reject.ifNull(addr, "Address is null"); try { return addr.isLoopbackAddress() || addr.isSiteLocalAddress() || getAllLocalNetworkAddresses().containsKey(addr); } catch (SocketException e) { return false; } ... | public static boolean isOnLanOrLoopback(InetAddress addr) { Reject.ifNull(addr, "Address is null"); try { return isOnAnySubnet((Inet4Address) addr) || addr.isLoopbackAddress() || addr.isSiteLocalAddress() || getAllLocalNetworkAddresses().containsKey(addr); } catch (SocketException e)... | 3,225,321 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | InlineBlockBox box = new InlineBlockBox(); box.element = content.getElement(); CalculatedStyle style = c.getCurrentStyle(); if (prev_align != null && !prev_align.break_after) { box.x = prev_align.x + prev_align.width; } else { box.x = 0; } box.y = 0; VerticalAlign.setupVerticalAlign(c, style, box); c.translate(box.x... | 3,225,322 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 3,225,323 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 3,225,324 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 3,225,325 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 3,225,326 |
public boolean validateDynDns(String dynDns) { // validates the dynamic dns entry if there is one entered if (!StringUtils.isBlank(dynDns)) { if (getController().getConnectionListener() != null) { // sets the new dyndns with validation enabled int res = getCont... | public boolean validateDynDns(String dynDns) { // validates the dynamic dns entry if there is one entered if (!StringUtils.isBlank(dynDns)) { if (getController().hasConnectionListener()) { // sets the new dyndns with validation enabled int res = getController()... | 3,225,327 |
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex... | protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex... | 3,225,328 |
protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex... | protected void startLayout(Graphics g) { this.removeAll(); if ( g == null ) { return; } if ( doc == null ) { return; } Element html = (Element)doc.getDocumentElement(); Element body = x.child( html, "body" ); body = html; newContex... | 3,225,329 |
private synchronized void completeLayout() { //u.p("layout thread ending"); done = true; graphics = null; panel.repaint(); } | private synchronized void completeLayout() { //u.p("layout thread ending"); done = true; graphics = null; panel.repaint(); } | 3,225,332 |
public void run() { //u.p("layout thread starting"); //u.p("graphics = " + graphics); panel.startLayout(graphics); this.completeLayout(); } | public void run() { //u.p("layout thread starting"); //u.p("graphics = " + graphics); panel.startLayout(graphics); this.completeLayout(); } | 3,225,334 |
public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; new Thread(this).start(); } else { //u.p("layout already in progress. skipping layout"); } } | public synchronized void startLayout(Graphics g) { if(isLayoutDone()) { //u.p("really starting new thread"); done = false; graphics = g; if(threaded) { new Thread(this).start(); } else { run(); } } else { //u.p("layout already in progress. skippin... | 3,225,335 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 3,225,337 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200, 200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery... | 3,225,338 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 3,225,339 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 3,225,340 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 3,225,341 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 3,225,342 |
private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, Box block, boolean last) { c.setFirstLine(false); // account for text-align TextAlign.adjustTextAlignment(c, line_to_save, containing_block, width, x, l... | 3,225,343 |
public RubyModule m_type() { return (RubyClass)getRubyClass(); } | public RubyModule m_type() { return getRubyClass(); } | 3,225,344 |
public Stylesheet parse(java.io.Reader reader, StylesheetInfo info) { InputSource is = new InputSource(reader); CSSStyleSheet style = null; try { style = parser.parseStyleSheet(is); } catch (java.io.IOException e) { throw new XRRuntimeException("IOException on parsi... | public Stylesheet parse(java.io.Reader reader, StylesheetInfo info) { InputSource is = new InputSource(reader); CSSStyleSheet style = null; try { style = parser.parseStyleSheet(is); } catch (java.io.IOException e) { throw new XRRuntimeException("IOException on parsi... | 3,225,346 |
private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | 3,225,347 |
private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.STYLE_RULE) { stylesheet.add... | 3,225,348 |
private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | 3,225,349 |
private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | 3,225,350 |
private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | private void pullRulesets(org.w3c.dom.css.CSSStyleSheet cssSheet, Stylesheet stylesheet) { org.w3c.dom.css.CSSRuleList rl = cssSheet.getCssRules(); int nr = rl.getLength(); for (int i = 0; i < nr; i++) { if (rl.item(i).getType() == org.w3c.dom.css.CSSRule.IMPORT_RULE) { ... | 3,225,351 |
public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ... | public void markRun(int offset, BlockBox previous, BlockBox current) { RelayoutData previousData = get(offset-1); RelayoutData currentData = get(offset); IdentValue previousAfter = previous.getStyle().getCalculatedStyle().getIdent( ... | 3,225,353 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 3,225,354 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 3,225,355 |
public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | public static void layoutContent(final LayoutContext c, final BlockBox block, List contentList) { Boxing.StyleSetListener styleSetListener = new Boxing.StyleSetListener() { public void onStyleSet(BlockBox child) { boolean moved = false; if (child.getStyle(... | 3,225,356 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 3,225,357 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 3,225,358 |
private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | private static void processPageBreakAvoidRun(final LayoutContext c, final BlockBox block, List contentList, Boxing.StyleSetListener styleSetListener, int offset, RelayoutDataList relayoutDataList, RelayoutData relayoutData, BlockBox childBox) { if (offset > 0) { ... | 3,225,359 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static void relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { RelayoutResul... | 3,225,360 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,361 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,362 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,363 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,364 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,365 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,366 |
private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | private static RelayoutResult relayoutOnNewPage( LayoutContext c, List contentList, BlockBox block, StyleSetListener styleSetListener, RelayoutDataList relayoutDataList, int start, int end) { if (checkForPendingInlines(relayoutDataList, start, end)) { Rel... | 3,225,367 |
public void testForRedundantKeySequenceBindings() throws ComponentException { final IWorkbenchWindow window = openTestWindow(); final IWorkbench workbench = window.getWorkbench(); final IBindingService bindingService = (IBindingService) workbench .getService(IBindingService.class); final Binding[] bindings = bi... | public void testForRedundantKeySequenceBindings() throws ComponentException { final IWorkbenchWindow window = openTestWindow(); final IWorkbench workbench = window.getWorkbench(); final IBindingService bindingService = (IBindingService) workbench .getService(IBindingService.class); final Binding[] bindings = bi... | 3,225,370 |
public void testForRedundantKeySequenceBindings() throws ComponentException { final IWorkbenchWindow window = openTestWindow(); final IWorkbench workbench = window.getWorkbench(); final IBindingService bindingService = (IBindingService) workbench .getService(IBindingService.class); final Binding[] bindings = bi... | public void testForRedundantKeySequenceBindings() throws ComponentException { final IWorkbenchWindow window = openTestWindow(); final IWorkbench workbench = window.getWorkbench(); final IBindingService bindingService = (IBindingService) workbench .getService(IBindingService.class); final Binding[] bindings = bi... | 3,225,371 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 3,225,372 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 3,225,373 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 3,225,374 |
protected void checkPermissions(PortletRequest req) throws Exception { // See LEP-850 ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); User user = themeDisplay.getUser(); String groupId = ParamUtil.getString(req, "groupId"); Group group = null; if (Validator.isNotNull(groupId)... | protected void checkPermissions(PortletRequest req) throws Exception { // See LEP-850 ThemeDisplay themeDisplay = (ThemeDisplay)req.getAttribute(WebKeys.THEME_DISPLAY); User user = themeDisplay.getUser(); String groupId = ParamUtil.getString(req, "groupId"); Group group = null; if (Validator.isNotNull(groupId)... | 3,225,375 |
public static void main( String[] args ) throws Exception { if( args.length != 1 ) { System.out.println( "Usage: " + "FIXLogViewer dictionary"); return; } String dictionaryFileName = args[0]; DataDictionary dataDictionary = new DataDictionary( dictionaryFileName ); try { UIManager.setLookAndFeel... | public static void main( String[] args ) throws Exception { if( args.length != 1 ) { System.out.println( "Usage: " + "FIXLogViewer dictionary"); return; } String dictionaryFileName = args[0]; DataDictionary dataDictionary = new DataDictionary( dictionaryFileName ); try { UIManager.setLookAndFeel... | 3,225,376 |
public static void main( String[] args ) throws Exception { if( args.length != 1 ) { System.out.println( "Usage: " + "FIXLogViewer dictionary"); return; } String dictionaryFileName = args[0]; DataDictionary dataDictionary = new DataDictionary( dictionaryFileName ); try { UIManager.setLookAndFeel... | public*/ String dictionaryFileName = "FIX44.xml"; static*/ String dictionaryFileName = "FIX44.xml"; void*/ String dictionaryFileName = "FIX44.xml"; main(*/ String dictionaryFileName = "FIX44.xml"; String[]*/ String dictionaryFileName = "FIX44.xml"; args*/ String dictionaryFileName = "FIX44.xml"; )*/ String dictionaryF... | 3,225,377 |
protected void buttonPressed(int id) { if (id == GOTO_ACTION_ID) { IAction gotoAction = getGotoAction(); if (gotoAction != null) { if (!isMultipleJobErrors() || isPromptToClose()) { okPressed(); // close the dialog gotoAction.run(); // run the goto ... | protected void buttonPressed(int id) { if (id == GOTO_ACTION_ID) { IAction gotoAction = getGotoAction(); if (gotoAction != null) { if (!isMultipleJobErrors() || isPromptToClose()) { okPressed(); // close the dialog gotoAction.run(); // run the goto ... | 3,225,378 |
public boolean close() { Rectangle shellPosition = getShell().getBounds(); boolean result = super.close(); ProgressManagerUtil.animateDown(shellPosition); ProgressManager.getInstance().errorManager.dialogClosed(); return result; } | public boolean close() { Rectangle shellPosition = getShell().getBounds(); boolean result = super.close(); ProgressManagerUtil.animateDown(shellPosition); ProgressManager.getInstance().errorManager.dialogClosed(); return result; } | 3,225,379 |
protected void createButtonsForButtonBar(Composite parent) { IAction gotoAction = getGotoAction(); String text = null; if (gotoAction != null) { text = gotoAction.getText(); } if (text == null) { // Text is set to this initiallybut will be changed for active ... | protected void createButtonsForButtonBar(Composite parent) { IAction gotoAction = getGotoAction(); String text = null; if (gotoAction != null) { text = gotoAction.getText(); } if (text == null) { // Text is set to this initiallybut will be changed for active ... | 3,225,380 |
private void createJobListArea(Composite parent) { // Display a list of jobs that have reported errors jobListViewer = new TableViewer(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); jobListViewer.setSorter(getViewerSorter()); Control control = jobListViewe... | private void createJobListArea(Composite parent) { // Display a list of jobs that have reported errors jobListViewer = new TableViewer(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); jobListViewer.setSorter(getViewerSorter()); Control control = jobListViewe... | 3,225,381 |
public void selectionChanged(SelectionChangedEvent event) { handleSelectionChange(); } | public void selectionChanged(SelectionChangedEvent event) { handleSelectionChange(); } | 3,225,382 |
private IAction getGotoAction() { Object property = selectedError.getJob().getProperty(IProgressConstants.ACTION_PROPERTY); if (property instanceof IAction) { return (IAction)property; } return null; } | private IAction getGotoAction() { Object property = selectedError.getJob().getProperty(IProgressConstants.ACTION_PROPERTY); if (property instanceof IAction) { return (IAction)property; } return null; } | 3,225,383 |
private IAction getGotoAction() { Object property = selectedError.getJob().getProperty(IProgressConstants.ACTION_PROPERTY); if (property instanceof IAction) { return (IAction)property; } return null; } | private IAction getGotoAction() { Object property = selectedError.getJob().getProperty(IProgressConstants.ACTION_PROPERTY); if (property instanceof IAction) { return (IAction)property; } return null; } | 3,225,384 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.