bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static void paintBackground(Context c, Box box, Rectangle bounds) { Box block = box; // cache the background color //no sense getBackgroundColor(c); // get the css properties CalculatedStyle style = c.getCurrentStyle(); String back_image = style.getStringProperty(CSS... | public static void paintBackground(Context c, Box box, Rectangle bounds) { Box block = box; // cache the background color //no sense getBackgroundColor(c); // get the css properties CalculatedStyle style = c.getCurrentStyle(); String back_image = style.getStringProperty(CSS... | 3,226,036 |
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); if (block.getState() != Box.DONE) { height += c.getCanvas().getHeight(); } Border margin = block.getMarginWidth(); Rectangle boun... | public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); if (block.getState() != Box.DONE) { height += c.getCanvas().getHeight(); } Border margin = block.getStyle().getMarginWidth(); Rec... | 3,226,037 |
public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); if (block.getState() != Box.DONE) { height += c.getCanvas().getHeight(); } Border margin = block.getMarginWidth(); Rectangle boun... | public static void paintNormal(Context c, Box block, boolean restyle) { int width = block.getWidth(); int height = block.getHeight(); if (block.getState() != Box.DONE) { height += c.getCanvas().getHeight(); } Border margin = block.getMarginWidth(); Rectangle boun... | 3,226,038 |
public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx, true); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx, true); } | public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx, block.getStyle().getCalculatedStyle(), true); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx, true); } | 3,226,039 |
public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx, true); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx, true); } | public static void paintRelative(Context ctx, Box block, boolean restyle) { Relative.translateRelative(ctx, true); paintNormal(ctx, block, restyle); Relative.untranslateRelative(ctx, block.getStyle().getCalculatedStyle(), true); } | 3,226,040 |
private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); FloatedBlockBox last = (FloatedBlockBox)floats.g... | private void alignToLastFloat(CssContext cssCtx, BlockFormattingContext bfc, FloatedBlockBox current, int direction) { List floats = getFloats(direction); if (floats.size() > 0) { Point offset = bfc.getOffset(); FloatedBlockBox last = (FloatedBlockBox)floats.g... | 3,226,042 |
public void floatPending(LayoutContext c, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlockBox block = (... | public void floatPending(LayoutContext c, BlockFormattingContext bfc, List pendingFloats) { if (pendingFloats.size() > 0) { for (int i = 0; i < pendingFloats.size(); i++) { if (i != 0) { c.setFloatingY(0d); } FloatedBlockBox block = (... | 3,226,043 |
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th... | public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height Element elem = (Element) box.getNode(); // prepare for the list items int old_counter... | 3,226,046 |
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th... | public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th... | 3,226,047 |
public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th... | public Box layoutChildren(Context c, Box box) { BlockBox block = (BlockBox) box; c.shrinkExtents(block); // save the original height in case it // has a fixed height int original_height = block.height; Element elem = (Element) box.getNode(); // prepare for th... | 3,226,048 |
public int compare(Object o1, Object o2) { IRubyObject obj1 = (IRubyObject) o1; IRubyObject obj2 = (IRubyObject) o2; if (o1 instanceof RubyFixnum && o2 instanceof RubyFixnum) { long diff = RubyNumeric.fix2long(obj1) - RubyNumeric.fix2long(obj2); return di... | public int compare(Object o1, Object o2) { IRubyObject obj1 = (IRubyObject) o1; IRubyObject obj2 = (IRubyObject) o2; if (o1 instanceof RubyFixnum && o2 instanceof RubyFixnum) { long diff = RubyNumeric.fix2long(obj1) - RubyNumeric.fix2long(obj2); return di... | 3,226,049 |
public RubyString join(RubyString sep) { int length = getLength(); if (length == 0) { getRuntime().newString(""); } boolean taint = isTaint() || sep.isTaint(); RubyString str; IRubyObject tmp = entry(0); taint |= tmp.isTaint(); if (tmp instanceof Ru... | public RubyString join(RubyString sep) { int length = getLength(); if (length == 0) { getRuntime().newString(""); } boolean taint = isTaint() || sep.isTaint(); RubyString str; IRubyObject tmp = entry(0); taint |= tmp.isTaint(); if (tmp instanceof Ru... | 3,226,050 |
public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | 3,226,052 |
public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | 3,226,053 |
public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | public Box layoutChildren(Context c, Box box) { //u.p("InlineLayout.layoutChildren(: " + box); //u.p("parent box = " + c.parent_box); //u.p("placement point = " + c.placement_point); if(!box.isAnonymous()) { if(isBlockLayout(box.getElement(),c)) { return super.layoutChildren(c,box); ... | 3,226,054 |
private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // informatio... | 3,226,056 |
private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | 3,226,057 |
private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | 3,226,058 |
private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | private void _fixNewLine() throws PortalException, SystemException { // This is a workaround for a limitation in Oracle sqlldr's inability // insert new line characters for long varchar columns. See // http://forums.liferay.com/index.php?showtopic=2761&hl=oracle for more // information. boolean checkNewLine = fal... | 3,226,059 |
public void actionPerformed( ActionEvent evt ) { root.panel.view.c.debug_draw_boxes = !root.panel.view.c.debug_draw_boxes; root.panel.view.repaint(); } | public void actionPerformed( ActionEvent evt ) { root.panel.view.getContext().debug_draw_boxes = !root.panel.view.getContext().debug_draw_boxes; root.panel.view.repaint(); } | 3,226,061 |
public void actionPerformed( ActionEvent evt ) { root.panel.view.c.debug_draw_inline_boxes = !root.panel.view.c.debug_draw_inline_boxes; root.panel.view.repaint(); } | public void actionPerformed( ActionEvent evt ) { root.panel.view.getContext().debug_draw_inline_boxes = !root.panel.view.getContext().debug_draw_inline_boxes; root.panel.view.repaint(); } | 3,226,062 |
public void actionPerformed( ActionEvent evt ) { root.panel.view.c.debug_draw_line_boxes = !root.panel.view.c.debug_draw_line_boxes; root.panel.view.repaint(); } | public void actionPerformed( ActionEvent evt ) { root.panel.view.getContext().debug_draw_line_boxes = !root.panel.view.getContext().debug_draw_line_boxes; root.panel.view.repaint(); } | 3,226,063 |
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | 3,226,064 |
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | 3,226,065 |
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | 3,226,066 |
public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | public void actionPerformed( ActionEvent evt ) { if ( inspectorFrame == null ) { inspectorFrame = new JFrame( "DOM Tree Inspector" ); } if ( inspector == null ) { // inspectorFrame = new JFrame("DOM Tree Inspector"); // CLEAN: this is... | 3,226,067 |
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,226,069 |
public void addSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == null) { boolean hadListeners = hasListeners(); setChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (setChangeListeners instanceof Collection) { list... | public void addSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == null) { boolean hadListeners = hasListeners(); setChangeListeners = listener; if (!hadListeners) { firstListenerAdded(); } return; } Collection listenerList; if (setChangeListeners instanceof Collection) { list... | 3,226,070 |
public void removeSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == listener) { setChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (setChangeListeners instanceof Collection) { Collection listenerList = (Collection) setChangeListeners; list... | public void removeSetChangeListener(ISetChangeListener listener) { if (setChangeListeners == listener) { setChangeListeners = null; if (!hasListeners()) { lastListenerRemoved(); } return; } if (setChangeListeners instanceof Collection) { Collection listenerList = (Collection) setChangeListeners; list... | 3,226,071 |
public final boolean equals(final Object object) { if (object instanceof LegacySelectionEnablerWrapper) { final LegacySelectionEnablerWrapper that = (LegacySelectionEnablerWrapper) object; return Util.equals(this.enabler, that.enabler) && Util.equals(this.getWindow(), that.getWindow()); } return false; } | public final boolean equals(final Object object) { if (object instanceof LegacySelectionEnablerWrapper) { final LegacySelectionEnablerWrapper that = (LegacySelectionEnablerWrapper) object; return Util.equals(this.enabler, that.enabler) && Util.equals(this.getWindow(), that.getWindow()); } return false; } | 3,226,072 |
public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | 3,226,073 |
public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | 3,226,074 |
public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | 3,226,075 |
public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | public void run() { // go in ready state started = true; byte[] sizeArr = new byte[4]; while (!Thread.currentThread().isInterrupted()) { // check connection status if (!isConnected()) { break; } ... | 3,226,076 |
public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | 3,226,077 |
public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | 3,226,078 |
public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | public ConnectionHandler(Controller controller, Socket socket) throws ConnectionException { super(controller); if (socket == null) { throw new NullPointerException("Socket is null"); } if (socket.isClosed() || !socket.isConnected()) { throw new ConnectionE... | 3,226,079 |
public void setMember(Member member) { this.member = member; //if (member != null && member.isOnLAN()) { // getController().getNodeManager().addChatMember(member); // } } | public void setMember(Member member) { this.member = member; //if (member != null && member.isOnLAN()) { // getController().getNodeManager().addChatMember(member); // } } | 3,226,080 |
public void shutdown() { if (shutdown) { return; } shutdown = true; log().verbose("Shutting down"); boolean wasStarted = started; started = false; // Clear magic ids myMagicId = null; remoteMagicId = null; // Trigger all waiting treads... | public void shutdown() { if (shutdown) { return; } shutdown = true; if (logVerbose) { log().verbose("Shutting down"); } boolean wasStarted = started; started = false; // Clear magic ids myMagicId = null; remoteMagicId = null; // Trigge... | 3,226,081 |
public void waitForEmptySendQueue() { boolean waited = false; while (!messagesToSend.isEmpty() && isConnected()) { try { // log().verbose("Waiting for empty send buffer"); waited = true; // Wait a bit the let the send queue get empty ... | public void waitForEmptySendQueue() { boolean waited = false; while (!messagesToSend.isEmpty() && isConnected()) { try { // log().verbose("Waiting for empty send buffer"); waited = true; // Wait a bit the let the send queue get empty ... | 3,226,082 |
public com.liferay.portlet.messageboards.model.MBMessage update( com.liferay.portlet.messageboards.model.MBMessage mbMessage) throws SystemException { Session session = null; try { if (mbMessage.isNew() || mbMessage.isModified()) { session = openSession(); if (mbMessage.isNew()) { MBMessage mbMessageMo... | public com.liferay.portlet.messageboards.model.MBMessage update( com.liferay.portlet.messageboards.model.MBMessage mbMessage) throws SystemException { Session session = null; try { if (mbMessage.isNew() || mbMessage.isModified()) { session = openSession(); if (mbMessage.isNew()) { MBMessage mbMessageMo... | 3,226,083 |
public void downloadRequested(TransferManagerEvent event) { addDownload(event.getDownload()); } | public void downloadRequested(TransferManagerEvent event) { addOrUpdateDownload(event.getDownload()); } | 3,226,084 |
public void pendingDownloadEnqueud(TransferManagerEvent event) { addDownload(event.getDownload()); } | public void pendingDownloadEnqueud(TransferManagerEvent event) { addOrUpdateDownload(event.getDownload()); } | 3,226,085 |
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest(new TestSuite(TestRubyObject.class)); suite.addTest(new TestSuite(TestRubyNil.class)); suite.addTest(new TestSuite(TestRubyHash.class)); suite.addTest(new TestSuite(TestRubyTime.class)); suite.add... | suite.addTest(ScriptTestSuite.suite()); suite.addTest(ScriptTestSuite.suite()); suite.addTest(ScriptTestSuite.suite()); suite.addTest(ScriptTestSuite.suite()); publicsuite.addTest(ScriptTestSuite.suite()); staticsuite.addTest(ScriptTestSuite.suite()); Testsuite.addTest(ScriptTestSuite.suite()); suite()suite.addTest(Scr... | 3,226,086 |
public void initialize(IWorkbenchConfigurer configurer) { // make sure we always save and restore workspace state configurer.setSaveAndRestore(true); // setup the event loop exception handler exceptionHandler = new IDEExceptionHandler(configurer); // register workspace adapters ... | public void initialize(IWorkbenchConfigurer configurer) { // make sure we always save and restore workspace state configurer.setSaveAndRestore(true); // setup the event loop exception handler exceptionHandler = new IDEExceptionHandler(configurer); // register workspace adapters ... | 3,226,087 |
public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | 3,226,088 |
public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | 3,226,089 |
public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | public static String[] getThreadPriority( PortletPreferences prefs, double value, ThemeDisplay themeDisplay) throws Exception { String[] priorities = prefs.getValues("priorities", new String[0]); for (int i = 0; i < priorities.length; i++) { String[] priority = StringUtil.split(priorities[i]); String priority... | 3,226,090 |
public static String getBreadcrumbs( String categoryId, String topicId, String messageId, PageContext pageContext, RenderResponse res) throws Exception { if (Validator.isNotNull(topicId) && Validator.isNotNull(messageId)) { MBMessage message = MBMessageLocalServiceUtil.getMessage( topicId, messageId); ret... | public static String getBreadcrumbs( String categoryId, String topicId, String messageId, PageContext pageContext, RenderResponse res) throws Exception { if (Validator.isNotNull(topicId) && Validator.isNotNull(messageId)) { MBMessage message = MBMessageLocalServiceUtil.getMessage( topicId, messageId); ret... | 3,226,091 |
public static String getBreadcrumbs( String categoryId, String topicId, String messageId, PageContext pageContext, RenderResponse res) throws Exception { if (Validator.isNotNull(topicId) && Validator.isNotNull(messageId)) { MBMessage message = MBMessageLocalServiceUtil.getMessage( topicId, messageId); ret... | public static String getBreadcrumbs( String categoryId, String topicId, String messageId, PageContext pageContext, RenderResponse res) throws Exception { if (Validator.isNotNull(topicId) && Validator.isNotNull(messageId)) { MBMessage message = MBMessageLocalServiceUtil.getMessage( topicId, messageId); ret... | 3,226,092 |
public static Message getTestableExecutionReport() { Message aMessage = FIXMessageUtil.newExecutionReport(new InternalID("456"), CL_ORD_ID, "987", ExecTransType.STATUS, ExecType.PARTIAL_FILL, OrdStatus.PARTIALLY_FILLED, Side.BUY, new BigDecimal(1000), new BigDecimal("12.3"), ne... | public static Message getTestableExecutionReport() { Message aMessage = FIXMessageUtil.newExecutionReport(new InternalID("456"), CL_ORD_ID, "987", ExecTransType.STATUS, ExecType.PARTIAL_FILL, OrdStatus.PARTIALLY_FILLED, Side.BUY, new BigDecimal(1000), new BigDecimal("12.3"), ne... | 3,226,093 |
public static boolean writeFileList(Collection<FileInfo> fileInfos, String header, File logFile) { if (logFile == null) { throw new NullPointerException("Logfile is null"); } if (fileInfos == null) { throw new NullPointerException("Files are null"); } ... | public static boolean writeFileList(Collection<FileInfo> fileInfos, String header, File logFile) { if (logFile == null) { throw new NullPointerException("Logfile is null"); } if (fileInfos == null) { throw new NullPointerException("Files are null"); } ... | 3,226,094 |
public static boolean writeFileList(Collection<FileInfo> fileInfos, String header, File logFile) { if (logFile == null) { throw new NullPointerException("Logfile is null"); } if (fileInfos == null) { throw new NullPointerException("Files are null"); } ... | fOut.write(details.toString().getBytes()); fOut.write(details.toString().getBytes()); fOut.write(details.toString().getBytes()); fOut.write(details.toString().getBytes()); publicfOut.write(details.toString().getBytes()); staticfOut.write(details.toString().getBytes()); booleanfOut.write(details.toString().getBytes()); ... | 3,226,095 |
public TreeTest(String testName) { super(testName); } | public TreeTest(String testName) { super(testName); } | 3,226,096 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { try { String topicId = ParamUtil.getString(req, "topicId"); String messageId = ParamUtil.getString(req, "messageId"); MBMessageDisplay messageDisplay = MBM... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { try { String topicId = ParamUtil.getString(req, "topicId"); String messageId = ParamUtil.getString(req, "messageId"); MBMessageDisplay messageDisplay = MBM... | 3,226,097 |
public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { try { String topicId = ParamUtil.getString(req, "topicId"); String messageId = ParamUtil.getString(req, "messageId"); MBMessageDisplay messageDisplay = MBM... | public ActionForward render( ActionMapping mapping, ActionForm form, PortletConfig config, RenderRequest req, RenderResponse res) throws Exception { try { String topicId = ParamUtil.getString(req, "topicId"); String messageId = ParamUtil.getString(req, "messageId"); MBMessageDisplay messageDisplay = MBM... | 3,226,098 |
public com.liferay.portal.model.UserTracker update( com.liferay.portal.model.UserTracker userTracker) throws SystemException { Session session = null; try { if (userTracker.isNew() || userTracker.isModified()) { session = openSession(); if (userTracker.isNew()) { UserTracker userTrackerModel = new User... | public com.liferay.portal.model.UserTracker update( com.liferay.portal.model.UserTracker userTracker) throws SystemException { Session session = null; try { if (userTracker.isNew() || userTracker.isModified()) { session = openSession(); if (userTracker.isNew()) { UserTracker userTrackerModel = new User... | 3,226,099 |
public static User updateUser( HttpServletRequest req, String userId, String emailAddress, String languageId, String timeZoneId, String greeting, String resolution, String comments, String smsSn, String aimSn, String icqSn, String msnSn, String ymSn) throws PortalException, SystemException { String password ... | public static User updateUser( HttpServletRequest req, String userId, String emailAddress, String languageId, String timeZoneId, String greeting, String resolution, String comments, String smsSn, String aimSn, String icqSn, String msnSn, String ymSn) throws PortalException, SystemException { String password ... | 3,226,100 |
public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | 3,226,101 |
public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | 3,226,102 |
public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | public void createControl(Composite parent) { this.background = parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND); // Canvas to show the image. imageCanvas = new Canvas(parent, SWT.NONE); imageCanvas.setBackground( parent.getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)); imageCanvas.setTo... | 3,226,103 |
public void paintControl(PaintEvent event) { paintImage(event, getImage(), getImageData()[0]); } | public void paintControl(PaintEvent event) { paintImage(event, getImage(), getImageData()[0]); } | 3,226,105 |
public void getValue(AccessibleControlEvent arg0) { if (animated) arg0.result = ProgressMessages.getString("AnimationItem.InProgressStatus"); //$NON-NLS-1$ else arg0.result = ProgressMessages.getString("AnimationItem.NotRunningStatus"); //$NON-NLS-1$ } | public void getValue(AccessibleControlEvent arg0) { if (animated) arg0.result = ProgressMessages.getString("AnimationItem.InProgressStatus"); //$NON-NLS-1$ else arg0.result = ProgressMessages.getString("AnimationItem.NotRunningStatus"); //$NON-NLS-1$ } | 3,226,106 |
public static void checkExceeds(Box block) { Box parent = block.getParent(); if (parent != null) { // FIXME Not right, for example // <div style="height: 3in; width: 1in;"> // <div> // <div style="height 5in; width: 1in;"> // </div> ... | public static void checkExceeds(Box block) { Box parent = block.getParent(); if (parent != null) { // FIXME Not right, for example // <div style="height: 3in; width: 1in;"> // <div> // <div style="height 5in; width: 1in;"> // </div> ... | 3,226,107 |
private static void checkPageBreakBefore(Context c, Box block) { if (c.isPrint()) { if ((c.isPendingPageBreak() || c.getCurrentStyle().propertyByName(CSSName.PAGE_BREAK_BEFORE).isIdent(IdentValue.ALWAYS))) { block.moveToNextPage(c, false); block.set... | private static void checkPageBreakBefore(Context c, Box block) { if (c.isPrint()) { if ((c.isPendingPageBreak() || c.getCurrentStyle().propertyByName(CSSName.PAGE_BREAK_BEFORE).isIdent(IdentValue.ALWAYS))) { block.moveToNextPage(c, false); block.get... | 3,226,108 |
public static RubyJavaInterface newJavaInterface(final Ruby ruby, final Method interfaceMethod, final RubyProc proc) { return new RubyJavaInterface(ruby, Proxy.newProxyInstance(null, new Class[]{interfaceMethod.getDeclaringClass()}, new InvocationHandler() { public Object invoke(Object recv, Metho... | public static RubyJavaInterface newJavaInterface(final Ruby ruby, final Method interfaceMethod, final RubyProc proc) { return new RubyJavaInterface(ruby, Proxy.newProxyInstance(null, new Class[]{interfaceMethod.getDeclaringClass()}, new InvocationHandler() { public Object invoke(Object recv, Metho... | 3,226,110 |
public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, proc.call(JavaUtil.convertJavaToRuby(ruby, args))); } | public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, proc.call(JavaUtil.convertJavaArrayToRuby(ruby, args))); } | 3,226,111 |
public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, method.call(JavaUtil.convertJavaToRuby(ruby, args))); } | public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, method.call(JavaUtil.convertJavaArrayToRuby(ruby, args))); } | 3,226,112 |
public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, receiver.send(method, JavaUtil.convertJavaToRuby(ruby, args)), imethod.getReturnType()); } | public Object invoke(Object recv, Method imethod, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, receiver.send(method, JavaUtil.convertJavaArrayToRuby(ruby, args))); } | 3,226,113 |
public Object invoke(Object recv, Method method, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, receiver.send(RubyString.newString(ruby, method.getName()), JavaUtil.convertJavaToRuby(ruby, args)), method.getReturnType()); } | public Object invoke(Object recv, Method method, Object[] args) { return JavaUtil.convertJavaToRuby(ruby, receiver.send(RubyString.newString(ruby, method.getName()), JavaUtil.convertJavaArrayToRuby(ruby, args))); } | 3,226,114 |
private List getStylesheets() { List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.USER_AGENT); info.setMed... | private List getStylesheets() { List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.USER_AGENT); info.setMed... | 3,226,115 |
public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } if (img != null) { ... | public Image getImage(String uri) { java.io.InputStream is = null; Image img = null; if (imageCache != null) { SoftReference ref = (SoftReference) imageCache.get(uri); if (ref != null) { img = (Image) ref.get(); } if (img != null) { ... | 3,226,116 |
public java.io.Reader getReader(String uri) { java.io.InputStream is = null; Reader reader = null; try { is = new URL(resolveURI(uri)).openStream(); reader = new BufferedReader(new java.io.InputStreamReader(is)); } catch (java.net.MalformedURLException e) { ... | public java.io.Reader getReader(String uri) { java.io.InputStream is = null; Reader reader = null; try { is = new URL(uri).openStream(); reader = new BufferedReader(new java.io.InputStreamReader(is)); } catch (java.net.MalformedURLException e) { XRLog.exc... | 3,226,117 |
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | 3,226,118 |
private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | private static void drawText(Context c, Box box, String type) { String text = ""; if (type.equals("decimal")) { text = box.list_count + "."; } if (type.equals("lower-latin")) { text = toLatin(box.list_count).toLowerCase() + "."; } if (type.equals("uppe... | 3,226,119 |
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | 3,226,120 |
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | 3,226,121 |
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | 3,226,122 |
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | 3,226,123 |
public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | public static void paint(Context c, Box box) { String type = c.css.getStyle(box.getNode()).getStringProperty("list-style-type"); if (type.equals("none")) { return; } if (type.equals("lower-greek")) { type = "decimal"; } if (type.equals("decimal-leading... | 3,226,124 |
public Object[] getElements(Object inputElement) { ExtensionFilterViewerRegistry filterRegistry = ExtensionFilterRegistryManager.getInstance().getViewerRegistry(contentService.getViewerId()); List results = new ArrayList(); INavigatorContentDescriptor[] descriptors = CONTENT_DESCRIPTOR_REGISTRY.getAllContentDescrip... | public Object[] getElements(Object inputElement) { ExtensionFilterViewerRegistry filterRegistry = ExtensionFilterRegistryManager.getInstance().getViewerRegistry(contentService.getViewerId()); List results = new ArrayList(); INavigatorContentDescriptor[] descriptors = CONTENT_DESCRIPTOR_REGISTRY.getAllContentDescrip... | 3,226,125 |
private void createAutoBuildPref(Composite composite) { autoBuildButton = new Button(composite, SWT.CHECK); autoBuildButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.autobuild")); //$NON-NLS-1$ autoBuildButton.setFont(composite.getFont()); autoBuildButton.setSelection(ResourcesPlugin.getWorkspace... | private void createAutoBuildPref(Composite composite) { autoBuildButton = new Button(composite, SWT.CHECK); autoBuildButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.autobuild")); //$NON-NLS-1$ autoBuildButton.setFont(composite.getFont()); autoBuildButton.setSelection(ResourcesPlugin.getWorkspace... | 3,226,126 |
protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | 3,226,127 |
protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | 3,226,128 |
protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | 3,226,129 |
protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | protected Control createContents(Composite parent) { WorkbenchHelp.setHelp(parent, IHelpContextIds.WORKBENCH_PREFERENCE_PAGE); Composite composite = createComposite(parent); createAutoBuildPref(composite); createSaveAllBeforeBuildPref(composite); createLaunchPromptPref(composite); createRefreshWorkspaceOnStartup... | 3,226,130 |
protected void createExitPromptPref(Composite composite) { exitPromptButton = new Button(composite, SWT.CHECK); exitPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.exitPromptButton")); //$NON-NLS-1$ exitPromptButton.setFont(composite.getFont()); exitPromptButton.setSelection(getIDEPreferen... | protected void createExitPromptPref(Composite composite) { exitPromptButton = new Button(composite, SWT.CHECK); exitPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.exitPromptButton")); //$NON-NLS-1$ exitPromptButton.setFont(composite.getFont()); exitPromptButton.setSelection(getIDEPreferen... | 3,226,131 |
protected void createLaunchPromptPref(Composite composite) { launchPromptButton = new Button(composite, SWT.CHECK); launchPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.launchPromptButton")); //$NON-NLS-1$ launchPromptButton.setFont(composite.getFont()); // TODO: This should get the value... | protected void createLaunchPromptPref(Composite composite) { launchPromptButton = new Button(composite, SWT.CHECK); launchPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.launchPromptButton")); //$NON-NLS-1$ launchPromptButton.setFont(composite.getFont()); // TODO: This should get the value... | 3,226,132 |
protected void createLaunchPromptPref(Composite composite) { launchPromptButton = new Button(composite, SWT.CHECK); launchPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.launchPromptButton")); //$NON-NLS-1$ launchPromptButton.setFont(composite.getFont()); // TODO: This should get the value... | protected void createLaunchPromptPref(Composite composite) { launchPromptButton = new Button(composite, SWT.CHECK); launchPromptButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.launchPromptButton")); //$NON-NLS-1$ launchPromptButton.setFont(composite.getFont()); // TODO: This should get the value... | 3,226,133 |
protected void createRefreshWorkspaceOnStartupPref(Composite composite) { refreshButton = new Button(composite, SWT.CHECK); refreshButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.refreshButton")); //$NON-NLS-1$ refreshButton.setFont(composite.getFont()); refreshButton.setSelection(getIDEPreferen... | protected void createRefreshWorkspaceOnStartupPref(Composite composite) { refreshButton = new Button(composite, SWT.CHECK); refreshButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.refreshButton")); //$NON-NLS-1$ refreshButton.setFont(composite.getFont()); refreshButton.setSelection(getIDEPreferen... | 3,226,134 |
protected void createSaveAllBeforeBuildPref(Composite composite) { autoSaveAllButton = new Button(composite, SWT.CHECK); autoSaveAllButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.savePriorToBuilding")); //$NON-NLS-1$ autoSaveAllButton.setFont(composite.getFont()); autoSaveAllButton.setSelection... | protected void createSaveAllBeforeBuildPref(Composite composite) { autoSaveAllButton = new Button(composite, SWT.CHECK); autoSaveAllButton.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.savePriorToBuilding")); //$NON-NLS-1$ autoSaveAllButton.setFont(composite.getFont()); autoSaveAllButton.setSelection... | 3,226,135 |
private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | 3,226,136 |
private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | 3,226,137 |
private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | 3,226,138 |
private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | private void createSaveIntervalGroup(Composite composite) { Composite groupComposite = new Composite(composite, SWT.LEFT); GridLayout layout = new GridLayout(); layout.numColumns = 2; groupComposite.setLayout(layout); GridData gd = new GridData(); gd.horizontalAlignment = GridData.FILL; gd.grabExcessHorizontalS... | 3,226,139 |
public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(FieldEditor.IS_VALID)) setValid(saveInterval.isValid()); } | public void propertyChange(PropertyChangeEvent event) { if (event.getProperty().equals(FieldEditor.IS_VALID)) setValid(saveInterval.isValid()); } | 3,226,140 |
protected void createShowTasksOnAutoBuildPref(Composite composite) { showTasks = new Button(composite, SWT.CHECK); showTasks.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.showTasks")); //$NON-NLS-1$ showTasks.setFont(composite.getFont()); showTasks.setSelection(getIDEPreferenceStore().getBoolean(IDEI... | protected void createShowTasksOnAutoBuildPref(Composite composite) { showTasks = new Button(composite, SWT.CHECK); showTasks.setText(IDEWorkbenchMessages.getString("WorkbenchPreference.showTasks")); //$NON-NLS-1$ showTasks.setFont(composite.getFont()); showTasks.setSelection(getIDEPreferenceStore().getBoolean(IDEI... | 3,226,141 |
protected IPreferenceStore getIDEPreferenceStore() { return IDEWorkbenchPlugin.getDefault().getPreferenceStore(); } | protected IPreferenceStore getIDEPreferenceStore() { return IDEWorkbenchPlugin.getDefault().getPreferenceStore(); } | 3,226,142 |
protected void performDefaults() { // core holds onto this preference. boolean autoBuild = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean(ResourcesPlugin.PREF_AUTO_BUILDING); autoBuildButton.setSelection(autoBuild); IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton.setSel... | protected void performDefaults() { // core holds onto this preference. boolean autoBuild = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean(ResourcesPlugin.PREF_AUTO_BUILDING); autoBuildButton.setSelection(autoBuild); IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton.setSel... | 3,226,143 |
protected void performDefaults() { // core holds onto this preference. boolean autoBuild = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean(ResourcesPlugin.PREF_AUTO_BUILDING); autoBuildButton.setSelection(autoBuild); IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton.setSel... | protected void performDefaults() { // core holds onto this preference. boolean autoBuild = ResourcesPlugin.getPlugin().getPluginPreferences().getDefaultBoolean(ResourcesPlugin.PREF_AUTO_BUILDING); autoBuildButton.setSelection(autoBuild); IPreferenceStore store = getIDEPreferenceStore(); autoSaveAllButton.setSel... | 3,226,144 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.